mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 13:28:58 +08:00
Update plugins/PostProcessingPlugin/scripts/PauseAtHeight.py
Get extrusion mode from global container stack instead of first extruder Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
parent
76da7768e8
commit
94871a32e3
@ -510,8 +510,7 @@ class PauseAtHeight(Script):
|
||||
extrusion_mode_string = "absolute"
|
||||
extrusion_mode_numeric = 82
|
||||
|
||||
extruders = list(Application.getInstance().getGlobalContainerStack().extruders.values())
|
||||
relative_extrusion = extruders[0].getProperty("relative_extrusion", "value")
|
||||
relative_extrusion = Application.getInstance().getGlobalContainerStack().getProperty("relative_extrusion", "value")
|
||||
if relative_extrusion:
|
||||
extrusion_mode_string = "relative"
|
||||
extrusion_mode_numeric = 83
|
||||
|
Loading…
x
Reference in New Issue
Block a user