From ff6588569b331a8a1be49306d80e229ac1fd3e91 Mon Sep 17 00:00:00 2001 From: Ben Rog-Wilhelm Date: Sun, 4 Nov 2018 09:53:29 -0800 Subject: Add option for automatic project updating. --- modules/mono/editor/csharp_project.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/mono/editor/csharp_project.cpp b/modules/mono/editor/csharp_project.cpp index ab96356d6d..6f4b47d5d4 100644 --- a/modules/mono/editor/csharp_project.cpp +++ b/modules/mono/editor/csharp_project.cpp @@ -106,6 +106,9 @@ String generate_game_project(const String &p_dir, const String &p_name, const Ve void add_item(const String &p_project_path, const String &p_item_type, const String &p_include) { + if (!GLOBAL_DEF("mono/project/auto_update_project", true)) + return; + _GDMONO_SCOPE_DOMAIN_(TOOLS_DOMAIN) GDMonoClass *klass = GDMono::get_singleton()->get_editor_tools_assembly()->get_class("GodotSharpTools.Project", "ProjectUtils"); -- cgit v1.2.3