Skip to content

Commit

Permalink
Updated attribute write conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Jun 21, 2024
1 parent 7fadb09 commit 88b1bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixer/blender_data/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def write_attribute(
# f"Attempt to write to non-existent attribute {bl_instance}.{key} : skipped"
return

if not prop.is_readonly:
if not prop.is_readonly and not (isinstance(parent, bpy.types.Collection) and key == 'name'):
try:
setattr(parent, key, value)
except TypeError as e:
Expand Down

0 comments on commit 88b1bfc

Please sign in to comment.