From f8a1759f2dfef40e1957704258e79587952d1414 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sat, 8 Mar 2008 19:40:44 +0000 Subject: [PATCH] fix 199791 --- src/selection-chemistry.cpp | 2 ++ 1 file changed, 2 insertions(+) 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())); -- 2.30.2