You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Merge pull request #70503 from rune-scape/inner-class-docs
Inner classes get their docs back
This commit is contained in:
@@ -629,6 +629,10 @@ void GDScript::_update_doc() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (KeyValue<StringName, Ref<GDScript>> &E : subclasses) {
|
||||||
|
E.value->_update_doc();
|
||||||
|
}
|
||||||
|
|
||||||
_add_doc(doc);
|
_add_doc(doc);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -2636,10 +2636,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->_init_rpc_methods_properties();
|
||||||
|
|
||||||
p_script->valid = true;
|
p_script->valid = true;
|
||||||
@@ -2724,6 +2720,10 @@ Error GDScriptCompiler::compile(const GDScriptParser *p_parser, GDScript *p_scri
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
|
p_script->_update_doc();
|
||||||
|
#endif
|
||||||
|
|
||||||
return GDScriptCache::finish_compiling(main_script->get_path());
|
return GDScriptCache::finish_compiling(main_script->get_path());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user