diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-10-29 11:09:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-29 11:09:49 +0100 |
commit | 6ea8ffc12fd6739c0d8fed37cd42a7d713099137 (patch) | |
tree | 1f6559942cbd4fd6e8ff51b90f5dddefa34bef4d /modules/mono/csharp_script.cpp | |
parent | 8fca54fb0dacbc66fab6ad6e53336e1a17f5b83e (diff) | |
parent | 27b7fb8e668fa5cad0d2a63023dc1fa03b254924 (diff) | |
download | redot-engine-6ea8ffc12fd6739c0d8fed37cd42a7d713099137.tar.gz |
Merge pull request #12474 from neikeq/s
Mono: Add build project button and reload interval
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 2e1cdf8d01..3d91a6de6c 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 |