Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VisCommandsScene.cc,v 1.65 2006/11/26 19:37:54 allison Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4VisCommandsScene.cc,v 1.66 2007/05/25 10:49:55 allison Exp $
// GEANT4 tag $Name: geant4-09-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -479,8 +479,29 @@ void G4VisCommandSceneNotifyHandlers::SetNewValue (G4UIcommand*,
// Store current context...
G4VSceneHandler* pCurrentSceneHandler =
fpVisManager -> GetCurrentSceneHandler();
if (!pCurrentSceneHandler) {
if (verbosity >= G4VisManager::warnings) {
G4cout << "WARNING: No current scene handler."
<< G4endl;
}
return;
}
G4VViewer* pCurrentViewer = fpVisManager -> GetCurrentViewer();
if (!pCurrentViewer) {
if (verbosity >= G4VisManager::warnings) {
G4cout << "WARNING: No current viewer."
<< G4endl;
}
return;
}
G4Scene* pCurrentScene = fpVisManager -> GetCurrentScene();
if (!pCurrentScene) {
if (verbosity >= G4VisManager::warnings) {
G4cout << "WARNING: No current scene."
<< G4endl;
}
return;
}
G4VisManager::Verbosity currentVerbosity = fpVisManager -> GetVerbosity();
// Suppress messages during this process (only print errors)...