mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06:00
Use per-object stack instead of the active extruder
CURA-4186
This commit is contained in:
parent
32a863d9dc
commit
7a2493dd2f
1 changed files with 2 additions and 2 deletions
|
@ -179,10 +179,10 @@ Item {
|
||||||
//We have limit_to_extruder, so pick that stack.
|
//We have limit_to_extruder, so pick that stack.
|
||||||
return ExtruderManager.extruderIds[String(inheritStackProvider.properties.limit_to_extruder)];
|
return ExtruderManager.extruderIds[String(inheritStackProvider.properties.limit_to_extruder)];
|
||||||
}
|
}
|
||||||
if(ExtruderManager.activeExtruderStackId)
|
if(UM.ActiveTool.properties.getValue("ContainerID"))
|
||||||
{
|
{
|
||||||
//We're on an extruder tab. Pick the current extruder.
|
//We're on an extruder tab. Pick the current extruder.
|
||||||
return ExtruderManager.activeExtruderStackId;
|
return UM.ActiveTool.properties.getValue("ContainerID");
|
||||||
}
|
}
|
||||||
//No extruder tab is selected. Pick the global stack. Shouldn't happen any more since we removed the global tab.
|
//No extruder tab is selected. Pick the global stack. Shouldn't happen any more since we removed the global tab.
|
||||||
return activeMachineId;
|
return activeMachineId;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue