Browse Source

Merge branch '2.5' of github.com:Ultimaker/Cura into 2.5

Jaime van Kessel 8 years ago
parent
commit
5bbdd9fe4b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cura/BuildVolume.py

+ 2 - 1
cura/BuildVolume.py

@@ -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: