From: buliabyak Date: Sat, 8 Mar 2008 19:40:44 +0000 (+0000) Subject: fix 199791 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f8a1759f2dfef40e1957704258e79587952d1414;p=inkscape.git fix 199791 --- diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 62f5c57e2..2fdf04ca2 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2632,6 +2632,8 @@ sp_selection_tile(bool apply) Inkscape::XML::Node *dup = (SP_OBJECT_REPR (i->data))->duplicate(xml_doc); repr_copies = g_slist_prepend (repr_copies, dup); } + // restore the z-order after prepends + repr_copies = g_slist_reverse (repr_copies); NR::Rect bounds(desktop->dt2doc(r->min()), desktop->dt2doc(r->max()));