Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsViewer.cc 77246 2013-11-22 10:01:21Z gcosmo $
|
||||
|
||||
// /vis/viewer commands - John Allison 25th October 1998
|
||||
|
||||
@@ -1394,7 +1394,16 @@ void G4VisCommandViewerSave::SetNewValue (G4UIcommand*, G4String newValue) {
|
||||
}
|
||||
}
|
||||
|
||||
const G4ViewParameters& vp = currentViewer->GetViewParameters();
|
||||
G4ViewParameters vp = currentViewer->GetViewParameters();
|
||||
// Concatenate any private vis attributes modifiers...
|
||||
const std::vector<G4ModelingParameters::VisAttributesModifier>*
|
||||
privateVAMs = currentViewer->GetPrivateVisAttributesModifiers();
|
||||
if (privateVAMs) {
|
||||
std::vector<G4ModelingParameters::VisAttributesModifier>::const_iterator i;
|
||||
for (i = privateVAMs->begin(); i != privateVAMs->end(); ++i) {
|
||||
vp.AddVisAttributesModifier(*i);
|
||||
}
|
||||
}
|
||||
const G4Point3D& stp = currentScene->GetStandardTargetPoint();
|
||||
|
||||
if (newValue == "G4cout") {
|
||||
|
||||
Reference in New Issue
Block a user