mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 23:34:32 +08:00
Merge branch 'CURA-7440-pynest2d_for_arrange' of https://github.com/Ultimaker/Cura into CURA-7440-pynest2d_for_arrange
This commit is contained in:
commit
0922f03ca5
@ -269,7 +269,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||||||
if mesh is None:
|
if mesh is None:
|
||||||
return Polygon([]) # Node has no mesh data, so just return an empty Polygon.
|
return Polygon([]) # Node has no mesh data, so just return an empty Polygon.
|
||||||
|
|
||||||
world_transform = self._node.getWorldTransformation(copy = False)
|
world_transform = self._node.getWorldTransformation(copy = True)
|
||||||
|
|
||||||
# Check the cache
|
# Check the cache
|
||||||
if mesh is self._2d_convex_hull_mesh and world_transform == self._2d_convex_hull_mesh_world_transform:
|
if mesh is self._2d_convex_hull_mesh and world_transform == self._2d_convex_hull_mesh_world_transform:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user