From 676aeb219eed96f8aecaae0fa83238d899b286c9 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 27 Sep 2006 23:48:24 +0000 Subject: [PATCH] fix bug in my previous commit: updating rotation centers was broken --- src/seltrans.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/seltrans.cpp b/src/seltrans.cpp index b9c8d8bf0..963c31d5b 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -332,8 +332,6 @@ void Inkscape::SelTrans::ungrab() for (unsigned i = 0; i < _items.size(); i++) { sp_object_unref(SP_OBJECT(_items[i].first), NULL); } - _items.clear(); - _items_centers.clear(); sp_canvas_item_hide(_norm); sp_canvas_item_hide(_grip); @@ -389,6 +387,9 @@ void Inkscape::SelTrans::ungrab() if (updh) { _updateHandles(); } + + _items.clear(); + _items_centers.clear(); } /* fixme: This is really bad, as we compare positions for each stamp (Lauris) */ -- 2.30.2