mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Cache wasn't valid due to a reference being stored, not a copy.
paer of CURA-7440
This commit is contained in:
parent
a46bf8d6fa
commit
d3ec1d7d28
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue