diff --git a/src/RepairGUI/RepairGUI_GlueDlg.cxx b/src/RepairGUI/RepairGUI_GlueDlg.cxx index a7ca9028f..bc6e44921 100644 --- a/src/RepairGUI/RepairGUI_GlueDlg.cxx +++ b/src/RepairGUI/RepairGUI_GlueDlg.cxx @@ -463,6 +463,7 @@ bool RepairGUI_GlueDlg::execute( ObjectList& objects ) if ( selected.contains( tmpior.in() ) ) aListForGlue[ added++ ] = myTmpObjs[i].copy(); } + aListForGlue->length( added ); GEOM::GEOM_Object_var anObj = anOper->MakeGlueFacesByList( myObject, myTolEdt2->value(), aListForGlue.in(), true );