mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Allow exporting variables of type Variant
This commit is contained in:
parent
96cdbbe5bd
commit
012d47b089
5 changed files with 127 additions and 12 deletions
|
|
@ -998,7 +998,7 @@ void TileSourceInspectorPlugin::_confirm_change_id() {
|
|||
}
|
||||
|
||||
bool TileSourceInspectorPlugin::can_handle(Object *p_object) {
|
||||
return p_object->is_class("TileSetAtlasSourceProxyObject") || p_object->is_class("TileSetScenesCollectionProxyObject");
|
||||
return p_object && (p_object->is_class("TileSetAtlasSourceProxyObject") || p_object->is_class("TileSetScenesCollectionProxyObject"));
|
||||
}
|
||||
|
||||
bool TileSourceInspectorPlugin::parse_property(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const BitField<PropertyUsageFlags> p_usage, const bool p_wide) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue