X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ViewerProxy.cpp;h=345efbe077f98fcf03dbc081845174c29d42bb80;hb=1be01557bbce2ce45f8f7e1cfce412005aa8e349;hp=e19cb39b0931dea06da0a13a45b93d5065b4c24c;hpb=716f7ba09656559d4059bb68a30c8d4ec2fcadad;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index e19cb39b0..345efbe07 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -47,11 +47,12 @@ Handle(V3d_View) XGUI_ViewerProxy::activeView() const } } -void XGUI_ViewerProxy::setViewProjection(double theX, double theY, double theZ) +void XGUI_ViewerProxy::setViewProjection(double theX, double theY, double theZ, double theTwist) { Handle(V3d_View) aView3d = activeView(); if (!aView3d.IsNull()) { aView3d->SetProj(theX, theY, theZ); + aView3d->SetTwist( theTwist ); aView3d->FitAll(0.01, true); aView3d->SetZSize(0.); }