]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0021987: EDF 2483 GEOM : Vertices are not displayed in GEOM if we have closed a study
authorvsr <vsr@opencascade.com>
Sat, 29 Dec 2012 12:27:00 +0000 (12:27 +0000)
committervsr <vsr@opencascade.com>
Sat, 29 Dec 2012 12:27:00 +0000 (12:27 +0000)
src/VTKViewer/VTKViewer_Utilities.cxx

index cc8fec734ecaa0808d9acb96bccbde4c8d281ba7..d8d7e0945723db6f95e8edf172a7a35090985d8e 100755 (executable)
@@ -183,7 +183,8 @@ ResetCameraClippingRange(vtkRenderer* theRenderer)
   anActiveCamera->GetPosition(position);
   
   vtkFloatingPointType bounds[6];
-  theRenderer->ComputeVisiblePropBounds(bounds);
+  //theRenderer->ComputeVisiblePropBounds(bounds);
+  ComputeVisiblePropBounds(theRenderer, bounds);
   
   vtkFloatingPointType center[3];
   center[0] = (bounds[0] + bounds[1])/2.0;