mirror of
https://github.com/godotengine/godot.git
synced 2025-02-23 23:15:07 +08:00
Merge pull request #70131 from rune-scape/preload-type-regression
Fix preload type regression
This commit is contained in:
commit
f18f2740da
@ -4027,7 +4027,8 @@ GDScriptParser::DataType GDScriptAnalyzer::type_from_variant(const Variant &p_va
|
|||||||
found = found->get_member(E).m_class;
|
found = found->get_member(E).m_class;
|
||||||
}
|
}
|
||||||
|
|
||||||
result = found->get_datatype();
|
result.class_type = found;
|
||||||
|
result.script_path = ref->get_parser()->script_path;
|
||||||
} else {
|
} else {
|
||||||
result.kind = GDScriptParser::DataType::SCRIPT;
|
result.kind = GDScriptParser::DataType::SCRIPT;
|
||||||
result.native_type = scr->get_instance_base_type();
|
result.native_type = scr->get_instance_base_type();
|
||||||
|
Loading…
Reference in New Issue
Block a user