0020328: EDF 1017 GEOM : Translation with distance GUI Exception, correct in TUI

This commit is contained in:
dmv 2009-04-27 11:17:27 +00:00
parent 626001f8d0
commit 28c44d7685

View File

@ -632,7 +632,8 @@ bool TransformationGUI_TranslationDlg::execute (ObjectList& objects)
if (!anObj->_is_nil()) { if (!anObj->_is_nil()) {
if(!IsPreview()) { if(!IsPreview()) {
anObj->SetParameters(GeometryGUI::JoinObjectParameters(aParameters)); anObj->SetParameters(GeometryGUI::JoinObjectParameters(aParameters));
updateAttributes(anObj, aParameters); if (!toCreateCopy)
updateAttributes(anObj, aParameters);
} }
objects.push_back(anObj._retn()); objects.push_back(anObj._retn());
} }