diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-05-23 17:31:29 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-05-23 17:32:38 +0300 |
commit | 196bd3a73042d097e78f46a9abf968c042ab24cf (patch) | |
tree | 998cd1f039be068fbc7d8e996b6b03164c3721ee /cura/Snapshot.py | |
parent | e89bd91960d9d13e0e92c138e6389bfda82ddd05 (diff) |
Add non-thumbnail-visible flag for creating previews
CURA-5373
Addition to the non-slicable meshes, the support meshes should also not
be included in the previews.
Diffstat (limited to 'cura/Snapshot.py')
-rw-r--r-- | cura/Snapshot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Snapshot.py b/cura/Snapshot.py index d1bfeea40f..b730c1fdcf 100644 --- a/cura/Snapshot.py +++ b/cura/Snapshot.py @@ -48,7 +48,7 @@ class Snapshot: # determine zoom and look at bbox = None for node in DepthFirstIterator(root): - if node.callDecoration("isSliceable") and node.getMeshData() and node.isVisible() and not node.callDecoration("isNonPrintingMesh"): + if node.callDecoration("isSliceable") and node.getMeshData() and node.isVisible() and not node.callDecoration("isNonThumbnailVisibleMesh"): if bbox is None: bbox = node.getBoundingBox() else: |