From: dmv Date: Mon, 27 Apr 2009 11:17:27 +0000 (+0000) Subject: 0020328: EDF 1017 GEOM : Translation with distance GUI Exception, correct in TUI X-Git-Tag: V5_1_2rc1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=28c44d76853c6cacd2787ee3cd40276cbb78de91;p=modules%2Fgeom.git 0020328: EDF 1017 GEOM : Translation with distance GUI Exception, correct in TUI --- diff --git a/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx b/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx index bdbd96a7c..40dde336c 100644 --- a/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx @@ -632,7 +632,8 @@ bool TransformationGUI_TranslationDlg::execute (ObjectList& objects) if (!anObj->_is_nil()) { if(!IsPreview()) { anObj->SetParameters(GeometryGUI::JoinObjectParameters(aParameters)); - updateAttributes(anObj, aParameters); + if (!toCreateCopy) + updateAttributes(anObj, aParameters); } objects.push_back(anObj._retn()); }