From: jfa Date: Wed, 4 Sep 2013 14:12:19 +0000 (+0000) Subject: Mantis issue 0022310: EDF 2512 GEOM: Get tool groups trace with RestorGivenSubShapes X-Git-Tag: BR_hydro_v_0_3_1~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3474e51a9b65a5d7b8e1c9f498696934a9c6d03c;p=modules%2Fgeom.git Mantis issue 0022310: EDF 2512 GEOM: Get tool groups trace with RestorGivenSubShapes --- diff --git a/src/OperationGUI/OperationGUI_PartitionDlg.cxx b/src/OperationGUI/OperationGUI_PartitionDlg.cxx index 6907e1d52..b51d7b488 100644 --- a/src/OperationGUI/OperationGUI_PartitionDlg.cxx +++ b/src/OperationGUI/OperationGUI_PartitionDlg.cxx @@ -498,7 +498,7 @@ void OperationGUI_PartitionDlg::restoreSubShapes( SALOMEDS::Study_ptr theStudy // empty list of arguments means that all arguments should be restored getGeomEngine()->RestoreSubShapesSO( theStudy, theSObject, GEOM::ListOfGO(), /*theFindMethod=*/GEOM::FSM_GetInPlaceByHistory, - /*theInheritFirstArg=*/myListShapes.length() == 1, + /*theInheritFirstArg=*/myListShapes.length() == 1 && myListTools.length() == 0, mainFrame()->CheckBoxAddPrefix->isChecked() ); // ? false } }