summaryrefslogtreecommitdiffstats
path: root/src/filter-chemistry.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-04-26 19:47:00 +0000
committerapenner <penner@vaxxine.com>2013-04-26 19:47:00 +0000
commit88ae1527b622cac522d93203f2b24d26b36606da (patch)
tree82055a64ccd22508d14f86d9dafca024508049c7 /src/filter-chemistry.cpp
parenttranslation typo (diff)
downloadinkscape-88ae1527b622cac522d93203f2b24d26b36606da.tar.gz
inkscape-88ae1527b622cac522d93203f2b24d26b36606da.zip
modify bbox width for Blur filter in Fill & Stroke (Bug 1171208)
Fixed bugs: - https://launchpad.net/bugs/1171208 (bzr r12305)
Diffstat (limited to 'src/filter-chemistry.cpp')
-rw-r--r--src/filter-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp
index 14bd00057..be030e12f 100644
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
@@ -70,7 +70,7 @@ static void set_filter_area(Inkscape::XML::Node *repr, gdouble radius,
double rx = radius * (expansionY != 0 ? (expansion / expansionY) : 1);
double ry = radius * (expansionX != 0 ? (expansion / expansionX) : 1);
- if (width != 0 && height != 0 && (2.4 * rx > width * 0.1 || 2.4 * ry > height * 0.1)) {
+ if (width != 0 && height != 0) {
// If not within the default 10% margin (see
// http://www.w3.org/TR/SVG11/filters.html#FilterEffectsRegion), specify margins
// The 2.4 is an empirical coefficient: at that distance the cutoff is practically invisible