diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-06-27 06:34:35 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-06-27 06:34:35 +0000 |
| commit | f5315c60ff13f0ef337243245ce35f712b665adb (patch) | |
| tree | 17d39880fe07a58b3b7013fcea2f6356851734d1 /src/display/nr-arena-shape.cpp | |
| parent | (bzr r3144) (diff) | |
| download | inkscape-f5315c60ff13f0ef337243245ce35f712b665adb.tar.gz inkscape-f5315c60ff13f0ef337243245ce35f712b665adb.zip | |
use an accessor method to get filter from style
(bzr r3145)
Diffstat (limited to 'src/display/nr-arena-shape.cpp')
| -rw-r--r-- | src/display/nr-arena-shape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/nr-arena-shape.cpp b/src/display/nr-arena-shape.cpp index 0e7dd2798..a31363f9a 100644 --- a/src/display/nr-arena-shape.cpp +++ b/src/display/nr-arena-shape.cpp @@ -1360,12 +1360,12 @@ nr_arena_shape_set_style(NRArenaShape *shape, SPStyle *style) shape->setMitreLimit(style->stroke_miterlimit.value); //if shape has a filter - if (style->filter.set && style->filter.href->getObject()) { + if (style->filter.set && style->getFilter()) { if (!shape->filter) { - int primitives = sp_filter_primitive_count(style->filter.href->getObject()); + int primitives = sp_filter_primitive_count(SP_FILTER(style->getFilter())); shape->filter = new NR::Filter(primitives); } - sp_filter_build_renderer(style->filter.href->getObject(), shape->filter); + sp_filter_build_renderer(SP_FILTER(style->getFilter()), shape->filter); } else { //no filter set for this shape delete shape->filter; |
