Skip to content

Commit

Permalink
Fix #2089: Convert enum when assigning to overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Oct 3, 2024
1 parent e0c14f3 commit a6770d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/precomp/texturing.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ def apply(self, face: Side) -> None:

def apply_over(self, over: Entity) -> None:
"""Apply the config to an overlay."""
over['material'] = self.mat
# TODO: Can remove str() after srctools 2.4.0+
over['material'] = str(self.mat)
# TODO: Rotation, scale

def as_antigel(self) -> MaterialConf:
Expand Down

0 comments on commit a6770d0

Please sign in to comment.