From 28c44d76853c6cacd2787ee3cd40276cbb78de91 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 27 Apr 2009 11:17:27 +0000 Subject: [PATCH] 0020328: EDF 1017 GEOM : Translation with distance GUI Exception, correct in TUI --- src/TransformationGUI/TransformationGUI_TranslationDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } -- 2.39.2