mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Ignore nodes that are outside the build volume for slicing
This commit is contained in:
parent
4ae8263238
commit
daa6e04d8c
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue