Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 0e61b4cc authored by Harald Martini's avatar Harald Martini
Browse files

reset pto cycle when idle is activated

parent fb6625cb
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public void CommitSimulationStep(Second time, Second simulationInterval, IModalDataContainer container)
{
if (_ptoActive) {
if (_ptoActive) {
CycleIterator.MoveNext();
}
}
......@@ -186,6 +186,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public void ActivateIdle()
{
_ptoActive = false;
Reset();
}
#endregion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment