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:
Ghostkeeper 2016-08-25 14:33:53 +02:00
parent 5119a7b6be
commit 223489a637
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -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: