From: akl Date: Wed, 1 Nov 2017 14:28:06 +0000 (+0300) Subject: Fix INT PAL 54352: Camera clipping range is not reset at Show and Show Only. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fakl%2FIPAL54352;p=modules%2Fsmesh.git Fix INT PAL 54352: Camera clipping range is not reset at Show and Show Only. --- diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index 5c5bbab52..e3d685a41 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -736,7 +736,7 @@ namespace SMESH //MESSAGE("--- display " << anActor); anActor->Update(); anActor->SetVisibility(true); - if (theAction == eDisplayOnly) aRenderer->ResetCameraClippingRange(); + aRenderer->ResetCameraClippingRange(); aStudy->setVisibilityState(theEntry, Qtx::ShownState); break; case eErase: