diff options
| author | Hugo Rodrigues <me@hugorodrigues.com> | 2006-08-20 12:13:40 +0000 |
|---|---|---|
| committer | haa_rodrigues <haa_rodrigues@users.sourceforge.net> | 2006-08-20 12:13:40 +0000 |
| commit | 761462bc771e916bc71dd9b116c9227b495fe7a9 (patch) | |
| tree | ffcb8b9114e6fe1bb7db577dd611a2aa51f3985b /src/display/nr-arena-shape.cpp | |
| parent | Last tweaks for now (diff) | |
| download | inkscape-761462bc771e916bc71dd9b116c9227b495fe7a9.tar.gz inkscape-761462bc771e916bc71dd9b116c9227b495fe7a9.zip | |
Object groups can be blurred. Blur slider updates when selection changes. Comments added/fixed.
(bzr r1622)
Diffstat (limited to '')
| -rw-r--r-- | src/display/nr-arena-shape.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/display/nr-arena-shape.cpp b/src/display/nr-arena-shape.cpp index f9c203187..2f278b3de 100644 --- a/src/display/nr-arena-shape.cpp +++ b/src/display/nr-arena-shape.cpp @@ -1089,9 +1089,8 @@ nr_arena_shape_set_style(NRArenaShape *shape, SPStyle *style) } shape->setMitreLimit(style->stroke_miterlimit.value); - /* TODO: after SPStyle handles filters, get the correct filter - * from there. */ - if (style->filter.set && style->filter.filter) + //if shape has a filter + if (style->filter.set && style->filter.filter) { shape->filter = new NR::Filter(); shape->filter->set_x(style->filter.filter->x); @@ -1120,6 +1119,11 @@ nr_arena_shape_set_style(NRArenaShape *shape, SPStyle *style) } } } + else + { + //no filter set for this shape + shape->filter = NULL; + } nr_arena_item_request_update(shape, NR_ARENA_ITEM_STATE_ALL, FALSE); } |
