summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-05-17 10:44:41 +0900
committerHermet Park <hermetpark@gmail.com>2019-05-17 10:44:41 +0900
commit4e574867e81478301414a4c36698c07e61780eef (patch)
treef7205cab8230acd8df50a540ad06fecfe3255333 /src
parent8b21255bba87989100cbaac1a47c2f163017cfd9 (diff)
evas_vg_node: Move change flag value setting
Summary: _node_change function is only executed when the flag is none to prevent duplicate calls. If CHANGE_MATRIX_FLAG is added to the flag in advance, _node_change function does not operate normally. Test Plan: cd ./src/examples/evas gcc -o evas_vg_simple evas-vg-simple.c `pkg-config --libs --cflags evas ecore ecore-evas eina ector eo efl` -lm ./evas_vg_simple Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8895
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_node.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_node.c b/src/lib/evas/canvas/efl_canvas_vg_node.c
index 77e4eaffa8..895706c71a 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_node.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_node.c
@@ -60,8 +60,10 @@ _efl_canvas_vg_node_transformation_set(Eo *obj,
60 pd->m = NULL; 60 pd->m = NULL;
61 } 61 }
62 62
63 pd->flags |= EFL_GFX_CHANGE_FLAG_MATRIX; 63 /* NOTE: _node_change function is only executed
64 when pd->flags is EFL_GFX_CHANGE_FLAG_NONE to prevent duplicate calls.*/
64 _node_change(obj, pd); 65 _node_change(obj, pd);
66 pd->flags |= EFL_GFX_CHANGE_FLAG_MATRIX;
65} 67}
66 68
67const Eina_Matrix3 * 69const Eina_Matrix3 *