]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Implementation of the following issues:
authorrnv <rnv@opencascade.com>
Fri, 22 Nov 2013 14:05:29 +0000 (14:05 +0000)
committerrnv <rnv@opencascade.com>
Fri, 22 Nov 2013 14:05:29 +0000 (14:05 +0000)
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

index e9961dbb0885353e6317be301b80153e261832b3..a499fe2aa0780ad1f6127320ebbf2a1cb2aaaa70 100755 (executable)
@@ -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 );