From e65551ff4a5356b86a973bcbe4ef973bdf09525c Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Mon, 23 Apr 2018 00:09:01 +0200 Subject: Fix warings on updates --- src/object/sp-item-group.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/object/sp-item-group.cpp') diff --git a/src/object/sp-item-group.cpp b/src/object/sp-item-group.cpp index 3d89a524d..602c4558c 100644 --- a/src/object/sp-item-group.cpp +++ b/src/object/sp-item-group.cpp @@ -970,9 +970,9 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *top_group, Inkscape::LivePa // only run LPEs when the shape has a curve defined if (c) { lpe->pathvector_before_effect = c->get_pathvector(); - c->transform(i2anc_affine(sub_item, top_group)); + c->transform(i2anc_affine(sub_shape, top_group)); success = top_group->performOnePathEffect(c, sub_shape, lpe); - c->transform(i2anc_affine(sub_item, top_group).inverse()); + c->transform(i2anc_affine(sub_shape, top_group).inverse()); Inkscape::XML::Node *repr = sub_item->getRepr(); if (c && success) { sub_shape->setCurveInsync(c); -- cgit v1.2.3