Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -309,6 +309,20 @@ void G4VisCommandsTouchableSet::SetNewValue
(workingVisAtts,
G4ModelingParameters::VASVisibility,
fCurrentTouchableProperties.fTouchablePath));
if (verbosity >= G4VisManager::warnings) {
static G4bool first = true;
if (first) {
first = false;
G4warn << "WARNING: If \"/vis/touchable/set/visibility\" does not appear to"
"\n work, check that opacity (4th component of colour) is non-zero." << G4endl;
G4warn << "ALSO: The volume must be in a requested physical volume tree,"
"\n not in the \"base path\". E.g., if"
"\n /vis/drawVolume volume-name"
"\n there is no way to make a parent of volume-name visible except by"
"\n explicitly adding the parent:"
"\n /vis/scene/add/volume parent-name" << G4endl;
}
}
}
else {