Allow setting the PropertyInfo class_name from GDScript
This commit is contained in:
parent
2aee84c755
commit
1d6ac42b2a
|
@ -1453,6 +1453,9 @@ void GDScriptInstance::get_property_list(List<PropertyInfo> *p_properties) const
|
|||
if (d.has("usage")) {
|
||||
pinfo.usage = d["usage"];
|
||||
}
|
||||
if (d.has("class_name")) {
|
||||
pinfo.class_name = d["class_name"];
|
||||
}
|
||||
|
||||
props.push_back(pinfo);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue