Changeset 1133 for trunk/source/visualization/OpenGL/src
- Timestamp:
- Oct 15, 2009, 5:33:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc
r1125 r1133 25 25 // 26 26 // 27 // $Id: G4OpenGLViewer.cc,v 1.5 7 2009/08/19 13:28:10 lgarnier Exp $27 // $Id: G4OpenGLViewer.cc,v 1.58 2009/10/15 15:33:30 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 496 496 printf("G4OpenGLViewer::printEPS file:%s Vec:%d Name:%s\n",getRealPrintFilename().c_str(),fVectoredPs,GetName().c_str()); 497 497 #endif 498 499 // Change the LC_NUMERIC value in order to have "." separtor and not "," 500 // This case is only useful for French, Canadien... 501 char *oldLocale = strdup(setlocale(LC_NUMERIC,NULL)); 502 setlocale(LC_NUMERIC,"C"); 503 498 504 if (fVectoredPs) { 499 505 res = printVectoredEPS(); … … 501 507 res = printNonVectoredEPS(); 502 508 } 509 510 // restore the local 511 if (oldLocale) { 512 setlocale(LC_NUMERIC,oldLocale); 513 free(oldLocale); 514 } 515 503 516 if (res == false) { 504 517 G4cerr << "Error while saving file... "<<getRealPrintFilename().c_str()<< G4endl;
Note: See TracChangeset
for help on using the changeset viewer.