]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
(fixes #5482) SimulateDurationJob does not restore the step length if it reduces...
authorjussi.koskela <jussi.koskela@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 14 Nov 2014 13:46:33 +0000 (13:46 +0000)
committerjussi.koskela <jussi.koskela@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 14 Nov 2014 13:46:33 +0000 (13:46 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30548 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SimulateDurationJob.java

index fffc66c04c392f58afaccba2972c6a172cf00284..f411138fcb30b38c56e9d8a2c4c168322377d3cd 100644 (file)
@@ -79,6 +79,7 @@ class SimulateDurationJob extends Job {
                                monitor.worked(1);\r
 \r
                        }\r
+                       solver.setStepLength(base.stepLength);                  \r
 \r
                        monitor.subTask("Display results");\r
                        ((MemoryResult)base.getCurrentResult()).setResult(new GameResult(base, base.results, base.subscription));\r