diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-03-26 23:02:22 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-03-26 23:02:22 +0000 |
| commit | ad12fe58edef2a31780e89c65ea0675253862711 (patch) | |
| tree | 50149138494ab926a0da0bfd53e8a51a8487581d /src/selection-chemistry.cpp | |
| parent | sp_lpe_item_has_path_effect now returns false if one of the effects in the st... (diff) | |
| download | inkscape-ad12fe58edef2a31780e89c65ea0675253862711.tar.gz inkscape-ad12fe58edef2a31780e89c65ea0675253862711.zip | |
do not transform, display, reverse, node-edit, or remove LPE if LPE stack is disabled by an invalid or unsupported effect in it
(bzr r7567)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index f393f73f9..891e958a5 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -970,7 +970,8 @@ void sp_selection_paste_livepatheffect(SPDesktop *desktop) void sp_selection_remove_livepatheffect_impl(SPItem *item) { - if ( item && SP_IS_LPE_ITEM(item) ) { + if ( item && SP_IS_LPE_ITEM(item) && + sp_lpe_item_has_path_effect(SP_LPE_ITEM(item))) { sp_lpe_item_remove_all_path_effects(SP_LPE_ITEM(item), false); } } |
