mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 19:18:58 +08:00
Use per-object stack instead of the active extruder
CURA-4186
This commit is contained in:
parent
32a863d9dc
commit
7a2493dd2f
@ -179,10 +179,10 @@ Item {
|
||||
//We have limit_to_extruder, so pick that stack.
|
||||
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.
|
||||
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.
|
||||
return activeMachineId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user