From: jfa Date: Mon, 23 Mar 2009 13:15:55 +0000 (+0000) Subject: Bug 0014167: EDF 204 : GEOM Keep the parameters of the object after a transformation... X-Git-Tag: V4_1_5rc1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6cd2571678ce84fea23e41ff7c4213b1fb41387e;p=modules%2Fgeom.git Bug 0014167: EDF 204 : GEOM Keep the parameters of the object after a transformation. Do not use GetSame method, because it cannot find compounds. --- diff --git a/src/BuildGUI/BuildGUI_CompoundDlg.cxx b/src/BuildGUI/BuildGUI_CompoundDlg.cxx index 56055574c..15c3575d9 100644 --- a/src/BuildGUI/BuildGUI_CompoundDlg.cxx +++ b/src/BuildGUI/BuildGUI_CompoundDlg.cxx @@ -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); } }