mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Account for global container stack being None in the backend plugin
This commit is contained in:
parent
b1f887a70f
commit
396f023bdf
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ class CuraEngineBackend(Backend):
|
|||
|
||||
#When any setting property changed, call the _onSettingChanged function.
|
||||
#This function will then see if we need to start slicing.
|
||||
Application.getInstance().getGlobalContainerStack().propertyChanged.connect(self._onSettingChanged)
|
||||
if Application.getInstance().getGlobalContainerStack():
|
||||
Application.getInstance().getGlobalContainerStack().propertyChanged.connect(self._onSettingChanged)
|
||||
|
||||
#When you update a setting and other settings get changed through inheritance, many propertyChanged signals are fired.
|
||||
#This timer will group them up, and only slice for the last setting changed signal.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue