From: buliabyak Date: Thu, 3 Aug 2006 05:49:17 +0000 (+0000) Subject: prevent the race between ungrab and selModify to fix the disappearing handles problem... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=659cf0be953ca25bab6b82626b2a0e9832e48691;p=inkscape.git prevent the race between ungrab and selModify to fix the disappearing handles problem with interruptible display --- diff --git a/src/seltrans.cpp b/src/seltrans.cpp index 9a648e2ef..675cb672e 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -321,6 +321,8 @@ void Inkscape::SelTrans::transform(NR::Matrix const &rel_affine, NR::Point const void Inkscape::SelTrans::ungrab() { g_return_if_fail(_grabbed); + _grabbed = false; + _show_handles = true; Inkscape::Selection *selection = sp_desktop_selection(_desktop); bool updh = true; @@ -365,9 +367,6 @@ void Inkscape::SelTrans::ungrab() _items.clear(); _items_centers.clear(); - _grabbed = false; - _show_handles = true; - sp_canvas_item_hide(_norm); sp_canvas_item_hide(_grip);