diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-27 22:15:27 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-27 22:15:27 +0000 |
| commit | 1963c876e1df4780d41252de325e8b19e0cedc3a (patch) | |
| tree | 0225d228c850bb8d9be7f7fb74bd9addfa1fcd9a /src/filter-chemistry.cpp | |
| parent | various changes (diff) | |
| parent | modify bbox width for Blur filter in Fill & Stroke (Bug 1171208) (diff) | |
| download | inkscape-1963c876e1df4780d41252de325e8b19e0cedc3a.tar.gz inkscape-1963c876e1df4780d41252de325e8b19e0cedc3a.zip | |
Merged from trunk (r12305)
(bzr r11608.1.106)
Diffstat (limited to 'src/filter-chemistry.cpp')
| -rw-r--r-- | src/filter-chemistry.cpp | 2 |
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 |
