mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0024267: Exception in Visual3d_ViewManager::Redraw() when color scale is displayed
Removing V3d_Viewer::Init() and the default views created internally by the viewer.
This commit is contained in:
@@ -114,9 +114,3 @@ void V3d_Viewer::SetDefaultLights()
|
||||
SetLightOn (new V3d_DirectionalLight (this, V3d_Zneg, Quantity_NOC_WHITE, Standard_True));
|
||||
SetLightOn (new V3d_AmbientLight (this));
|
||||
}
|
||||
|
||||
void V3d_Viewer::Init() {
|
||||
MyDefaultPerspectiveView = new V3d_PerspectiveView(this);
|
||||
MyDefaultOrthographicView = new V3d_OrthographicView(this);
|
||||
SetDefaultLights();
|
||||
}
|
||||
|
Reference in New Issue
Block a user