Code

workaround for 1466515: transforming items in the mask causes their gradients to...
authorbuliabyak <buliabyak@users.sourceforge.net>
Tue, 30 May 2006 21:13:04 +0000 (21:13 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Tue, 30 May 2006 21:13:04 +0000 (21:13 +0000)
src/sp-mask.cpp

index 55b6782939a6465124d6bebbe9ba70f2c65cd04e..6ad8a487121ca02a9b0edec5506593795a51a0c6 100644 (file)
@@ -290,6 +290,8 @@ sp_mask_create (GSList *reprs, SPDocument *document, NR::Matrix const* applyTran
             sp_item_write_transform(item, SP_OBJECT_REPR(item), transform);
         }
     }
+
+    defsrepr->changeOrder(repr, defsrepr->lastChild()); // workaround for bug 989084
     
     Inkscape::GC::release(repr);
     return mask_id;