You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Inner classes get their docs back
This commit is contained in:
@@ -2637,10 +2637,6 @@ Error GDScriptCompiler::_compile_class(GDScript *p_script, const GDScriptParser:
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
p_script->_update_doc();
|
||||
#endif
|
||||
|
||||
p_script->_init_rpc_methods_properties();
|
||||
|
||||
p_script->valid = true;
|
||||
@@ -2725,6 +2721,10 @@ Error GDScriptCompiler::compile(const GDScriptParser *p_parser, GDScript *p_scri
|
||||
return err;
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
p_script->_update_doc();
|
||||
#endif
|
||||
|
||||
return GDScriptCache::finish_compiling(main_script->get_path());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user