Cleanup: Move versioning_290.c to C++

Ref T103343
This commit is contained in:
2023-01-21 15:30:16 -06:00
parent 50387964b6
commit 3d6fd2906b
3 changed files with 108 additions and 110 deletions

View File

@@ -184,7 +184,7 @@ void version_node_socket_index_animdata(Main *bmain,
/* The for loop for the input ids is at the top level otherwise we lose the animation
* keyframe data. Not sure what causes that, so I (Sybren) moved the code here from
* versioning_290.c as-is (structure-wise). */
* versioning_290.cc as-is (structure-wise). */
for (int input_index = total_number_of_sockets - 1; input_index >= socket_index_orig;
input_index--) {
FOREACH_NODETREE_BEGIN (bmain, ntree, owner_id) {