mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Set simulation path to 0 after updating layer
CURA-5677
This commit is contained in:
parent
ecc66fe05b
commit
3da6e3c453
@ -670,6 +670,7 @@ Item
|
|||||||
onCurrentLayerChanged:
|
onCurrentLayerChanged:
|
||||||
{
|
{
|
||||||
playButton.pauseSimulation()
|
playButton.pauseSimulation()
|
||||||
|
pathSlider.setHandleValue(0) // After updating the layer set Path slider to 0
|
||||||
layerSlider.setUpperValue(UM.SimulationView.currentLayer)
|
layerSlider.setUpperValue(UM.SimulationView.currentLayer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user