From fdd84d36ce20e0e39a7da19b64475ad2a4bb519f Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Wed, 26 Jan 2022 18:29:54 +0100 Subject: Fix incorrect index-key in RNA path built from Outliner Bug introduced in 7cbcfb7f492d. --- source/blender/editors/space_outliner/outliner_edit.cc | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3