diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-bspline.cpp | 8 | ||||
| -rw-r--r-- | src/live_effects/lpe-bspline.h | 2 | ||||
| -rw-r--r-- | src/pen-context.cpp | 9 |
3 files changed, 1 insertions, 18 deletions
diff --git a/src/live_effects/lpe-bspline.cpp b/src/live_effects/lpe-bspline.cpp index a1f51de0b..b8e6094f6 100644 --- a/src/live_effects/lpe-bspline.cpp +++ b/src/live_effects/lpe-bspline.cpp @@ -29,13 +29,7 @@ LPEBSpline::LPEBSpline(LivePathEffectObject *lpeobject) : LPEBSpline::~LPEBSpline() { } -//Crea una nueva curva reseteando la original -SPCurve * -LPEBSpline::reverse_then_reset(SPCurve * orig){ - SPCurve *ret = orig->create_reverse(); - orig->reset(); - return ret; -} + void LPEBSpline::doEffect(SPCurve * curve) diff --git a/src/live_effects/lpe-bspline.h b/src/live_effects/lpe-bspline.h index 23ac495df..bb826eee8 100644 --- a/src/live_effects/lpe-bspline.h +++ b/src/live_effects/lpe-bspline.h @@ -20,8 +20,6 @@ public: virtual LPEPathFlashType pathFlashType() { return SUPPRESS_FLASH; } - virtual SPCurve *reverse_then_reset(SPCurve * orig); - virtual void doEffect(SPCurve * curve); private: diff --git a/src/pen-context.cpp b/src/pen-context.cpp index 3055f8504..9056003e0 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1472,15 +1472,6 @@ static void spdc_pen_set_angle_distance_status_message(SPPenContext *const pc, G } -//BSpline Set Functions -//Creates a new curve resetting the original -static SPCurve * reverse_then_reset(SPCurve *orig) -{ - SPCurve *ret = orig->create_reverse(); - orig->reset(); - return ret; -} - //Esta función cambia los colores rojo,verde y azul haciendolos transparentes o no en función de si se usa spiro static void spiro_color(SPPenContext *const pc) { |
