mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:29:03 +08:00
Merge branch 'settings_rework' of https://github.com/Ultimaker/Cura into settings_rework
This commit is contained in:
commit
1256f4a752
@ -55,10 +55,9 @@ class CuraEngineBackend(Backend):
|
||||
self._onActiveViewChanged()
|
||||
self._stored_layer_data = []
|
||||
|
||||
#When any setting property changed, call the _onSettingChanged function.
|
||||
#This function will then see if we need to start slicing.
|
||||
#Triggers for when to (re)start slicing:
|
||||
if Application.getInstance().getGlobalContainerStack():
|
||||
Application.getInstance().getGlobalContainerStack().propertyChanged.connect(self._onSettingChanged)
|
||||
Application.getInstance().getGlobalContainerStack().propertyChanged.connect(self._onSettingChanged) #Note: Only starts slicing when the value changed.
|
||||
|
||||
#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…
x
Reference in New Issue
Block a user