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=43ca9fbd10b479af1d619ba506e4aeddb0eea2a9;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: