mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Backend now correctly handles machine instance change
CURA-1323
This commit is contained in:
parent
2b8914ea46
commit
819c9568b1
1 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,9 @@ class CuraEngineBackend(Backend):
|
||||||
self._onActiveViewChanged()
|
self._onActiveViewChanged()
|
||||||
self._stored_layer_data = None
|
self._stored_layer_data = None
|
||||||
|
|
||||||
Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onChanged)
|
# When there are current settings and machine instance is changed, there is no profile changed event. We should
|
||||||
|
# pretend there is though.
|
||||||
|
Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onActiveProfileChanged)
|
||||||
|
|
||||||
self._profile = None
|
self._profile = None
|
||||||
Application.getInstance().getMachineManager().activeProfileChanged.connect(self._onActiveProfileChanged)
|
Application.getInstance().getMachineManager().activeProfileChanged.connect(self._onActiveProfileChanged)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue