mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 11:53:13 +08:00
Move checking for some global features outside of the per node loop
CURA-7106
This commit is contained in:
parent
1f698fd664
commit
f9b288f3c6
@ -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…
x
Reference in New Issue
Block a user