Update of /cvsroot/simspark/simspark/contrib/rsgedit
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv30883
Modified Files:
Tag: WIN32
mainframe.cpp
Log Message:
- update cached references in Spark object after loading a new simulation
Index: mainframe.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/mainframe.cpp,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.5
diff -C2 -d -r1.8.2.4 -r1.8.2.5
*** mainframe.cpp 16 Feb 2007 17:06:40 -0000 1.8.2.4
--- mainframe.cpp 18 Feb 2007 08:07:37 -0000 1.8.2.5
***************
*** 583,586 ****
--- 583,588 ----
}
+ spark->UpdateCached();
+
shared_ptr<SimulationServer> sim = spark->GetSimulationServer();
if (sim.get() == 0)
|