summaryrefslogtreecommitdiffstats
path: root/src/dialogs/object-properties.cpp
diff options
context:
space:
mode:
authorNiko Kiirala <niko@kiirala.com>2006-08-25 18:40:13 +0000
committerkiirala <kiirala@users.sourceforge.net>2006-08-25 18:40:13 +0000
commitc83dcd121dbad2e5c013988b11010fa8bd5c09f4 (patch)
tree12a487108e04bf96e1c958cff7d2a7c5cb7f693a /src/dialogs/object-properties.cpp
parentpeeled back the gboolean code as it hit on some complexity theory principles... (diff)
downloadinkscape-c83dcd121dbad2e5c013988b11010fa8bd5c09f4.tar.gz
inkscape-c83dcd121dbad2e5c013988b11010fa8bd5c09f4.zip
Fixed a crash in modifying filter parameters in XML editor.
Fixed filters not appearing, when a file with filters is loaded. (bzr r1638)
Diffstat (limited to 'src/dialogs/object-properties.cpp')
-rw-r--r--src/dialogs/object-properties.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dialogs/object-properties.cpp b/src/dialogs/object-properties.cpp
index a4dd49aeb..20efc8408 100644
--- a/src/dialogs/object-properties.cpp
+++ b/src/dialogs/object-properties.cpp
@@ -14,7 +14,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
//uncomment to display blur slider
-//#define WITH_BLUR
+#define WITH_BLUR
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -416,8 +416,6 @@ sp_fillstroke_get_new_filter(SPDocument *document, gdouble stdDeviation)
// get corresponding object
SPFilter *f = SP_FILTER( document->getObjectByRepr(repr) );
SPGaussianBlur *b = SP_GAUSSIANBLUR( document->getObjectByRepr(b_repr) );
- //add blur primitive to SPFilter object
- add_primitive(f, b); //TODO: this should be triggered in SPFilter.cpp, when a child is added, not here...
g_assert(f != NULL);
g_assert(SP_IS_FILTER(f));