summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-09-10 20:45:38 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-09-10 20:45:38 +0000
commit531477e74c0f92dd3a08f1417d3fd7505e721dde (patch)
tree59a6b078d3610100863d62a2da092fd533c536dc /src
parentpreserve path effect (diff)
downloadinkscape-531477e74c0f92dd3a08f1417d3fd7505e721dde.tar.gz
inkscape-531477e74c0f92dd3a08f1417d3fd7505e721dde.zip
add missed paint type assignment, fixes crash with no fill/no stroke on selected object
(bzr r3715)
Diffstat (limited to 'src')
-rw-r--r--src/desktop-style.cpp4
1 files changed, 3 insertions, 1 deletions
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());