summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.cpp
diff options
context:
space:
mode:
authorBastien Bouclet <bastien.bouclet@gmail.com>2008-03-28 19:13:14 +0000
committerbgk <bgk@users.sourceforge.net>2008-03-28 19:13:14 +0000
commit6ba273d25f2e2e2697d502eb9b56c10da96d7c1e (patch)
tree33a74ec0fae6b19d0948ce84a49c350767c8be7d /src/tweak-context.cpp
parentnr_matrix_inverse is no more, removed test from nr-matrix-test (diff)
downloadinkscape-6ba273d25f2e2e2697d502eb9b56c10da96d7c1e.tar.gz
inkscape-6ba273d25f2e2e2697d502eb9b56c10da96d7c1e.zip
- 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)
Diffstat (limited to 'src/tweak-context.cpp')
-rw-r--r--src/tweak-context.cpp2
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);