+ use the Linux fix for Windows

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5041 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
jriegel 2011-10-19 17:57:56 +00:00
parent 32ee057a41
commit aebddf3fb4

View File

@ -200,12 +200,12 @@ void SoBrepFaceSet::GLRender(SoGLRenderAction *action)
SoGLCacheContextElement::shouldAutoCache(state, SoGLCacheContextElement::DONT_AUTO_CACHE); SoGLCacheContextElement::shouldAutoCache(state, SoGLCacheContextElement::DONT_AUTO_CACHE);
// Workaround for #0000433 // Workaround for #0000433
#if !defined(FC_OS_WIN32) //#if !defined(FC_OS_WIN32)
if (this->highlightIndex.getValue() >= 0) if (this->highlightIndex.getValue() >= 0)
renderHighlight(action); renderHighlight(action);
if (this->selectionIndex.getNum() > 0) if (this->selectionIndex.getNum() > 0)
renderSelection(action); renderSelection(action);
#endif //#endif
} }
void SoBrepFaceSet::GLRenderBelowPath(SoGLRenderAction * action) void SoBrepFaceSet::GLRenderBelowPath(SoGLRenderAction * action)
@ -626,12 +626,12 @@ void SoBrepEdgeSet::GLRender(SoGLRenderAction *action)
inherited::GLRender(action); inherited::GLRender(action);
// Workaround for #0000433 // Workaround for #0000433
#if !defined(FC_OS_WIN32) //#if !defined(FC_OS_WIN32)
if (this->highlightIndex.getValue() >= 0) if (this->highlightIndex.getValue() >= 0)
renderHighlight(action); renderHighlight(action);
if (this->selectionIndex.getNum() > 0) if (this->selectionIndex.getNum() > 0)
renderSelection(action); renderSelection(action);
#endif //#endif
} }
void SoBrepEdgeSet::GLRenderBelowPath(SoGLRenderAction * action) void SoBrepEdgeSet::GLRenderBelowPath(SoGLRenderAction * action)
@ -894,12 +894,12 @@ void SoBrepPointSet::GLRender(SoGLRenderAction *action)
inherited::GLRender(action); inherited::GLRender(action);
// Workaround for #0000433 // Workaround for #0000433
#if !defined(FC_OS_WIN32) //#if !defined(FC_OS_WIN32)
if (this->highlightIndex.getValue() >= 0) if (this->highlightIndex.getValue() >= 0)
renderHighlight(action); renderHighlight(action);
if (this->selectionIndex.getNum() > 0) if (this->selectionIndex.getNum() > 0)
renderSelection(action); renderSelection(action);
#endif //#endif
} }
void SoBrepPointSet::GLRenderBelowPath(SoGLRenderAction * action) void SoBrepPointSet::GLRenderBelowPath(SoGLRenderAction * action)