summaryrefslogtreecommitdiffstats
path: root/src/filters
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-09-23 20:22:43 +0000
committerMarkus Engel <markus.engel@tum.de>2013-09-23 20:22:43 +0000
commitd07f7a584ecfbb026421dc2d3b9b984a696409f2 (patch)
tree3f0b170c0770c1273dc9017c3e97523a3305a6db /src/filters
parentBumping new version of libdepixelize (diff)
downloadinkscape-d07f7a584ecfbb026421dc2d3b9b984a696409f2.tar.gz
inkscape-d07f7a584ecfbb026421dc2d3b9b984a696409f2.zip
Added missing registration of FeDistantLight; made sure warnings on missing types are always issued.
Fixed bugs: - https://launchpad.net/bugs/1229326 (bzr r12580)
Diffstat (limited to 'src/filters')
-rw-r--r--src/filters/distantlight.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/filters/distantlight.cpp b/src/filters/distantlight.cpp
index 8b6ef023b..bd8bd2797 100644
--- a/src/filters/distantlight.cpp
+++ b/src/filters/distantlight.cpp
@@ -29,6 +29,18 @@
#define SP_MACROS_SILENT
#include "macros.h"
+
+#include "sp-factory.h"
+
+namespace {
+ SPObject* createDistantLight() {
+ return new SPFeDistantLight();
+ }
+
+ bool distantLightRegistered = SPFactory::instance().registerObject("svg:feDistantLight", createDistantLight);
+}
+
+
SPFeDistantLight::SPFeDistantLight()
: SPObject(), azimuth(0), azimuth_set(FALSE), elevation(0), elevation_set(FALSE) {
}