]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19469 ac1ea38d-2e2b...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 24 Jan 2011 11:15:02 +0000 (11:15 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 24 Jan 2011 11:15:02 +0000 (11:15 +0000)
org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynModel.java

index e549810fce5fe3c1e1ab8c0f68f16c5ea0eb199e..ea60079fb6550aed13b4cac2b76b3aff92ce4a58 100644 (file)
@@ -410,7 +410,7 @@ public class SysdynModel implements IMappingListener, IModel {
                SysdynExperiment exp = new SysdynExperiment(experiment, configurationResource);\r
                try {\r
                        exp.init(g);\r
-                       ExperimentRuns.createRun(session, experiment, exp, listener, null);\r
+                       ExperimentRuns.createRun(g.getSession(), experiment, exp, listener, null);\r
                        if(listener != null)\r
                                listener.onExperimentActivated(exp);\r
                        return exp;\r