evas vg: fix current point compatibility issue. 30/256430/2
authorHermet Park <chuneon.park@samsung.com>
Fri, 2 Apr 2021 09:09:56 +0000 (18:09 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 2 Apr 2021 11:32:06 +0000 (11:32 +0000)
it's weird, have no idea why it's introduced there...

Change-Id: I96072d98183ee4d8b28558bc1923dd34d7bd0868

src/lib/evas/canvas/efl_canvas_vg_shape.c

index 1971487..1b91b12 100644 (file)
@@ -214,7 +214,6 @@ _append_quadratic(Evas_Vg_Shape *obj, double x, double y, double ctrl_x, double
    ctrl_y1 = (y + 2 * ctrl_y) * (1.0 / 3.0);
 
    evas_vg_shape_append_cubic_to(obj, x, y, ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1);
-   _assign_current_ctrl_point(sd, ctrl_x, ctrl_y);
    sd->cmd_prev = PATH_CMD_TYPE_BEZIER_QUADRATIC;
 }
 
@@ -251,7 +250,6 @@ _append_squadratic(Evas_Vg_Shape *obj, double x, double y)
    ctrl_y1 = (y + 2 * ctrl_y) * (1.0 / 3.0);
 
    evas_vg_shape_append_cubic_to(obj, x, y, ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1);
-   _assign_current_ctrl_point(sd, ctrl_x, ctrl_y);
    sd->cmd_prev = PATH_CMD_TYPE_BEZIER_QUADRATIC;
 }