diff options
| author | Ignacio Etcheverry | 2017-10-29 05:57:20 +0100 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-10-29 05:57:38 +0100 |
| commit | 27b7fb8e668fa5cad0d2a63023dc1fa03b254924 (patch) | |
| tree | c45f868277126a7d945505b8d6b9dd4635798421 /modules/mono/csharp_script.cpp | |
| parent | 452313ffb175a23203a3e1b5a19da024b06db119 (diff) | |
| download | godot-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.cpp | 4 |
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 |
