From 6cd2571678ce84fea23e41ff7c4213b1fb41387e Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 23 Mar 2009 13:15:55 +0000 Subject: [PATCH] Bug 0014167: EDF 204 : GEOM Keep the parameters of the object after a transformation. Do not use GetSame method, because it cannot find compounds. --- src/BuildGUI/BuildGUI_CompoundDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.2