]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx
#3230 vtk8itk4wx3-mingw64 MACOS
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkBaseView.cxx
index 77d384390a912d2156b3bf4e9566c626592a013e..81a146e69d73b00930652ca291cc8f9060b001f2 100644 (file)
@@ -117,7 +117,7 @@ void wxVtkBaseView::TransCoordScreenToWorld(double &X, double &Y, double &Z, int
        GetRenderer()->DisplayToWorld();
        double fP[4];
        GetRenderer()->GetWorldPoint( fP );
-       if ( fP[3] ){
+    if ( fP[3] ){
                fP[0] /= fP[3];
                fP[1] /= fP[3];
                fP[2] /= fP[3];
@@ -149,7 +149,7 @@ void wxVtkBaseView::TransFromCoordScreenToWorld(double &X, double &Y, double &Z,
 
        X = xx;
        Y = yy;
-       Z=zz;
+       Z = zz;
 
 // EEDx5
        //JCP 13/05/2009
@@ -175,7 +175,8 @@ void wxVtkBaseView::TransFromCoordScreenToWorld(double &X, double &Y, double &Z,
        if (type!=2)
        {
                Z=fP[2];
-       } 
+       }
+
 }
 
 //---------------------------------------------------------------------------