- Timestamp:
- May 14, 2009, 5:40:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLXViewerMessenger.cc
r948 r1041 96 96 if (command == fpCommandPrintEPS) 97 97 { 98 // Keep copy of fPrintFilename to preserve Xm behaviour...99 std::string tmp_string = pViewer->fPrintFilename;100 101 // Make new print string...102 static G4int file_count = 0;103 std::ostringstream oss;104 oss << "G4OpenGL_" << file_count++ << ".eps";105 pViewer->fPrintFilename = std::string (oss.str().c_str());106 98 // Print eps file... 107 99 pViewer->printEPS(); 108 // Restore fPrintFilename for Xm...109 pViewer->fPrintFilename = tmp_string;110 100 } 111 101
Note: See TracChangeset
for help on using the changeset viewer.