aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-10-29 05:57:20 +0100
committerIgnacio Etcheverry2017-10-29 05:57:38 +0100
commit27b7fb8e668fa5cad0d2a63023dc1fa03b254924 (patch)
treec45f868277126a7d945505b8d6b9dd4635798421 /modules/mono/csharp_script.cpp
parent452313ffb175a23203a3e1b5a19da024b06db119 (diff)
downloadgodot-27b7fb8e668fa5cad0d2a63023dc1fa03b254924.tar.gz
godot-27b7fb8e668fa5cad0d2a63023dc1fa03b254924.tar.zst
godot-27b7fb8e668fa5cad0d2a63023dc1fa03b254924.zip
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 2e1cdf8d0..3d91a6de6 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -477,6 +477,7 @@ void CSharpLanguage::reload_tool_script(const Ref<Script> &p_script, bool p_soft
(void)p_script; // UNUSED
#ifdef TOOLS_ENABLED
+ MonoReloadNode::get_singleton()->restart_reload_timer();
reload_assemblies_if_needed(p_soft_reload);
#endif
}
@@ -624,6 +625,9 @@ void CSharpLanguage::reload_assemblies_if_needed(bool p_soft_reload) {
//if instance states were saved, set them!
}
+
+ if (Engine::get_singleton()->is_editor_hint())
+ EditorNode::get_singleton()->get_property_editor()->update_tree();
}
#endif