mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Simplify check
CURA-6545
This commit is contained in:
parent
c00bd8c138
commit
a6fea1bf40
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Snapshot:
|
|||
# determine zoom and look at
|
||||
bbox = None
|
||||
for node in DepthFirstIterator(root):
|
||||
if hasattr(node, "_outside_buildarea") and not node._outside_buildarea:
|
||||
if not getattr(node, "_outside_buildarea", False):
|
||||
if node.callDecoration("isSliceable") and node.getMeshData() and node.isVisible() and not node.callDecoration("isNonThumbnailVisibleMesh"):
|
||||
if bbox is None:
|
||||
bbox = node.getBoundingBox()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue