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