From b5758e0f9c7e56293f405a4363a22a92ca91315f Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 22 Nov 2013 14:05:29 +0000 Subject: [PATCH] Implementation of the following issues: 1) 0022385: [CEA 975] The icon "Clipping" is missing in OCC view 2) 0021793: [CEA 625] Clipping : from coordinates or from bounding box 3) 0021792: [CEA 624] Keep the clipping --- src/GEOMBase/GEOMBase_Helper.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GEOMBase/GEOMBase_Helper.cxx b/src/GEOMBase/GEOMBase_Helper.cxx index e9961dbb0..a499fe2aa 100755 --- a/src/GEOMBase/GEOMBase_Helper.cxx +++ b/src/GEOMBase/GEOMBase_Helper.cxx @@ -341,6 +341,9 @@ void GEOMBase_Helper::displayPreview( GEOM::GEOM_Object_ptr object, SALOME_Prs* aPrs = getDisplayer()->BuildPrs( object ); if ( aPrs == 0 || aPrs->IsNull() ) return; + + // Make preview not clippable + aPrs->SetClippable (false); // Display prs displayPreview( aPrs, append, update ); -- 2.39.2