Browse Source

After changing the settings refresh simulation max path number
CURA-4632

Aleksei S 7 years ago
parent
commit
6e171be0b9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/SimulationView/SimulationView.py

+ 1 - 0
plugins/SimulationView/SimulationView.py

@@ -154,6 +154,7 @@ class SimulationView(View):
     def _onSceneChanged(self, node):
         self.setActivity(False)
         self.calculateMaxLayers()
+        self.calculateMaxPathsOnLayer(self._current_layer_num)
 
     def isBusy(self):
         return self._busy