Skip to content

Commit

Permalink
fix: remove light energy offset limits
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed May 11, 2022
1 parent 83e9be0 commit 1eb7964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/flare.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def modal(self, context, event):
elif self.key_ctrl:
self.scale = max(0, self.scale - scale_factor)
elif self.key_ctrl_alt:
self.energy_offset = max(0, self.energy_offset - energy_factor)
self.energy_offset -= energy_factor

self.dirty = True

Expand Down

0 comments on commit 1eb7964

Please sign in to comment.