summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/parameter/point.cpp19
-rw-r--r--src/live_effects/parameter/point.h3
2 files changed, 0 insertions, 22 deletions
diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp
index 0a782d4ec..8b47b887f 100644
--- a/src/live_effects/parameter/point.cpp
+++ b/src/live_effects/parameter/point.cpp
@@ -119,25 +119,6 @@ PointParam::param_set_and_write_new_value (Geom::Point newpoint)
}
void
-PointParam::param_editOncanvas(SPItem * item, SPDesktop * dt)
-{
- // If not already in nodecontext, goto it!
- if (!tools_isactive(dt, TOOLS_NODES)) {
- tools_switch_current(TOOLS_NODES);
- }
-
- PointParamKnotHolder * kh = new PointParamKnotHolder(dt, SP_OBJECT(param_effect->getLPEObj()), param_key.c_str(), item);
- if (kh) {
- kh->add_knot(* dynamic_cast<Geom::Point *>( this ), NULL, knot_shape, knot_mode, knot_color, param_getTooltip()->c_str() );
-
- ShapeEditor * shape_editor = SP_NODE_CONTEXT( dt->event_context )->shape_editor;
- shape_editor->set_knotholder(kh);
- }
-}
-
-
-
-void
PointParam::param_transform_multiply(Geom::Matrix const& postmul, bool /*set*/)
{
param_set_and_write_new_value( (*this) * postmul );
diff --git a/src/live_effects/parameter/point.h b/src/live_effects/parameter/point.h
index 9718b232b..ca440c1fc 100644
--- a/src/live_effects/parameter/point.h
+++ b/src/live_effects/parameter/point.h
@@ -45,9 +45,6 @@ public:
void param_set_and_write_new_value(Geom::Point newpoint);
- // TODO: ditch this
- virtual void param_editOncanvas(SPItem * item, SPDesktop * dt);
-
virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/);
void set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color);