Import Geant4 8.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:55:03 +02:00
parent 216a75eeb1
commit fe73f43734
6714 changed files with 118229 additions and 68144 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4StateManager.cc,v 1.12 2006/06/29 19:04:27 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
// $Id: G4StateManager.cc,v 1.13 2006/11/23 00:41:56 asaim Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//
// ------------------------------------------------------------
@@ -192,7 +192,6 @@ G4StateManager::SetNewState(G4ApplicationState requestedState, const char* msg)
G4bool ack = true;
G4ApplicationState savedState = thePreviousState;
thePreviousState = theCurrentState;
theCurrentState = requestedState;
while ((ack) && (i<theDependentsList.size()))
{
ack = theDependentsList[i]->Notify(requestedState);
@@ -204,10 +203,9 @@ G4StateManager::SetNewState(G4ApplicationState requestedState, const char* msg)
}
if(!ack)
{
theCurrentState = thePreviousState;
thePreviousState = savedState;
}
{ thePreviousState = savedState; }
else
{ theCurrentState = requestedState; }
msgptr = 0;
return ack;
}