]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix INT PAL 54352: Camera clipping range is not reset at Show and Show Only. akl/IPAL54352
authorakl <akl@opencascade.com>
Wed, 1 Nov 2017 14:28:06 +0000 (17:28 +0300)
committerakl <akl@opencascade.com>
Wed, 1 Nov 2017 14:28:06 +0000 (17:28 +0300)
src/SMESHGUI/SMESHGUI_VTKUtils.cxx

index 5c5bbab522936705450cfde8bf5554ba1045539b..e3d685a4123282a8076f9abbcdc1f8eb0671dd55 100644 (file)
@@ -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: