diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index 7dbbfd5e80ead8b8ffa322e0cd78ab7f4c950bca..4f5ab982edaf33d1aa68a2cb8e5fbf2b4754b456 100644 (file)
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
SPStyle *style = SP_OBJECT_STYLE (obj);
if (!style) continue;
SPStyle *style = SP_OBJECT_STYLE (obj);
if (!style) continue;
+ NR::Matrix i2d = sp_item_i2d_affine (SP_ITEM(obj));
+
items ++;
//if object has a filter
items ++;
//if object has a filter
if(SP_IS_GAUSSIANBLUR(primitive)) {
SPGaussianBlur * spblur = SP_GAUSSIANBLUR(primitive);
float num = spblur->stdDeviation.getNumber();
if(SP_IS_GAUSSIANBLUR(primitive)) {
SPGaussianBlur * spblur = SP_GAUSSIANBLUR(primitive);
float num = spblur->stdDeviation.getNumber();
- blur_sum += num;
- if (blur_prev != -1 && num != blur_prev)
+ blur_sum += num * NR::expansion(i2d);
+ if (blur_prev != -1 && fabs (num - blur_prev) > 1e-2) // rather low tolerance because difference in blur radii is much harder to notice than e.g. difference in sizes
same_blur = false;
blur_prev = num;
//TODO: deal with opt number, for the moment it's not necessary to the ui.
same_blur = false;
blur_prev = num;
//TODO: deal with opt number, for the moment it's not necessary to the ui.