Salome HOME
Porting to salome 7.5.x
authornds <natalia.donis@opencascade.com>
Mon, 15 Dec 2014 05:50:56 +0000 (08:50 +0300)
committernds <natalia.donis@opencascade.com>
Mon, 15 Dec 2014 05:50:56 +0000 (08:50 +0300)
src/NewGeom/NewGeom_SalomeViewer.cpp
src/XGUI/XGUI_ViewerProxy.cpp

index 27e159329e226447dc93dc4b5d03cb744c5ce59f..a1a640e5e6d0958f1f1547f0d4ab40e4933a1e32 100644 (file)
@@ -233,7 +233,7 @@ void NewGeom_SalomeViewer::setViewProjection(double theX, double theY, double th
     Handle(V3d_View) aView3d = aVFrame->getViewPort()->getView();
     if (!aView3d.IsNull()) {
       aView3d->SetProj(theX, theY, theZ);
-      aView3d->FitAll(0.01, true, true);
+      aView3d->FitAll(0.01, true);
       aView3d->SetZSize(0.);
     }
   }
index 7d2122da77b8323dcee9f835d56775e3a4788364..25baff9a741524e6dd77d836cbaacad2714fdcf7 100644 (file)
@@ -50,7 +50,7 @@ void XGUI_ViewerProxy::setViewProjection(double theX, double theY, double theZ)
   Handle(V3d_View) aView3d = activeView();
   if (!aView3d.IsNull()) {
     aView3d->SetProj(theX, theY, theZ);
-    aView3d->FitAll(0.01, true, true);
+    aView3d->FitAll(0.01, true);
     aView3d->SetZSize(0.);
   }
 }