summaryrefslogtreecommitdiff
path: root/tools/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-22 00:03:19 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-22 00:04:15 -0300
commite9bbb97acccc08ae03fde41e4cc6d2dc6722021a (patch)
tree008459da8cb1c9343919e67482700e5704e0d1e6 /tools/editor/scene_tree_dock.h
parent37af8b413674936518a2ebe180f9e7bfcd5795bb (diff)
Multiple scene editing *POTENTIALLY UNSTABLE*
-ability to edit multiple scenes at the same time -resource internal IDs are now persistent, this makes multiple scene editing possible but maaaaay result in file corruption bugs (tested and could not find anything but possibility exists because core code changed, report immediately if you find this). -properly save settings, layout, etc when edited -script editing is independent from scene editing now -show a yellow box when a script belongs to the scene
Diffstat (limited to 'tools/editor/scene_tree_dock.h')
-rw-r--r--tools/editor/scene_tree_dock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/scene_tree_dock.h b/tools/editor/scene_tree_dock.h
index 4baa4ef37b..f0bbbad6be 100644
--- a/tools/editor/scene_tree_dock.h
+++ b/tools/editor/scene_tree_dock.h
@@ -134,6 +134,7 @@ public:
void set_selected(Node *p_node, bool p_emit_selected=false);
void fill_path_renames(Node* p_node, Node *p_new_parent, List<Pair<NodePath,NodePath> > *p_renames);
void perform_node_renames(Node* p_base,List<Pair<NodePath,NodePath> > *p_renames, Map<Ref<Animation>, Set<int> > *r_rem_anims=NULL);
+ SceneTreeEditor *get_tree_editor() { return scene_tree; }
SceneTreeDock(EditorNode *p_editor,Node *p_scene_root,EditorSelection *p_editor_selection,EditorData &p_editor_data);
};