Salome HOME
Fix for PAL14092 : EDF PAL 337 : SMESH Display problem on VTK.
authormkr <mkr@opencascade.com>
Mon, 4 Dec 2006 13:01:51 +0000 (13:01 +0000)
committermkr <mkr@opencascade.com>
Mon, 4 Dec 2006 13:01:51 +0000 (13:01 +0000)
src/SMESHGUI/SMESHGUI_VTKUtils.cxx

index 4e5c883c1865644085f1591b9ab5b52fddb7bd2a..16eecc6966c619b774b44d4767a6d63af6624940 100644 (file)
@@ -336,6 +336,7 @@ namespace SMESH{
            case eDisplay:
            case eDisplayOnly:
              anActor->SetVisibility(true);
+             if (theAction == eDisplayOnly) aRenderer->ResetCameraClippingRange();
              break;
            case eErase:
              anActor->SetVisibility(false);