Import Geant4 9.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:15:05 +02:00
parent b79225fb37
commit 74cad5e589
3877 changed files with 234205 additions and 167127 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4OpenInventorViewer.cc,v 1.59 2007/04/03 13:35:48 allison Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4OpenInventorViewer.cc,v 1.60 2009/02/16 15:31:05 lgarnier Exp $
// GEANT4 tag $Name: geant4-09-03 $
#ifdef G4VIS_BUILD_OI_DRIVER
@@ -479,9 +479,10 @@ void G4OpenInventorViewer::WritePostScript(const G4String& aFile) {
if(!fGL2PSAction) return;
fGL2PSAction->setFileName(aFile.c_str());
G4cout << "Produce " << aFile << "..." << G4endl;
fGL2PSAction->enableFileWriting();
ViewerRender();
fGL2PSAction->disableFileWriting();
if (fGL2PSAction->enableFileWriting()) {
ViewerRender();
fGL2PSAction->disableFileWriting();
}
}
void G4OpenInventorViewer::WritePixmapPostScript(const G4String& aFile) {