Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisManager.cc,v 1.56 2003/11/27 11:48:27 johna Exp $
// GEANT4 tag $Name: geant4-06-00 $
// $Id: G4VisManager.cc,v 1.57 2003/12/01 11:12:59 johna Exp $
// GEANT4 tag $Name: geant4-06-01 $
//
//
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
@@ -940,9 +940,11 @@ void G4VisManager::EndOfEvent () {
void G4VisManager::EndOfRun () {
//G4cout << "G4VisManager::EndOfRun" << G4endl;
if (GetConcreteInstance() && IsValidView ()) {
if (fpScene->GetRefreshAtEndOfRun()) {
fpViewer->ShowView(); // ...for systems needing post processing.
fpSceneHandler->SetMarkForClearingTransientStore(true);
if (!fpSceneHandler->GetMarkForClearingTransientStore()) {
if (fpScene->GetRefreshAtEndOfRun()) {
fpViewer->ShowView(); // ...for systems needing post processing.
fpSceneHandler->SetMarkForClearingTransientStore(true);
}
}
}
}