From: mkr Date: Mon, 4 Dec 2006 13:01:51 +0000 (+0000) Subject: Fix for PAL14092 : EDF PAL 337 : SMESH Display problem on VTK. X-Git-Tag: V3_2_4pre1~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c15810268833e2cf4972f26c0bbe4249986cf7ea;p=modules%2Fsmesh.git Fix for PAL14092 : EDF PAL 337 : SMESH Display problem on VTK. --- 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);