Fix "reparent to new node" not remembering index

This commit is contained in:
RedMser
2024-08-30 22:56:53 +02:00
parent 88ed6af1e6
commit b11ccf3c77
2 changed files with 48 additions and 32 deletions

View File

@ -179,7 +179,8 @@ class SceneTreeDock : public VBoxContainer {
bool first_enter = true;
void _create();
void _do_create(Node *p_parent);
Node *_do_create(Node *p_parent);
void _post_do_create(Node *p_child);
Node *scene_root = nullptr;
Node *edited_scene = nullptr;
Node *pending_click_select = nullptr;