summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5065605)
raw | patch | inline | side by side (parent: 5065605)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 27 Sep 2006 23:48:24 +0000 (23:48 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 27 Sep 2006 23:48:24 +0000 (23:48 +0000) |
src/seltrans.cpp | patch | blob | history |
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index b9c8d8bf035052fa06a0924e9508ae7bc1e0fe31..963c31d5b39229bbe32fb9ba3f2bc7586bfd682b 100644 (file)
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
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);
if (updh) {
_updateHandles();
}
+
+ _items.clear();
+ _items_centers.clear();
}
/* fixme: This is really bad, as we compare positions for each stamp (Lauris) */