diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-09-23 20:22:43 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-09-23 20:22:43 +0000 |
| commit | d07f7a584ecfbb026421dc2d3b9b984a696409f2 (patch) | |
| tree | 3f0b170c0770c1273dc9017c3e97523a3305a6db /src/filters | |
| parent | Bumping new version of libdepixelize (diff) | |
| download | inkscape-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.cpp | 12 |
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) { } |
