summaryrefslogtreecommitdiffstats
path: root/src/sp-feoffset.cpp
diff options
context:
space:
mode:
authorNiko Kiirala <niko@kiirala.com>2007-06-23 15:35:28 +0000
committerkiirala <kiirala@users.sourceforge.net>2007-06-23 15:35:28 +0000
commitbb9d08a3e32859491a125d8567f387a702795267 (patch)
tree3322ec862746beee7119d8e44e2e47185ae80916 /src/sp-feoffset.cpp
parentAdded polar coordinates. (diff)
downloadinkscape-bb9d08a3e32859491a125d8567f387a702795267.tar.gz
inkscape-bb9d08a3e32859491a125d8567f387a702795267.zip
Using the blur slider no longer destroys filters already applied to the object
(bzr r3086)
Diffstat (limited to 'src/sp-feoffset.cpp')
-rw-r--r--src/sp-feoffset.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/sp-feoffset.cpp b/src/sp-feoffset.cpp
index 298d3e495..b4a50679e 100644
--- a/src/sp-feoffset.cpp
+++ b/src/sp-feoffset.cpp
@@ -154,11 +154,9 @@ sp_feOffset_set(SPObject *object, unsigned int key, gchar const *value)
static void
sp_feOffset_update(SPObject *object, SPCtx *ctx, guint flags)
{
- if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG |
- SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
-
- /* do something to trigger redisplay, updates? */
-
+ if (flags & SP_OBJECT_MODIFIED_FLAG) {
+ sp_object_read_attr(object, "dx");
+ sp_object_read_attr(object, "dy");
}
if (((SPObjectClass *) feOffset_parent_class)->update) {