mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Merge branch '2.5' of github.com:Ultimaker/Cura into 2.5
This commit is contained in:
commit
5bbdd9fe4b
1 changed files with 2 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ class BuildVolume(SceneNode):
|
|||
new_scene_objects = set(node for node in BreadthFirstIterator(root) if node.callDecoration("isSliceable"))
|
||||
if new_scene_objects != self._scene_objects:
|
||||
for node in new_scene_objects - self._scene_objects: #Nodes that were added to the scene.
|
||||
node.decoratorsChanged.connect(self._onNodeDecoratorChanged)
|
||||
self._onNodeDecoratorChanged(node)
|
||||
node.decoratorsChanged.connect(self._onNodeDecoratorChanged) # Make sure that decoration changes afterwards also receive the same treatment
|
||||
for node in self._scene_objects - new_scene_objects: #Nodes that were removed from the scene.
|
||||
per_mesh_stack = node.callDecoration("getStack")
|
||||
if per_mesh_stack:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue