Ignore:
Timestamp:
Dec 22, 2010, 11:33:38 AM (14 years ago)
Author:
garnier
Message:

before tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/src/G4VisCommandsSceneAdd.cc

    r1337 r1346  
    2525//
    2626//
    27 // $Id: G4VisCommandsSceneAdd.cc,v 1.82 2010/06/03 10:17:44 allison 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: $
    2929// /vis/scene commands - John Allison  9th August 1998
    3030
     
    307307      } else {
    308308        const std::vector<const G4Event*>* events =
    309           currentRun? currentRun->GetEventVector(): 0;
     309          currentRun->GetEventVector();
    310310        if (events) nEvents = events->size();
    311311      }
     
    15901590  model->SetExtent(extent);
    15911591  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) {
    15941594    G4cout << "User Vis Action added to scene \""
    15951595           << currentSceneName << "\"";
Note: See TracChangeset for help on using the changeset viewer.