diff options
| author | Juan Linietsky | 2015-06-22 00:03:19 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-22 00:04:15 -0300 |
| commit | e9bbb97acccc08ae03fde41e4cc6d2dc6722021a (patch) | |
| tree | 008459da8cb1c9343919e67482700e5704e0d1e6 /tools/editor/scene_tree_editor.h | |
| parent | 37af8b413674936518a2ebe180f9e7bfcd5795bb (diff) | |
| download | godot-e9bbb97acccc08ae03fde41e4cc6d2dc6722021a.tar.gz godot-e9bbb97acccc08ae03fde41e4cc6d2dc6722021a.tar.zst godot-e9bbb97acccc08ae03fde41e4cc6d2dc6722021a.zip | |
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_editor.h')
| -rw-r--r-- | tools/editor/scene_tree_editor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/editor/scene_tree_editor.h b/tools/editor/scene_tree_editor.h index 3e57ffb49..b05a52a2d 100644 --- a/tools/editor/scene_tree_editor.h +++ b/tools/editor/scene_tree_editor.h @@ -125,6 +125,9 @@ public: void update_tree() { _update_tree(); } + + Tree* get_scene_tree() { return tree; } + SceneTreeEditor(bool p_label=true,bool p_can_rename=false, bool p_can_open_instance=false); ~SceneTreeEditor(); @@ -150,7 +153,7 @@ protected: static void _bind_methods(); public: - SceneTreeEditor *get_tree() { return tree; } + SceneTreeEditor *get_scene_tree() { return tree; } SceneTreeDialog(); ~SceneTreeDialog(); |
