summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2013-09-18 19:16:05 +0000
committerMartin Owens <doctormo@gmail.com>2013-09-18 19:16:05 +0000
commit5101aec2f8093348634b8f636c3aa8bf4a622eb7 (patch)
tree67736e7dbf1849d05cb270fbe138519d4f526525 /src/style.cpp
parentMerge in David Mathog (mathog) patch for bug #1224486 (diff)
downloadinkscape-5101aec2f8093348634b8f636c3aa8bf4a622eb7.tar.gz
inkscape-5101aec2f8093348634b8f636c3aa8bf4a622eb7.zip
Merge in patch for Jabiertxo Arraiza Cenoz in bug lp:1127103
Fixed bugs: - https://launchpad.net/bugs/1127103 (bzr r12530)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index db05a748f..e9cf22891 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -3170,7 +3170,10 @@ sp_style_clear(SPStyle *style)
style->color_interpolation.value = style->color_interpolation.computed = SP_CSS_COLOR_INTERPOLATION_SRGB;
style->color_interpolation_filters.set = FALSE;
style->color_interpolation_filters.inherit = FALSE;
- style->color_interpolation_filters.value = style->color_interpolation_filters.computed = SP_CSS_COLOR_INTERPOLATION_LINEARRGB;
+ style->color_interpolation_filters.value = style->color_interpolation_filters.computed = SP_CSS_COLOR_INTERPOLATION_SRGB;
+ //this line changed because rendering issues: Bug lp:1127103
+ //style->color_interpolation_filters.value = style->color_interpolation_filters.computed = SP_CSS_COLOR_INTERPOLATION_LINEARRGB;
+
style->fill.clear();
style->fill.setColor(0.0, 0.0, 0.0);