CURA-4400 fix support_extruder_nr values in overhang angle and SliceInfo

This commit is contained in:
Jack Ha 2018-03-19 10:56:40 +01:00
parent f407663508
commit bd775cf32e
4 changed files with 13 additions and 5 deletions

View file

@ -41,7 +41,7 @@ class CuraSceneNode(SceneNode):
# Use the support extruder instead of the active extruder if this is a support_mesh
if per_mesh_stack:
if per_mesh_stack.getProperty("support_mesh", "value"):
return extruders[int(global_container_stack.getProperty("support_extruder_nr", "value"))]
return extruders[int(global_container_stack.getExtruderPositionValueWithDefault("support_extruder_nr"))]
# It's only set if you explicitly choose an extruder
extruder_id = self.callDecoration("getActiveExtruder")