Remove unnecessary listening to switching extruder tabs

Also fix unnecessary emitting of switching extruder tabs.

This should improve performance a lot. I tested a lot of things and am convinced that it didn't break anything. But the automated GUI tests and QA team should be the final arbiters of that...

Contributes to issue CURA-6793.
This commit is contained in:
Ghostkeeper 2019-10-15 15:01:45 +02:00
parent b5c6a0a1e3
commit ce4c5a1c93
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
5 changed files with 9 additions and 13 deletions

View file

@ -126,10 +126,6 @@ class BuildVolume(SceneNode):
# Therefore this works.
self._machine_manager.activeQualityChanged.connect(self._onStackChanged)
# This should also ways work, and it is semantically more correct,
# but it does not update the disallowed areas after material change
self._machine_manager.activeStackChanged.connect(self._onStackChanged)
# Enable and disable extruder
self._machine_manager.extruderChanged.connect(self.updateNodeBoundaryCheck)