Minor changes to make musrSim comaptible with Geant4 v11.0.3

This commit is contained in:
2022-11-03 14:19:01 +01:00
parent f2e9c623b6
commit 5757e0dbaa
4 changed files with 7 additions and 7 deletions

View File

@ -158,7 +158,7 @@ G4VisAttributes* F04ElementField::getVisAttribute(G4String color)
}
}
if (!p) p = new G4VisAttributes(G4VisAttributes::Invisible);
if (!p) p = new G4VisAttributes(G4VisAttributes::GetInvisible());
p->SetDaughtersInvisible(false);
return p;