Bug 0014167: EDF 204 : GEOM Keep the parameters of the object after a transformation. Do not use GetSame method, because it cannot find compounds.

This commit is contained in:
jfa 2009-03-23 13:15:55 +00:00
parent 32eee05034
commit 6cd2571678

View File

@ -242,7 +242,7 @@ void BuildGUI_CompoundDlg::restoreSubShapes (SALOMEDS::Study_ptr theStudy,
if (CheckBoxRestoreSS->isChecked()) {
// empty list of arguments means that all arguments should be restored
getGeomEngine()->RestoreSubShapesSO(theStudy, theSObject, GEOM::ListOfGO(),
/*theFindMethod=*/GEOM::FSM_GetSame, // ? GEOM::FSM_GetInPlace
/*theFindMethod=*/GEOM::FSM_GetInPlace, // ? GEOM::FSM_GetSame
/*theInheritFirstArg=*/false);
}
}