Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-11-02 08:08:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-02 08:08:07 +0300
commit7b436ead6b003ef92fea35ec355c77eb92c1f4f0 (patch)
treed6b244a090c2882edbe923ade63ce6d3f86e4b8b /source/blender/blenloader
parent5363437555cd46eca6bbfd80d3e42f8e625ccf17 (diff)
parenta0edddaa0cbb5fae16809c79ce7b47bf8688470a (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_common.cc2
-rw-r--r--source/blender/blenloader/intern/versioning_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_common.cc b/source/blender/blenloader/intern/versioning_common.cc
index 745bb7e8222..c7ff496fa20 100644
--- a/source/blender/blenloader/intern/versioning_common.cc
+++ b/source/blender/blenloader/intern/versioning_common.cc
@@ -201,7 +201,7 @@ void version_node_socket_index_animdata(Main *bmain,
const int new_index = input_index + socket_index_offset;
BKE_animdata_fix_paths_rename_all_ex(
- bmain, owner_id, rna_path_prefix, NULL, NULL, input_index, new_index, false);
+ bmain, owner_id, rna_path_prefix, nullptr, nullptr, input_index, new_index, false);
MEM_freeN(rna_path_prefix);
MEM_freeN(node_name_escaped);
}
diff --git a/source/blender/blenloader/intern/versioning_common.h b/source/blender/blenloader/intern/versioning_common.h
index 396927229c6..ed1cafdca33 100644
--- a/source/blender/blenloader/intern/versioning_common.h
+++ b/source/blender/blenloader/intern/versioning_common.h
@@ -56,7 +56,7 @@ void version_node_socket_index_animdata(
Main *bmain,
int node_tree_type, /* NTREE_....., e.g. NTREE_SHADER */
int node_type, /* SH_NODE_..., e.g. SH_NODE_BSDF_PRINCIPLED */
- int socket_index_lowest_modified,
+ int socket_index_orig,
int socket_index_offset,
int total_number_of_sockets);