+ Fix compiler warnings with OCC 6.6

This commit is contained in:
wmayer
2013-12-05 23:06:13 +01:00
parent 69a4bbc46a
commit 583a830b92
9 changed files with 52 additions and 33 deletions

View File

@@ -122,7 +122,7 @@ PyObject* TopoShapeCompoundPy::connectEdgesToWires(PyObject *args)
for (TopExp_Explorer xp(s, TopAbs_EDGE); xp.More(); xp.Next())
hEdges->Append(xp.Current());
ShapeAnalysis_FreeBounds::ConnectEdgesToWires(hEdges, tol, PyObject_IsTrue(shared), hWires);
ShapeAnalysis_FreeBounds::ConnectEdgesToWires(hEdges, tol, PyObject_IsTrue(shared) ? Standard_True : Standard_False, hWires);
TopoDS_Compound comp;
BRep_Builder builder;