summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-20 22:29:17 +0100
committerGitHub <noreply@github.com>2022-01-20 22:29:17 +0100
commite6170aae39194a6ada312ff8a3f53a36bf16aff8 (patch)
treea7459d240221dc34bb8f87bff05f88c5c50deae6 /modules
parentd681d99e126bcac87823510ba2a71af0ace6e8dc (diff)
parentaa1102fc536bd7b3a2cff703d79713c454af7e6c (diff)
Merge pull request #55066 from trollodel/less_singletons_in_editornode
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/csharp_script.cpp4
-rw-r--r--modules/visual_script/editor/visual_script_editor.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 9d416dcfce..26436e3ec0 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1168,8 +1168,8 @@ void CSharpLanguage::reload_assemblies(bool p_soft_reload) {
#ifdef TOOLS_ENABLED
// FIXME: Hack to refresh editor in order to display new properties and signals. See if there is a better alternative.
if (Engine::get_singleton()->is_editor_hint()) {
- EditorNode::get_singleton()->get_inspector()->update_tree();
- NodeDock::singleton->update_lists();
+ InspectorDock::get_inspector_singleton()->update_tree();
+ NodeDock::get_singleton()->update_lists();
}
#endif
}
diff --git a/modules/visual_script/editor/visual_script_editor.cpp b/modules/visual_script/editor/visual_script_editor.cpp
index 6d515d11f5..72d18e5a82 100644
--- a/modules/visual_script/editor/visual_script_editor.cpp
+++ b/modules/visual_script/editor/visual_script_editor.cpp
@@ -271,7 +271,7 @@ protected:
if (String(p_name) == "export") {
script->set_variable_export(var, p_value);
- EditorNode::get_singleton()->get_inspector()->update_tree();
+ InspectorDock::get_inspector_singleton()->update_tree();
return true;
}