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/draw-context.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/draw-context.cpp') diff --git a/src/draw-context.cpp b/src/draw-context.cpp index 13ba9f828..adcbc3b3c 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -528,9 +528,7 @@ spdc_flush_white(SPDrawContext *dc, SPCurve *gc) Inkscape::XML::Node *repr; if (dc->white_item) { repr = SP_OBJECT_REPR(dc->white_item); - LivePathEffectObject *lpeobj = sp_shape_get_livepatheffectobject(SP_SHAPE(dc->white_item)); - if (lpeobj) - has_lpe = true; + has_lpe = sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(dc->white_item)); } else { repr = xml_doc->createElement("svg:path"); /* Set style */ -- cgit v1.2.3