Fix print order for one-at-a-time mode

This commit is contained in:
Lipu Fei 2018-08-06 17:11:28 +02:00
parent 85f80f85b8
commit 95481b8560
3 changed files with 93 additions and 95 deletions

View file

@ -229,7 +229,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
return offset_hull
def _getHeadAndFans(self):
return Polygon(numpy.array(self._global_stack.getProperty("machine_head_with_fans_polygon", "value"), numpy.float32))
return Polygon(numpy.array(self._global_stack.getHeadAndFansCoordinates(), numpy.float32))
def _compute2DConvexHeadFull(self):
return self._compute2DConvexHull().getMinkowskiHull(self._getHeadAndFans())