Fix going forward backward in editor selection history.
This commit is contained in:
parent
578d937927
commit
48a6476861
5 changed files with 34 additions and 5 deletions
|
|
@ -244,7 +244,7 @@ int MultiNodeEdit::get_node_count() const {
|
|||
}
|
||||
|
||||
NodePath MultiNodeEdit::get_node(int p_index) const {
|
||||
ERR_FAIL_INDEX_V(p_index, nodes.size(), NodePath());
|
||||
ERR_FAIL_INDEX_V(p_index, get_node_count(), NodePath());
|
||||
return nodes[p_index];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue