mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06: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
1 changed files with 0 additions and 2 deletions
|
@ -239,7 +239,6 @@ class MachineManager(QObject):
|
||||||
self.activeQualityChanged.emit()
|
self.activeQualityChanged.emit()
|
||||||
|
|
||||||
def _onPropertyChanged(self, key, property_name):
|
def _onPropertyChanged(self, key, property_name):
|
||||||
# HACK CURA-2173
|
|
||||||
if property_name == "value":
|
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
|
# 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.
|
# This is mainly the case for the "support_enable" setting.
|
||||||
|
@ -250,7 +249,6 @@ class MachineManager(QObject):
|
||||||
for extruder_stack in stacks:
|
for extruder_stack in stacks:
|
||||||
if extruder_stack.getProperty(key, "value") != new_value:
|
if extruder_stack.getProperty(key, "value") != new_value:
|
||||||
extruder_stack.getTop().setProperty(key, "value", new_value)
|
extruder_stack.getTop().setProperty(key, "value", new_value)
|
||||||
# /HACK
|
|
||||||
|
|
||||||
if property_name == "validationState":
|
if property_name == "validationState":
|
||||||
if self._active_stack_valid:
|
if self._active_stack_valid:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue