Fix problem with 'Glue all coincident edges' option

This commit is contained in:
jfa 2011-12-28 10:50:01 +00:00
parent 21f352b21b
commit eaa8500465

View File

@ -493,7 +493,8 @@ bool RepairGUI_GlueDlg::execute(ObjectList& objects)
GEOM::GEOM_Object_var anObj; GEOM::GEOM_Object_var anObj;
if (myGlueMode == TopAbs_FACE) { if (myGlueMode == TopAbs_FACE) {
bool doGlueAllEdges = myGlueAllEdgesChk->isChecked(); bool doGlueAllEdges = myGlueAllEdgesChk->isChecked();
anObj = anOper->MakeGlueFacesByList(myObject, myTolEdt2->value(), aListForGlue.in(), true, false); anObj = anOper->MakeGlueFacesByList(myObject, myTolEdt2->value(), aListForGlue.in(),
true, doGlueAllEdges);
} }
else if (myGlueMode == TopAbs_EDGE) else if (myGlueMode == TopAbs_EDGE)
anObj = anOper->MakeGlueEdgesByList(myObject, myTolEdt2->value(), aListForGlue.in()); anObj = anOper->MakeGlueEdgesByList(myObject, myTolEdt2->value(), aListForGlue.in());