Skip to content
Snippets Groups Projects
Commit 5283a061 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

patch for OCC 6.5.3 from D. Barbier

parent 05fefa58
No related branches found
No related tags found
No related merge requests found
...@@ -424,7 +424,12 @@ GFace *getOCCFaceByNativePtr(GModel *model, TopoDS_Face toFind) ...@@ -424,7 +424,12 @@ GFace *getOCCFaceByNativePtr(GModel *model, TopoDS_Face toFind)
void OCCFace::replaceEdgesInternal(std::list<GEdge*> &new_edges) void OCCFace::replaceEdgesInternal(std::list<GEdge*> &new_edges)
{ {
#if defined(OCC_VERSION_HEX) && OCC_VERSION_HEX >= 0x060503
Handle(IntTools_Context) myContext = new IntTools_Context;
#else
IntTools_Context myContext; IntTools_Context myContext;
#endif
// we simply replace old edges by new edges in the structure // we simply replace old edges by new edges in the structure
// make a copy of s // make a copy of s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment