From d3ec1d7d28bb260340cb654dd6960f66df4b1d82 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 9 Oct 2020 13:39:53 +0200 Subject: [PATCH] Cache wasn't valid due to a reference being stored, not a copy. paer of CURA-7440 --- cura/Scene/ConvexHullDecorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Scene/ConvexHullDecorator.py b/cura/Scene/ConvexHullDecorator.py index a4228ce422..36697b7c57 100644 --- a/cura/Scene/ConvexHullDecorator.py +++ b/cura/Scene/ConvexHullDecorator.py @@ -269,7 +269,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(copy = False) + world_transform = self._node.getWorldTransformation(copy = True) # Check the cache if mesh is self._2d_convex_hull_mesh and world_transform == self._2d_convex_hull_mesh_world_transform: