Refactor DocData into core and editor (DocTools) parts

This commit is contained in:
Thakee Nathees 2020-11-29 09:12:06 +05:30
parent d0e7d9b62f
commit 42bfa16996
30 changed files with 390 additions and 261 deletions

View file

@ -2984,7 +2984,7 @@ void CSharpScript::update_script_class_info(Ref<CSharpScript> p_script) {
p_script->tool = nesting_class && nesting_class->has_attribute(CACHED_CLASS(ToolAttribute));
}
#if TOOLS_ENABLED
#ifdef TOOLS_ENABLED
if (!p_script->tool) {
p_script->tool = p_script->script_class->get_assembly() == GDMono::get_singleton()->get_tools_assembly();
}