mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:29:05 +08:00
Fix crash when duplicating a model when in one at a time mode
CURA-9647
This commit is contained in:
parent
d6bc4067f9
commit
90fae7ddb4
@ -390,7 +390,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||
if self._global_stack.getProperty("print_sequence", "value") == "one_at_a_time":
|
||||
# Find the root node that's placed in the scene; the root of the mesh group.
|
||||
ancestor = self.getNode()
|
||||
while ancestor.getParent() != self._root:
|
||||
while ancestor.getParent() != self._root and ancestor.getParent() is not None:
|
||||
ancestor = ancestor.getParent()
|
||||
center = ancestor.getBoundingBox().center
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user