mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
fps made 15 for lower GPU load
- reinitialisation of cummulative_time for new model CURA-7647
This commit is contained in:
parent
113ad74e26
commit
e2e94b7f6b
2 changed files with 5 additions and 4 deletions
|
@ -137,12 +137,12 @@ Item
|
|||
Timer
|
||||
{
|
||||
id: simulationTimer
|
||||
interval: 1000 / 30
|
||||
interval: 1000 / 15
|
||||
running: false
|
||||
repeat: true
|
||||
onTriggered:
|
||||
{
|
||||
// divide by 1000 to accont for ms to s conversion
|
||||
// divide by 1000 to account for ms to s conversion
|
||||
const advance_time = simulationTimer.interval / 1000.0;
|
||||
if (!UM.SimulationView.advanceTime(advance_time)) {
|
||||
playButton.pauseSimulation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue