summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/point.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-16 20:16:49 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-16 20:16:49 +0000
commit657ba3e80cc20f664bd9547dff60d8e7e793eccc (patch)
treeb56dd1402f720e6f302c5e1af9047a78966426ad /src/live_effects/parameter/point.cpp
parentfix #1418595: win32, wix, allow upgrade, no downgrade (diff)
downloadinkscape-657ba3e80cc20f664bd9547dff60d8e7e793eccc.tar.gz
inkscape-657ba3e80cc20f664bd9547dff60d8e7e793eccc.zip
Fix a bug when update pointparaneter and no Knot
(bzr r14008)
Diffstat (limited to 'src/live_effects/parameter/point.cpp')
-rw-r--r--src/live_effects/parameter/point.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp
index 4564363db..4c4d2cd9c 100644
--- a/src/live_effects/parameter/point.cpp
+++ b/src/live_effects/parameter/point.cpp
@@ -141,7 +141,7 @@ PointParam::set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint
class PointParamKnotHolderEntity : public KnotHolderEntity {
public:
PointParamKnotHolderEntity(PointParam *p) { this->pparam = p; }
- virtual ~PointParamKnotHolderEntity() {}
+ virtual ~PointParamKnotHolderEntity() { this->pparam->knoth = NULL;}
virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state);
virtual Geom::Point knot_get() const;