Skip to content

Commit

Permalink
Removed instanciation of G4VisManager in rat.cc, as under certain cir…
Browse files Browse the repository at this point in the history
…cumstances clashed with the instanciation of G4GLVisManager (duplicated instanciation of G4VisManager).
  • Loading branch information
Nuno Barros committed Jun 20, 2014
1 parent d6e42d0 commit 95adf82
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@ int main(int argc, char** argv) {
InNetProducer *innet = new InNetProducer(mainBlock);
// RATFsim *fsim = new RATFsim(analysisStack); // SOMEDAY!


#ifdef G4VIS_USE_RAYTRACERX
// Initialize visualization
G4VisManager* visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
// G4VisManager* visManager = new G4VisExecutive("Quiet");
visManager->Initialize();
#endif

// Setup signal handler to intercept Ctrl-C and quit event loop
// nicely (closing files and all that).
SignalHandler::Init();
Expand Down

0 comments on commit 95adf82

Please sign in to comment.