mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 13:06:05 +08:00
Rename 'attribute' to 'property_name'
This commit is contained in:
parent
c38e31f0e3
commit
bf1cb8ae52
@ -51,8 +51,8 @@ class SettingOverrideDecorator(SceneNodeDecorator):
|
||||
def getActiveExtruder(self):
|
||||
return self._extruder_stack
|
||||
|
||||
def _onSettingChanged(self, instance, attribute): # Reminder: 'property' is a built-in function
|
||||
if attribute == "value": # Only reslice if the value has changed.
|
||||
def _onSettingChanged(self, instance, property_name): # Reminder: 'property' is a built-in function
|
||||
if property_name == "value": # Only reslice if the value has changed.
|
||||
Application.getInstance().getBackend().forceSlice()
|
||||
|
||||
## Makes sure that the stack upon which the container stack is placed is
|
||||
|
Loading…
x
Reference in New Issue
Block a user