Changeset 846 for trunk/source/visualization/management/src
- Timestamp:
- Jun 27, 2008, 3:37:41 PM (17 years ago)
- Location:
- trunk/source/visualization/management/src
- Files:
-
- 3 edited
-
G4ViewParameters.cc (modified) (2 diffs)
-
G4VisCommandsScene.cc (modified) (2 diffs)
-
G4VisCommandsViewer.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/src/G4ViewParameters.cc
r772 r846 25 25 // 26 26 // 27 // $Id: G4ViewParameters.cc,v 1.3 0 2008/03/10 16:23:42 lgarnierExp $27 // $Id: G4ViewParameters.cc,v 1.31 2008/04/04 13:48:53 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 513 513 514 514 if (IsExplode() && 515 ( fExplodeFactor != v.fExplodeFactor) ||516 (fExplodeCentre != v.fExplodeCentre)) return true;515 ((fExplodeFactor != v.fExplodeFactor) || 516 (fExplodeCentre != v.fExplodeCentre))) return true; 517 517 518 518 return false; -
trunk/source/visualization/management/src/G4VisCommandsScene.cc
r606 r846 25 25 // 26 26 // 27 // $Id: G4VisCommandsScene.cc,v 1.6 7 2007/11/10 15:03:56allison Exp $27 // $Id: G4VisCommandsScene.cc,v 1.68 2008/04/28 16:12:38 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 … … 244 244 G4cout << " events."; 245 245 if (maxNumberOfKeptEvents > 1 || maxNumberOfKeptEvents < 0) 246 G4cout << "\n This may use a lot of memory."; 246 G4cout << 247 "\n This may use a lot of memory." 248 "\n It may be changed with, e.g., " 249 "\"/vis/scene/endOfEventAction accumulate 10\"."; 247 250 } 248 251 G4cout << G4endl; -
trunk/source/visualization/management/src/G4VisCommandsViewer.cc
r772 r846 25 25 // 26 26 // 27 // $Id: G4VisCommandsViewer.cc,v 1. 68 2007/01/11 16:41:30allison Exp $27 // $Id: G4VisCommandsViewer.cc,v 1.70 2008/04/30 10:07:28 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 … … 405 405 // blanks within quotation marks... 406 406 char c; 407 while (is.get(c) && c == ' ') ;407 while (is.get(c) && c == ' '){} 408 408 if (c == '"') { 409 while (is.get(c) && c != '"') originalName += c;409 while (is.get(c) && c != '"') {originalName += c;} 410 410 } 411 411 else { 412 412 originalName += c; 413 while (is.get(c) && c != ' ') originalName += c;413 while (is.get(c) && c != ' ') {originalName += c;} 414 414 } 415 415 originalName = originalName.strip (G4String::both, ' '); … … 427 427 originalName = originalViewer->GetName(); // Ensures long name. 428 428 429 while (is.get(c) && c == ' ') ;429 while (is.get(c) && c == ' '){} 430 430 if (c == '"') { 431 while (is.get(c) && c != '"') cloneName += c;431 while (is.get(c) && c != '"') {cloneName += c;} 432 432 } 433 433 else { 434 434 cloneName += c; 435 while (is.get(c) && c != ' ') cloneName += c;435 while (is.get(c) && c != ' ') {cloneName += c;} 436 436 } 437 437 cloneName = cloneName.strip (G4String::both, ' '); … … 564 564 // contains embedded blanks within quotation marks... 565 565 char c; 566 while (is.get(c) && c == ' ') ;566 while (is.get(c) && c == ' '){} 567 567 if (c == '"') { 568 while (is.get(c) && c != '"') newName += c;568 while (is.get(c) && c != '"') {newName += c;} 569 569 } 570 570 else { 571 571 newName += c; 572 while (is.get(c) && c != ' ') newName += c;572 while (is.get(c) && c != ' ') {newName += c;} 573 573 } 574 574 newName = newName.strip (G4String::both, ' ');
Note:
See TracChangeset
for help on using the changeset viewer.
