diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index d4ce30e11b75bea6b4150105e52080253fb00233..77fcb4823b30d557cb9d1ea583b51cc3f4a62561 100644 (file)
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -408,7 +408,7 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill
num ++;
}
- if (paint_res->set && paint->set && paint->type == SP_PAINT_TYPE_PAINTSERVER) { // copy the server
+ if (paint_res->set && paint_effectively_set && paint->type == SP_PAINT_TYPE_PAINTSERVER) { // copy the server
if (isfill) {
SP_STYLE_FILL_SERVER (style_res) = SP_STYLE_FILL_SERVER (style);
} else {