Skip to content

Commit

Permalink
Fixes Point Array _material_overrides not persisted on PackedScene (#182
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mlhoutel authored Feb 7, 2025
1 parent 7325a39 commit dc17e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/rmsmartshape/shapes/shape.gd
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func _set_material(value: SS2D_Material_Shape) -> void:

func set_material_overrides(dict: Dictionary) -> void:
material_overrides = {}
if dict == null:
if dict.is_empty():
return
_points.set_material_overrides(dict)

Expand Down

0 comments on commit dc17e29

Please sign in to comment.