From: vsr Date: Sat, 29 Dec 2012 12:27:00 +0000 (+0000) Subject: 0021987: EDF 2483 GEOM : Vertices are not displayed in GEOM if we have closed a study X-Git-Tag: V6_main_FINAL~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33be2d845022ad38ad10d473cf7a85c0552d4219;p=modules%2Fgui.git 0021987: EDF 2483 GEOM : Vertices are not displayed in GEOM if we have closed a study --- diff --git a/src/VTKViewer/VTKViewer_Utilities.cxx b/src/VTKViewer/VTKViewer_Utilities.cxx index cc8fec734..d8d7e0945 100755 --- a/src/VTKViewer/VTKViewer_Utilities.cxx +++ b/src/VTKViewer/VTKViewer_Utilities.cxx @@ -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;