mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Added activeStackChanged to BuildVolume, it is semantically more correct. Contributes to CURA-2232
This commit is contained in:
parent
1cef991082
commit
4cc5b6d9eb
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@ class BuildVolume(SceneNode):
|
|||
# activeQualityChanged is always emitted after setActiveVariant, setActiveMaterial and setActiveQuality.
|
||||
# Therefore this works.
|
||||
Application.getInstance().getMachineManager().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
|
||||
Application.getInstance().getMachineManager().activeStackChanged.connect(self._onStackChanged)
|
||||
|
||||
def _onSceneChanged(self, source):
|
||||
if self._global_container_stack:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue