diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-06-27 16:28:46 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-06-27 16:28:46 +0000 |
| commit | 6829ce76e2ab77859c1a5fdacbb2fa71109d65b0 (patch) | |
| tree | f25b1a6a9fe6bedcceb1866ca3e81be6bd9bb2b0 /src/sp-lpe-item.cpp | |
| parent | Extensions. Fix for Bug #1332461 (Datamatrix 22x22 is always incorrect). (diff) | |
| download | inkscape-6829ce76e2ab77859c1a5fdacbb2fa71109d65b0.tar.gz inkscape-6829ce76e2ab77859c1a5fdacbb2fa71109d65b0.zip | |
Remove the incorrect fix for the bug 1241902
(bzr r13441)
Diffstat (limited to 'src/sp-lpe-item.cpp')
| -rw-r--r-- | src/sp-lpe-item.cpp | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index a5d70d573..321d2fc42 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -340,22 +340,6 @@ static void sp_lpe_item_create_original_path_recursive(SPLPEItem *lpeitem) { g_return_if_fail(lpeitem != NULL); - SPMask * mask = lpeitem->mask_ref->getObject(); - - if (mask) - { - if (SPLPEItem* maskChild = dynamic_cast<SPLPEItem*>(mask->firstChild())) { - sp_lpe_item_create_original_path_recursive(maskChild); - } - } - - SPClipPath * clipPath = lpeitem->clip_ref->getObject(); - if (clipPath) - { - if (SPLPEItem* clipChild = dynamic_cast<SPLPEItem*>(clipPath->firstChild())) { - sp_lpe_item_create_original_path_recursive(clipChild); - } - } if (SP_IS_GROUP(lpeitem)) { GSList const *item_list = sp_item_group_item_list(SP_GROUP(lpeitem)); @@ -378,22 +362,6 @@ static void sp_lpe_item_cleanup_original_path_recursive(SPLPEItem *lpeitem) { g_return_if_fail(lpeitem != NULL); - SPMask * mask = lpeitem->mask_ref->getObject(); - - if (mask) - { - if (SPLPEItem* maskChild = dynamic_cast<SPLPEItem*>(mask->firstChild())) { - sp_lpe_item_cleanup_original_path_recursive(maskChild); - } - } - - SPClipPath * clipPath = lpeitem->clip_ref->getObject(); - if (clipPath) - { - if (SPLPEItem* clipChild = dynamic_cast<SPLPEItem*>(clipPath->firstChild())) { - sp_lpe_item_cleanup_original_path_recursive(clipChild); - } - } if (SP_IS_GROUP(lpeitem)) { GSList const *item_list = sp_item_group_item_list(SP_GROUP(lpeitem)); @@ -640,6 +608,9 @@ bool SPLPEItem::hasPathEffectRecursive() const } } +//The next 3 functions are because the revert of the bug 1241902 +//for the moment not used + void sp_lpe_item_apply_to_clippath(SPItem * item) { |
