mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08:00
Ignore nodes that are outside the build volume for slicing
This commit is contained in:
parent
4ae8263238
commit
daa6e04d8c
@ -127,7 +127,8 @@ class CuraEngineBackend(Backend):
|
||||
objects = []
|
||||
for node in DepthFirstIterator(self._scene.getRoot()):
|
||||
if type(node) is SceneNode and node.getMeshData():
|
||||
objects.append(node)
|
||||
if not getattr(node, '_outside_buildarea', False):
|
||||
objects.append(node)
|
||||
|
||||
if not objects:
|
||||
return #No point in slicing an empty build plate
|
||||
|
Loading…
x
Reference in New Issue
Block a user