forked from enlightenment/efl
Evas filters: Set state.next to nil when not in transition
This is what the doc says and makes more sense. That was some kind of inverted logic.
This commit is contained in:
parent
c78b466139
commit
ff6dbb17e3
|
@ -2616,16 +2616,16 @@ _filter_program_state_set(Evas_Filter_Program *pgm)
|
|||
lua_setfield(L, -2, "name");
|
||||
lua_setfield(L, -2, "cur");
|
||||
}
|
||||
lua_newtable(L); // "next"
|
||||
{
|
||||
if (pgm->state.next.name)
|
||||
if (pgm->state.next.name)
|
||||
{
|
||||
lua_newtable(L); // "next"
|
||||
{
|
||||
SETFIELD("value", pgm->state.next.value);
|
||||
lua_pushstring(L, pgm->state.next.name);
|
||||
lua_setfield(L, -2, "name");
|
||||
}
|
||||
lua_setfield(L, -2, "next");
|
||||
}
|
||||
lua_setfield(L, -2, "next");
|
||||
}
|
||||
lua_newtable(L); // "text"
|
||||
{
|
||||
SETCOLOR("outline", JOINC(text.outline));
|
||||
|
|
Loading…
Reference in New Issue