]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020328: EDF 1017 GEOM : Translation with distance GUI Exception, correct in TUI
authordmv <dmv@opencascade.com>
Mon, 27 Apr 2009 11:17:27 +0000 (11:17 +0000)
committerdmv <dmv@opencascade.com>
Mon, 27 Apr 2009 11:17:27 +0000 (11:17 +0000)
src/TransformationGUI/TransformationGUI_TranslationDlg.cxx

index bdbd96a7c9bc2927809958b7cdbb9e64daf79830..40dde336cddf636c152e5c80b1f6ced102c3794f 100644 (file)
@@ -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());
           }