Skip to content

Commit

Permalink
Fixes array element rendering of resources
Browse files Browse the repository at this point in the history
  • Loading branch information
imothee committed Mar 6, 2024
1 parent af6a30a commit 8567c5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/pandora/ui/components/array_editor/array_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ func _load_items():
elif array_type == 'reference':
if value is Dictionary:
value = Pandora.get_entity(value["_entity_id"])
elif value is PandoraReference:
value = value.get_entity()
item_property.set_default_value(value)
_add_property_control(control, item_property, i)

Expand Down

0 comments on commit 8567c5c

Please sign in to comment.