From: rnv Date: Fri, 22 Nov 2013 14:05:29 +0000 (+0000) Subject: Implementation of the following issues: X-Git-Tag: V7_3_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b5758e0f9c7e56293f405a4363a22a92ca91315f;p=modules%2Fgeom.git 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 --- 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 );