From: jfa Date: Tue, 21 Apr 2009 13:33:41 +0000 (+0000) Subject: Bug 0020228: [CEA 331] the geompy.RemoveExtraEdges crash with the attached brep shape... X-Git-Tag: V5_1_2rc1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=df9e2eabdbee09dace0e7feb8baf3658956efd36;p=modules%2Fgeom.git Bug 0020228: [CEA 331] the geompy.RemoveExtraEdges crash with the attached brep shape file. Correct python dump. --- diff --git a/src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx b/src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx index b16bb8b79..0a2c4d6e0 100644 --- a/src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx @@ -2351,7 +2351,8 @@ Handle(GEOM_Object) GEOMImpl_IBlocksOperations::RemoveExtraEdges //Make a Python command GEOM::TPythonDump(aFunction) << aCopy - << " = geompy.RemoveExtraEdges(" << theObject << ")"; + << " = geompy.RemoveExtraEdges(" << theObject + << ", " << theOptimumNbFaces << ")"; SetErrorCode(OK); return aCopy;