From e218a13a64d417505ba8ca0abb79dddfb943f2c7 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 24 Oct 2017 01:54:47 +0200 Subject: Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog - Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes. --- modules/mono/csharp_script.cpp | 11 +++++++++-- modules/mono/csharp_script.h | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'modules/mono') diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index ba8c7df9cc..30b84741f0 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -279,11 +279,13 @@ Ref