Fix incorrect index-key in RNA path built from Outliner
Bug introduced in 7cbcfb7f49
.
This commit is contained in:
parent
b57db4b79e
commit
fdd84d36ce
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue