mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0024882: Visualization - default orientation is ignored
Restore lines removed from V3d_View constructors.
This commit is contained in:
parent
550f3b8b22
commit
fc8eab5e09
@ -258,6 +258,7 @@ V3d_View::V3d_View(const Handle(V3d_Viewer)& VM, const V3d_TypeOfView Type ) :
|
|||||||
SetZCueingWidth (zsize);
|
SetZCueingWidth (zsize);
|
||||||
SetDepth (VM->DefaultViewSize()/2.0);
|
SetDepth (VM->DefaultViewSize()/2.0);
|
||||||
SetViewMappingDefault();
|
SetViewMappingDefault();
|
||||||
|
SetViewOrientationDefault();
|
||||||
VM->AddView (this);
|
VM->AddView (this);
|
||||||
Init();
|
Init();
|
||||||
myImmediateUpdate = Standard_True;
|
myImmediateUpdate = Standard_True;
|
||||||
@ -305,6 +306,8 @@ V3d_View::V3d_View(const Handle(V3d_Viewer)& theVM,const Handle(V3d_View)& theVi
|
|||||||
|
|
||||||
SetAxis (0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
|
SetAxis (0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
|
||||||
|
|
||||||
|
SetViewMappingDefault();
|
||||||
|
SetViewOrientationDefault();
|
||||||
theVM->AddView (this);
|
theVM->AddView (this);
|
||||||
|
|
||||||
Init();
|
Init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user