Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user