Path change possible by user

- simulation speed increased
- no buffering in between layers
- fps made 30
CURA-7647
This commit is contained in:
saumya.jain 2023-12-20 18:16:04 +01:00
parent cfec5e0cc1
commit 41efdbabe0
2 changed files with 27 additions and 19 deletions

View file

@ -127,6 +127,7 @@ Item
function resumeSimulation()
{
UM.SimulationView.setSimulationRunning(true)
UM.SimulationView.setCurrentPath(UM.SimulationView.currentPath)
simulationTimer.start()
layerSlider.manuallyChanged = false
pathSlider.manuallyChanged = false
@ -136,7 +137,7 @@ Item
Timer
{
id: simulationTimer
interval: 1000 / 60
interval: 1000 / 30
running: false
repeat: true
onTriggered: