diff options
Diffstat (limited to 'src/tweak-context.cpp')
| -rw-r--r-- | src/tweak-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp index d2ec3d3c0..f76694f25 100644 --- a/src/tweak-context.cpp +++ b/src/tweak-context.cpp @@ -476,7 +476,7 @@ sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, NR::Poi if (newrepr) { newrepr->setAttribute("d", str); } else { - if (SP_IS_SHAPE(item) && SP_SHAPE(item)->path_effect_href) { + if (SP_IS_LPE_ITEM(item) && sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(item))) { SP_OBJECT_REPR(item)->setAttribute("inkscape:original-d", str); } else { SP_OBJECT_REPR(item)->setAttribute("d", str); |
