mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Move checking for some global features outside of the per node loop
CURA-7106
This commit is contained in:
parent
1f698fd664
commit
f9b288f3c6
1 changed files with 20 additions and 17 deletions
|
@ -221,8 +221,11 @@ class ExtruderManager(QObject):
|
||||||
# if there is no per-mesh stack, we use the build extruder for this mesh
|
# if there is no per-mesh stack, we use the build extruder for this mesh
|
||||||
stack_to_use = container_registry.findContainerStacks(id = extruder_stack_id)[0]
|
stack_to_use = container_registry.findContainerStacks(id = extruder_stack_id)[0]
|
||||||
|
|
||||||
|
if not support_enabled:
|
||||||
support_enabled |= stack_to_use.getProperty("support_enable", "value")
|
support_enabled |= stack_to_use.getProperty("support_enable", "value")
|
||||||
|
if not support_bottom_enabled:
|
||||||
support_bottom_enabled |= stack_to_use.getProperty("support_bottom_enable", "value")
|
support_bottom_enabled |= stack_to_use.getProperty("support_bottom_enable", "value")
|
||||||
|
if not support_roof_enabled:
|
||||||
support_roof_enabled |= stack_to_use.getProperty("support_roof_enable", "value")
|
support_roof_enabled |= stack_to_use.getProperty("support_roof_enable", "value")
|
||||||
|
|
||||||
# Check limit to extruders
|
# Check limit to extruders
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue