From: nds Date: Mon, 15 Dec 2014 05:50:56 +0000 (+0300) Subject: Porting to salome 7.5.x X-Git-Tag: before_slalome_7.5.1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57e78685b68a8daffbc3f2d037664f30fb444276;p=modules%2Fshaper.git Porting to salome 7.5.x --- diff --git a/src/NewGeom/NewGeom_SalomeViewer.cpp b/src/NewGeom/NewGeom_SalomeViewer.cpp index 27e159329..a1a640e5e 100644 --- a/src/NewGeom/NewGeom_SalomeViewer.cpp +++ b/src/NewGeom/NewGeom_SalomeViewer.cpp @@ -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.); } } diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index 7d2122da7..25baff9a7 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -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.); } }