Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb2566
)
Implementation of the following issues:
author
rnv
<rnv@opencascade.com>
Fri, 22 Nov 2013 14:05:29 +0000
(14:05 +0000)
committer
rnv
<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
patch
|
blob
|
history
diff --git
a/src/GEOMBase/GEOMBase_Helper.cxx
b/src/GEOMBase/GEOMBase_Helper.cxx
index e9961dbb0885353e6317be301b80153e261832b3..a499fe2aa0780ad1f6127320ebbf2a1cb2aaaa70 100755
(executable)
--- 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 );