Don't copy transformations if it's not needed

CURA=7106
This commit is contained in:
Jaime van Kessel 2020-06-23 16:24:34 +02:00
parent ac0c0d0698
commit b0ed47daf1
No known key found for this signature in database
GPG key ID: 3710727397403C91
5 changed files with 7 additions and 7 deletions

View file

@ -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: