Skip to content

Commit

Permalink
Handle files with Break Overwrite but no GeometryReference
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Oct 17, 2024
1 parent 1725ab1 commit df7e8d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pygdtf/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ def get_dmx_channels(
channel_break = geometry.breaks[0].dmx_break
else:
channel_break = 1
else:

if channel_break == "Overwrite":
channel_break = 1

if len(dmx_channels) < channel_break:
Expand Down

0 comments on commit df7e8d1

Please sign in to comment.