Merge pull request #41437 from KoBeWi/put_it_here
Allow to create a node at specific position
This commit is contained in:
commit
ec7053259b
6 changed files with 88 additions and 2 deletions
|
|
@ -100,6 +100,7 @@ class SceneTreeDock : public VBoxContainer {
|
|||
Vector<ObjectID> subresources;
|
||||
|
||||
bool restore_script_editor_on_drag;
|
||||
bool reset_create_dialog = false;
|
||||
|
||||
int current_option;
|
||||
CreateDialog *create_dialog;
|
||||
|
|
@ -274,6 +275,9 @@ public:
|
|||
void attach_script_to_selected(bool p_extend);
|
||||
void open_script_dialog(Node *p_for_node, bool p_extend);
|
||||
|
||||
void open_add_child_dialog();
|
||||
void open_instance_child_dialog();
|
||||
|
||||
ScriptCreateDialog *get_script_create_dialog() { return script_create_dialog; }
|
||||
|
||||
SceneTreeDock(EditorNode *p_editor, Node *p_scene_root, EditorSelection *p_editor_selection, EditorData &p_editor_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue