Skip to content

Commit

Permalink
quick fix to sort out normals of interpolated leds
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMariday committed Oct 20, 2024
1 parent ba16995 commit 48f5db7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marimapper/led.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ def fill_gap(start_led: LED3D, end_led: LED3D):
p2 = end_led.point * fraction
new_led.point = p1 + p2

new_led.views = start_led.views + end_led.views

new_led.add_state(LEDState.INTERPOLATED)
new_leds.append(new_led)

Expand Down

0 comments on commit 48f5db7

Please sign in to comment.