]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
further implementation of get/setVisualParameters()
authorasv <asv@opencascade.com>
Tue, 31 Jan 2006 13:07:04 +0000 (13:07 +0000)
committerasv <asv@opencascade.com>
Tue, 31 Jan 2006 13:07:04 +0000 (13:07 +0000)
src/GLViewer/GLViewer_ViewFrame.cxx

index 1bb6c8a381f07cbbbbeefc4d591bfde739b4a453..a466d7b2f91813081ec6390fdf196b0f1992b8f4 100644 (file)
@@ -558,7 +558,7 @@ QString GLViewer_ViewFrame::getVisualParameters()
     GLfloat xSc, ySc, xPan, yPan;
     vp2d->getScale( xSc, ySc );
     vp2d->getPan( xPan, yPan );
-    retStr.sprintf( "%.12f*%.12f*%.12f*%.12f", xSc, ySc, xPan, yPan );
+    retStr.sprintf( "%.12e*%.12e*%.12e*%.12e", xSc, ySc, xPan, yPan );
   }
   return retStr;
 }