Ignore:
Timestamp:
May 27, 2009, 4:46:43 PM (15 years ago)
Author:
garnier
Message:

qq modifs de debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc

    r924 r1051  
    477477
    478478void G4OpenInventorViewer::WritePostScript(const G4String& aFile) {
     479#ifdef G4DEBUG_VIS_OI
     480  printf("G4OpenInventorViewer::WritePostScript %s\n",aFile.c_str());
     481#endif
    479482  if(!fGL2PSAction) return;
    480483  fGL2PSAction->setFileName(aFile.c_str());
    481484  G4cout << "Produce " << aFile << "..." << G4endl;
    482485  if (fGL2PSAction->enableFileWriting()) {
     486#ifdef G4DEBUG_VIS_OI
     487    printf("G4OpenInventorViewer::WritePostScript produce OK\n");
     488#endif
    483489    ViewerRender();
    484490    fGL2PSAction->disableFileWriting();
     
    487493
    488494void G4OpenInventorViewer::WritePixmapPostScript(const G4String& aFile) {
     495#ifdef G4DEBUG_VIS_OI
     496  printf("G4OpenInventorViewer::WritePixmapPostScript %s\n",aFile.c_str());
     497#endif
     498
    489499  fSoImageWriter->fileName.setValue(aFile.c_str());
    490500  //imageWriter->format.setValue(SoImageWriter::POST_SCRIPT);
     
    501511           << G4endl;
    502512  }
     513#ifdef G4DEBUG_VIS_OI
     514  printf("G4OpenInventorViewer::WritePixmapPostScript END\n");
     515#endif
    503516
    504517
Note: See TracChangeset for help on using the changeset viewer.