Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
displayAllResults is obsolete
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ViewerProxy.cpp
diff --git
a/src/XGUI/XGUI_ViewerProxy.cpp
b/src/XGUI/XGUI_ViewerProxy.cpp
index e19cb39b0931dea06da0a13a45b93d5065b4c24c..345efbe077f98fcf03dbc081845174c29d42bb80 100644
(file)
--- 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);
{
Handle(V3d_View) aView3d = activeView();
if (!aView3d.IsNull()) {
aView3d->SetProj(theX, theY, theZ);
+ aView3d->SetTwist( theTwist );
aView3d->FitAll(0.01, true);
aView3d->SetZSize(0.);
}
aView3d->FitAll(0.01, true);
aView3d->SetZSize(0.);
}