mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 17:39:02 +08:00
Restore active extruder after forcing an update of the global extruder stack
This commit is contained in:
parent
6e0221636d
commit
94545ec4ee
@ -671,7 +671,12 @@ Cura.MachineAction
|
|||||||
propertyProvider.setPropertyValue("value", text);
|
propertyProvider.setPropertyValue("value", text);
|
||||||
if(forceUpdateOnChange)
|
if(forceUpdateOnChange)
|
||||||
{
|
{
|
||||||
|
var extruderIndex = ExtruderManager.activeExtruderIndex;
|
||||||
manager.forceUpdate();
|
manager.forceUpdate();
|
||||||
|
if(ExtruderManager.activeExtruderIndex != extruderIndex)
|
||||||
|
{
|
||||||
|
ExtruderManager.setActiveExtruderIndex(extruderIndex)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user