Skip to content

Commit

Permalink
Fix copy/paste of custom props (#105)
Browse files Browse the repository at this point in the history
It was failing in meshes since they don't have secondary props yet
  • Loading branch information
Brachi authored May 2, 2024
1 parent 20e032c commit ba3e80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion albam/blender_ui/custom_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_custom_properties_secondary_for_appid(self, app_id):
try:
property_names = self.APPID_MAP_SECONDARY[app_id]
except KeyError:
return
return {}

return {pn: getattr(self, f"{app_id}__{pn}") for pn in property_names}

Expand Down

0 comments on commit ba3e80c

Please sign in to comment.