From c15810268833e2cf4972f26c0bbe4249986cf7ea Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 4 Dec 2006 13:01:51 +0000 Subject: [PATCH] Fix for PAL14092 : EDF PAL 337 : SMESH Display problem on VTK. --- src/SMESHGUI/SMESHGUI_VTKUtils.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index 4e5c883c1..16eecc696 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -336,6 +336,7 @@ namespace SMESH{ case eDisplay: case eDisplayOnly: anActor->SetVisibility(true); + if (theAction == eDisplayOnly) aRenderer->ResetCameraClippingRange(); break; case eErase: anActor->SetVisibility(false); -- 2.39.2