Changeset 939 for trunk/source/visualization/OpenGL/src
- Timestamp:
- Mar 5, 2009, 11:52:40 AM (16 years ago)
- Location:
- trunk/source/visualization/OpenGL/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc
r938 r939 51 51 #include "G4AttHolder.hh" 52 52 #include "G4AttCheck.hh" 53 #include "G4StateManager.hh" 53 54 54 55 // GL2PS … … 916 917 ResizeGLView(); 917 918 if (fGL2PSAction->enableFileWriting()) { 918 #ifdef G4DEBUG_VIS_OGL919 printf("Call Need() \n");920 #endif921 NeedKernelVisit ();922 #ifdef G4DEBUG_VIS_OGL923 printf("Call Process() \n");924 #endif925 ProcessView();926 SetView ();927 ClearView ();928 919 DrawView (); 929 920 fGL2PSAction->disableFileWriting(); -
trunk/source/visualization/OpenGL/src/G4OpenGLXViewer.cc
r938 r939 418 418 if (fVectoredPs) { 419 419 420 // Set State to Idle because otherwise it won't redraw421 G4StateManager* stateManager = G4StateManager::GetStateManager();422 G4ApplicationState oldState = stateManager->GetCurrentState();423 stateManager->SetNewState(G4State_Idle);424 420 printGl2PS(fWinSize_x, fWinSize_y); 425 stateManager->SetNewState(oldState);426 427 // fPrintFilename = fPrintFilename+"-Gl2ps.ps";428 421 // printVectoredEPS(); 429 422
Note: See TracChangeset
for help on using the changeset viewer.