forked from enlightenment/efl
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
This commit is contained in:
parent
8b21255bba
commit
4e574867e8
|
@ -60,8 +60,10 @@ _efl_canvas_vg_node_transformation_set(Eo *obj,
|
|||
pd->m = NULL;
|
||||
}
|
||||
|
||||
pd->flags |= EFL_GFX_CHANGE_FLAG_MATRIX;
|
||||
/* NOTE: _node_change function is only executed
|
||||
when pd->flags is EFL_GFX_CHANGE_FLAG_NONE to prevent duplicate calls.*/
|
||||
_node_change(obj, pd);
|
||||
pd->flags |= EFL_GFX_CHANGE_FLAG_MATRIX;
|
||||
}
|
||||
|
||||
const Eina_Matrix3 *
|
||||
|
|
Loading…
Reference in New Issue