-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//=================================================================================
GEOM::GEOM_IOperations_ptr OperationGUI_TransferDataDlg::createOperation()
{
- return getGeomEngine()->GetIInsertOperations(getStudyId());
+ return getGeomEngine()->GetIInsertOperations();
}
//=================================================================================
QList<GEOM::GeomObjPtr> OperationGUI_TransferDataDlg::getSourceObjects()
{
QList<GEOM::GeomObjPtr> res;
- res << myObject1 << myObject2;
+ res << myObject1;
return res;
}