Skip to content
Snippets Groups Projects
Commit e4497d24 authored by adrien-matta's avatar adrien-matta
Browse files

* Fixing possible issue when using nps without GDML support

parent f582ce7d
No related branches found
No related tags found
No related merge requests found
......@@ -299,7 +299,14 @@ void DetectorConstruction::RedefineGeometry(std::string file){
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void DetectorConstruction::ExportGeometry(string file){
#ifdef NPS_GDML
G4GDMLParser parser ;
parser.Write(file.c_str(),world_log);
#else
G4cout << "You need to compile Geant4 with GDML support to use this command" << G4endl;
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment