mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:29:01 +08:00
Make mesh-specific global setting solution permanent
We've considered various other solutions but this is the only real solution available to us. Contributes to issue CURA-2173.
This commit is contained in:
parent
5119a7b6be
commit
223489a637
@ -239,7 +239,6 @@ class MachineManager(QObject):
|
||||
self.activeQualityChanged.emit()
|
||||
|
||||
def _onPropertyChanged(self, key, property_name):
|
||||
# HACK CURA-2173
|
||||
if property_name == "value":
|
||||
# If a setting is not settable per extruder but at the same time settable per mesh, the engine needs a value in the extruder stack
|
||||
# This is mainly the case for the "support_enable" setting.
|
||||
@ -250,7 +249,6 @@ class MachineManager(QObject):
|
||||
for extruder_stack in stacks:
|
||||
if extruder_stack.getProperty(key, "value") != new_value:
|
||||
extruder_stack.getTop().setProperty(key, "value", new_value)
|
||||
# /HACK
|
||||
|
||||
if property_name == "validationState":
|
||||
if self._active_stack_valid:
|
||||
|
Loading…
x
Reference in New Issue
Block a user