From df9e2eabdbee09dace0e7feb8baf3658956efd36 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 21 Apr 2009 13:33:41 +0000 Subject: [PATCH] Bug 0020228: [CEA 331] the geompy.RemoveExtraEdges crash with the attached brep shape file. Correct python dump. --- src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2