[Bf-blender-cvs] [fdd84d36ce2] master: Fix incorrect index-key in RNA path built from Outliner
Julian Eisel
noreply at git.blender.org
Wed Jan 26 19:16:08 CET 2022
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);
}
More information about the Bf-blender-cvs
mailing list