Commit: fdd84d36ce20e0e39a7da19b64475ad2a4bb519f
Author: Julian Eisel
Date: Wed Jan 26 18:29:54 2022 +0100
Branches: master
https://developer.blender.org/rBfdd84d36ce20e0e39a7da19b64475ad2a4bb519f
Fix incorrect index-key in RNA path built from Outliner
Bug introduced in 7cbcfb7f492d.
===================================================================
M source/blender/editors/space_outliner/outliner_edit.cc
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_edit.cc
b/source/blender/editors/space_outliner/outliner_edit.cc
index f45e7607534..48941d53f16 100644
--- a/source/blender/editors/space_outliner/outliner_edit.cc
+++ b/source/blender/editors/space_outliner/outliner_edit.cc
@@ -1792,6 +1792,7 @@ static void tree_element_to_path(TreeElement *te,
if (temsub == temnext) {
break;
}
+ index++;
}
newpath = RNA_path_append(*path, nullptr, prop, index, nullptr);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs