diff options
author | Julian Eisel <julian@blender.org> | 2022-01-26 20:29:54 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-01-26 21:15:57 +0300 |
commit | fdd84d36ce20e0e39a7da19b64475ad2a4bb519f (patch) | |
tree | 1cbb7b5363ed010785d95889bb4501c7111c5074 /source/blender/editors/space_outliner/outliner_edit.cc | |
parent | b57db4b79ed25f07176474b864d698ef48578f42 (diff) |
Fix incorrect index-key in RNA path built from Outliner
Bug introduced in 7cbcfb7f492d.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_edit.cc')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.cc | 1 |
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); } |