mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Don't copy transformations if it's not needed
CURA=7106
This commit is contained in:
parent
ac0c0d0698
commit
b0ed47daf1
5 changed files with 7 additions and 7 deletions
|
@ -268,7 +268,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||
if mesh is None:
|
||||
return Polygon([]) # Node has no mesh data, so just return an empty Polygon.
|
||||
|
||||
world_transform = self._node.getWorldTransformation()
|
||||
world_transform = self._node.getWorldTransformation(copy= False)
|
||||
|
||||
# Check the cache
|
||||
if mesh is self._2d_convex_hull_mesh and world_transform == self._2d_convex_hull_mesh_world_transform:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue