aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/scene_tree_editor.h
diff options
context:
space:
mode:
authorreduz2015-10-10 09:09:09 -0300
committerreduz2015-10-10 09:09:09 -0300
commit422929e87fbe91be1efedf1fe3a9a71d61e58b40 (patch)
treea9a7d1862505f06b41b6f8c5fe96bd0012c93d29 /tools/editor/scene_tree_editor.h
parentafbb0ca8d7d978f27c62271273a1a6bc866a73ce (diff)
downloadgodot-422929e87fbe91be1efedf1fe3a9a71d61e58b40.tar.gz
godot-422929e87fbe91be1efedf1fe3a9a71d61e58b40.tar.zst
godot-422929e87fbe91be1efedf1fe3a9a71d61e58b40.zip
Large improvements on scene packing and management
-Ability to edit and keep changes of instanced scenes and sub-scenes -Ability to inherit from other scenes
Diffstat (limited to 'tools/editor/scene_tree_editor.h')
-rw-r--r--tools/editor/scene_tree_editor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/editor/scene_tree_editor.h b/tools/editor/scene_tree_editor.h
index b05a52a2d..b80ac30d8 100644
--- a/tools/editor/scene_tree_editor.h
+++ b/tools/editor/scene_tree_editor.h
@@ -52,16 +52,21 @@ class SceneTreeEditor : public Control {
};
enum {
- SCENE_MENU_SHOW_CHILDREN,
+ SCENE_MENU_EDITABLE_CHILDREN,
SCENE_MENU_OPEN,
+ SCENE_MENU_CLEAR_INHERITANCE,
+ SCENE_MENU_OPEN_INHERITED,
+ SCENE_MENU_CLEAR_INHERITANCE_CONFIRM,
};
Tree *tree;
Node *selected;
PopupMenu *instance_menu;
+ PopupMenu *inheritance_menu;
ObjectID instance_node;
AcceptDialog *error;
+ ConfirmationDialog *clear_inherit_confirm;
int blocked;