From: jfa Date: Thu, 19 Mar 2009 15:09:22 +0000 (+0000) Subject: Bug 0014167: EDF 204 : GEOM Keep the parameters of the object after a transformation... X-Git-Tag: V5_1_1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d7836ca4ea25a5689d952ec3d0d049b73f39a074;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 66ec085eb..2a25fa2ac 100644 --- a/src/BuildGUI/BuildGUI_CompoundDlg.cxx +++ b/src/BuildGUI/BuildGUI_CompoundDlg.cxx @@ -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 ); } }