From 33be2d845022ad38ad10d473cf7a85c0552d4219 Mon Sep 17 00:00:00 2001 From: vsr Date: Sat, 29 Dec 2012 12:27:00 +0000 Subject: [PATCH] 0021987: EDF 2483 GEOM : Vertices are not displayed in GEOM if we have closed a study --- src/VTKViewer/VTKViewer_Utilities.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2