Salome HOME
0022745: [EDF] Improvement of Sewing operation
[modules/geom.git] / src / RepairGUI / RepairGUI_RemoveHolesDlg.cxx
index 6206da990e50ca9d0c85d74452f42449aad6e1f6..56b5aa004710340279b3af763a8d647ee64c954e 100644 (file)
@@ -330,8 +330,11 @@ bool RepairGUI_RemoveHolesDlg::execute (ObjectList& objects)
     // highlight them (add to objects), display message dialog
     GEOM::ListOfGO_var aClosed, anOpen;
 
+    GEOM::ListOfGO_var objList = new GEOM::ListOfGO;
+    objList->length(1);
+    objList[0] = myObject;
     GEOM::GEOM_IHealingOperations_var anOper = GEOM::GEOM_IHealingOperations::_narrow(getOperation());
-    aResult = anOper->GetFreeBoundary(myObject, aClosed, anOpen);
+    aResult = anOper->GetFreeBoundary(objList, aClosed, anOpen);
 
     if (aResult) {
       myClosed = aClosed->length();