diff options
author | rune-scape <allie.smith.epic@gmail.com> | 2022-12-23 17:39:24 -0500 |
---|---|---|
committer | rune-scape <allie.smith.epic@gmail.com> | 2022-12-23 17:39:24 -0500 |
commit | 1b77993257c5fff14151dc21407cce9404db18ee (patch) | |
tree | 38fd1ebf4bbdb8946abb9e3a816bd8092003deaf /modules/gdscript/gdscript_compiler.cpp | |
parent | 0bb94df247a0a0c22333e2e99744fc3fd184601a (diff) |
Inner classes get their docs back
Diffstat (limited to 'modules/gdscript/gdscript_compiler.cpp')
-rw-r--r-- | modules/gdscript/gdscript_compiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gdscript/gdscript_compiler.cpp b/modules/gdscript/gdscript_compiler.cpp index 50588110c4..7fcb54379a 100644 --- a/modules/gdscript/gdscript_compiler.cpp +++ b/modules/gdscript/gdscript_compiler.cpp @@ -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()); } |