From 6ba273d25f2e2e2697d502eb9b56c10da96d7c1e Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 28 Mar 2008 19:13:14 +0000 Subject: - Created a SPLPEItem class that handles applying a LPE to an Item - LPEs can now be applied to groups - Updated the bend path to work properly with groups (bzr r5219) --- src/tweak-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tweak-context.cpp') 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); -- cgit v1.2.3