summaryrefslogtreecommitdiffstats
path: root/editor/debugger/editor_debugger_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-19 21:39:10 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-19 21:39:10 +0200
commit080d471e9812323b177492ec90fad34c3da38869 (patch)
tree0c5ca8f66a3bc1fc69d49c4309854977cff1acbc /editor/debugger/editor_debugger_node.cpp
parent867ea7fe591a7f1af367c71da693a3ab8140374e (diff)
parentf575ca09ae820109773cc9078e7b266e6580f632 (diff)
downloadredot-engine-080d471e9812323b177492ec90fad34c3da38869.tar.gz
Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints
Add property hints for debugger/profiler editor settings
Diffstat (limited to 'editor/debugger/editor_debugger_node.cpp')
-rw-r--r--editor/debugger/editor_debugger_node.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/debugger/editor_debugger_node.cpp b/editor/debugger/editor_debugger_node.cpp
index 7083640b24..6143f5ac00 100644
--- a/editor/debugger/editor_debugger_node.cpp
+++ b/editor/debugger/editor_debugger_node.cpp
@@ -74,7 +74,7 @@ EditorDebuggerNode::EditorDebuggerNode() {
empty.instantiate();
tabs->add_theme_style_override("panel", empty);
- auto_switch_remote_scene_tree = EDITOR_DEF("debugger/auto_switch_to_remote_scene_tree", false);
+ auto_switch_remote_scene_tree = EDITOR_GET("debugger/auto_switch_to_remote_scene_tree");
_add_debugger();
// Remote scene tree
@@ -85,8 +85,8 @@ EditorDebuggerNode::EditorDebuggerNode() {
SceneTreeDock::get_singleton()->add_remote_tree_editor(remote_scene_tree);
SceneTreeDock::get_singleton()->connect("remote_tree_selected", callable_mp(this, &EditorDebuggerNode::request_remote_tree));
- remote_scene_tree_timeout = EDITOR_DEF("debugger/remote_scene_tree_refresh_interval", 1.0);
- inspect_edited_object_timeout = EDITOR_DEF("debugger/remote_inspect_refresh_interval", 0.2);
+ remote_scene_tree_timeout = EDITOR_GET("debugger/remote_scene_tree_refresh_interval");
+ inspect_edited_object_timeout = EDITOR_GET("debugger/remote_inspect_refresh_interval");
EditorRunBar::get_singleton()->get_pause_button()->connect("pressed", callable_mp(this, &EditorDebuggerNode::_paused));
}