mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
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.
This commit is contained in:
parent
e89bd91960
commit
196bd3a730
3 changed files with 13 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue