mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Allow setting the PropertyInfo class_name from GDScript
This commit is contained in:
parent
2aee84c755
commit
1d6ac42b2a
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue