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-19 15:09:22 +00:00
parent 9aaaddfbd1
commit d7836ca4ea

View File

@ -250,7 +250,7 @@ void BuildGUI_CompoundDlg::restoreSubShapes( SALOMEDS::Study_ptr theStudy,
if ( mainFrame()->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 );
}
}