diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-02 08:02:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-02 08:04:06 +0300 |
commit | a0edddaa0cbb5fae16809c79ce7b47bf8688470a (patch) | |
tree | 3eb0a51e213eaa00f1ab6c6fb9149b1ab476a80c /source/blender/blenloader | |
parent | 24310441ddc85ecc8dc857ccc75b508db59bd844 (diff) |
Cleanup: clang-tidy
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_common.cc | 2 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_common.h | 2 |
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); |