From 183f55e315abe617940e3b8c3d741a9ad5f55b52 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 18 Aug 2009 21:57:49 +0000 Subject: [PATCH] fix for 415168 --- src/seltrans.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.30.2