From: buliabyak Date: Tue, 18 Aug 2009 21:57:49 +0000 (+0000) Subject: fix for 415168 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=183f55e315abe617940e3b8c3d741a9ad5f55b52;p=inkscape.git fix for 415168 --- diff --git a/src/seltrans.cpp b/src/seltrans.cpp index 359038527..1087ec7b5 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -525,10 +525,10 @@ void Inkscape::SelTrans::ungrab() if (_current_relative_affine.isTranslation()) { sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT, _("Move")); - } else if (_current_relative_affine.isScale()) { + } else if (_current_relative_affine.without_translation().isScale()) { sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT, _("Scale")); - } else if (_current_relative_affine.isRotation()) { + } else if (_current_relative_affine.without_translation().isRotation()) { sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT, _("Rotate")); } else {