You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Change get_class_static to return StringName.
Use that static `get_class_static` for `_get_class_namev` to avoid duplication.
This commit is contained in:
@@ -105,7 +105,7 @@ void GDScriptDocGen::_doctype_from_gdtype(const GDType &p_gdtype, String &r_type
|
||||
return;
|
||||
case GDType::SCRIPT:
|
||||
if (p_gdtype.is_meta_type) {
|
||||
r_type = p_gdtype.script_type.is_valid() ? p_gdtype.script_type->get_class() : Script::get_class_static();
|
||||
r_type = p_gdtype.script_type.is_valid() ? p_gdtype.script_type->get_class_name() : Script::get_class_static();
|
||||
return;
|
||||
}
|
||||
if (p_gdtype.script_type.is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user