diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-15 17:29:41 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-15 17:29:41 +0000 |
| commit | a5333b6abc807176319c96d66cb7111e70f4896f (patch) | |
| tree | 5d835204a110f9fa328e96919078edf83af69784 /src/knotholder.cpp | |
| parent | Six a bug on subpaths pointed by suv (diff) | |
| download | inkscape-a5333b6abc807176319c96d66cb7111e70f4896f.tar.gz inkscape-a5333b6abc807176319c96d66cb7111e70f4896f.zip | |
ignore this commit
(bzr r13682.1.9)
Diffstat (limited to 'src/knotholder.cpp')
| -rw-r--r-- | src/knotholder.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp index f46daa09e..28f6f5748 100644 --- a/src/knotholder.cpp +++ b/src/knotholder.cpp @@ -69,6 +69,12 @@ KnotHolder::KnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFun } KnotHolder::~KnotHolder() { + if(SP_IS_LPE_ITEM(item)){ + Inkscape::LivePathEffect::Effect *effect = SP_LPE_ITEM(item)->getCurrentLPE(); + if(effect){ + effect->removeHandles(); + } + } sp_object_unref(item); for (std::list<KnotHolderEntity *>::iterator i = entity.begin(); i != entity.end(); ++i) |
