From: buliabyak Date: Mon, 10 Sep 2007 20:45:38 +0000 (+0000) Subject: add missed paint type assignment, fixes crash with no fill/no stroke on selected... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=19de1008cf114460bf3286f85759a7bc469ea092;p=inkscape.git add missed paint type assignment, fixes crash with no fill/no stroke on selected object --- diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index a68c99d65..b1dca7f17 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -515,7 +515,9 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill num ++; } - paintImpossible = false; + paintImpossible = false; + paint_res->colorSet = paint->colorSet; + paint_res->currentcolor = paint->currentcolor; if (paint_res->set && paint_effectively_set && paint->isPaintserver()) { // copy the server if (isfill) { sp_style_set_to_uri_string (style_res, true, style->getFillURI());