mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
offset removed
CURA-7647
This commit is contained in:
parent
0bb1f0b7c3
commit
ee7ecc1acc
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class SimulationPass(RenderPass):
|
||||||
continue
|
continue
|
||||||
# The head position is calculated and translated
|
# The head position is calculated and translated
|
||||||
ratio = self._layer_view.getCurrentPath() - math.floor(self._layer_view.getCurrentPath())
|
ratio = self._layer_view.getCurrentPath() - math.floor(self._layer_view.getCurrentPath())
|
||||||
pos_a = Vector(polygon.data[index][0], polygon.data[index + offset][1],
|
pos_a = Vector(polygon.data[index][0], polygon.data[index][1],
|
||||||
polygon.data[index][2])
|
polygon.data[index][2])
|
||||||
if ratio <= 0.0001 or index + 1 == len(polygon.data):
|
if ratio <= 0.0001 or index + 1 == len(polygon.data):
|
||||||
# in case there multiple polygons and polygon changes, the first point has the same value as the last point in the previous polygon
|
# in case there multiple polygons and polygon changes, the first point has the same value as the last point in the previous polygon
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue