- Timestamp:
- Oct 2, 2008, 10:29:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc
r850 r858 58 58 nbPaint =0; 59 59 hasToRepaint =false; 60 61 // if no scene... 62 if (fSceneHandler.GetScene() == 0) { 63 G4cerr << "G4OpenGLStoredQtViewer: Creating a Viewer without a scene is not allowed. \nPlease use /vis/scene/create before /vis/open/.... " 64 << G4endl; 65 return; 66 } 60 67 if (fViewId < 0) return; // In case error in base class instantiation. 61 68 } … … 76 83 void G4OpenGLStoredQtViewer::Initialise() { 77 84 #ifdef GEANT4_QT_DEBUG 78 printf("G LWidget::Initialise\n");85 printf("G4OpenGLStoredQtViewer::Initialise 1\n"); 79 86 #endif 80 87 readyToPaint = false;
Note: See TracChangeset
for help on using the changeset viewer.