projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
[occt.git]
/
src
/
OpenGl
/
OpenGl_Structure.cxx
diff --git
a/src/OpenGl/OpenGl_Structure.cxx
b/src/OpenGl/OpenGl_Structure.cxx
index
bfb9938
..
60b5aec
100644
(file)
--- a/
src/OpenGl/OpenGl_Structure.cxx
+++ b/
src/OpenGl/OpenGl_Structure.cxx
@@
-605,7
+605,7
@@
void OpenGl_Structure::Render (const Handle(OpenGl_Workspace) &theWorkspace) con
for (OpenGl_ClippingIterator aPlaneIt (aCtx->Clipping()); aPlaneIt.More(); aPlaneIt.Next())
{
const Handle(Graphic3d_ClipPlane)& aPlane = aPlaneIt.Value();
- if (!aPlane->IsOn())
+ if (aPlaneIt.IsDisabled())
{
continue;
}