Update of /cvsroot/simspark/simspark/contrib/rsgedit
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv332
Modified Files:
sparkglcanvas.cpp
Log Message:
- add input events to the InputSystem regardless of the simulation state.
Index: sparkglcanvas.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/sparkglcanvas.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sparkglcanvas.cpp 15 Mar 2007 07:26:24 -0000 1.5
--- sparkglcanvas.cpp 31 Mar 2007 13:26:41 -0000 1.6
***************
*** 253,265 ****
}
- shared_ptr<SimSpark> spark = wxGetApp().GetSpark();
- if (
- (spark.get() == 0) ||
- (spark->GetSimState() != S_RUNNING)
- )
- {
- return;
- }
-
mInputSystem->AddInput(input);
}
--- 253,256 ----
|