diff options
author | kobewi <kobewi4e@gmail.com> | 2021-08-09 19:14:06 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-08-12 00:36:56 +0200 |
commit | e401cd58f1e2fa296bf2920c2af7562fb344011c (patch) | |
tree | 2364b46f4fe7493ecbeb527a177c3a6f6bf8eb78 /editor/scene_tree_editor.h | |
parent | 7188cb60127c1f4e900f080adbc47a55645f1645 (diff) |
Add option to not expand tree on node select
Diffstat (limited to 'editor/scene_tree_editor.h')
-rw-r--r-- | editor/scene_tree_editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/scene_tree_editor.h b/editor/scene_tree_editor.h index acd49e8d92..4acd5d8486 100644 --- a/editor/scene_tree_editor.h +++ b/editor/scene_tree_editor.h @@ -64,6 +64,7 @@ class SceneTreeEditor : public Control { AcceptDialog *error; AcceptDialog *warning; + bool auto_expand_selected = true; bool connect_to_script_mode; bool connecting_signal; @@ -152,6 +153,7 @@ public: void update_tree() { _update_tree(); } + void set_auto_expand_selected(bool p_auto, bool p_update_settings); void set_connect_to_script_mode(bool p_enable); void set_connecting_signal(bool p_enable); |