Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-01-26 20:29:54 +0300
committerJulian Eisel <julian@blender.org>2022-01-26 21:15:57 +0300
commitfdd84d36ce20e0e39a7da19b64475ad2a4bb519f (patch)
tree1cbb7b5363ed010785d95889bb4501c7111c5074
parentb57db4b79ed25f07176474b864d698ef48578f42 (diff)
Fix incorrect index-key in RNA path built from Outliner
Bug introduced in 7cbcfb7f492d.
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.cc1
1 files changed, 1 insertions, 0 deletions
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);
}