- Timestamp:
- Dec 22, 2010, 11:33:38 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/src/G4VisCommandsSceneAdd.cc
r1337 r1346 25 25 // 26 26 // 27 // $Id: G4VisCommandsSceneAdd.cc,v 1.8 2 2010/06/03 10:17:44allison Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4VisCommandsSceneAdd.cc,v 1.84 2010/11/06 18:34:26 allison Exp $ 28 // GEANT4 tag $Name: $ 29 29 // /vis/scene commands - John Allison 9th August 1998 30 30 … … 307 307 } else { 308 308 const std::vector<const G4Event*>* events = 309 currentRun ? currentRun->GetEventVector(): 0;309 currentRun->GetEventVector(); 310 310 if (events) nEvents = events->size(); 311 311 } … … 1590 1590 model->SetExtent(extent); 1591 1591 const G4String& currentSceneName = pScene -> GetName (); 1592 pScene -> AddRunDurationModel (model, warn);1593 if ( verbosity >= G4VisManager::confirmations) {1592 G4bool successful = pScene -> AddRunDurationModel (model, warn); 1593 if (successful && verbosity >= G4VisManager::confirmations) { 1594 1594 G4cout << "User Vis Action added to scene \"" 1595 1595 << currentSceneName << "\"";
Note: See TracChangeset
for help on using the changeset viewer.