forked from enlightenment/efl
fix smart sma by allowing more recursion
this ups the recursion allowance to 4096. it solves T494
This commit is contained in:
parent
38dd405712
commit
1319733cae
|
@ -37,7 +37,7 @@ struct _Evas_Object_Smart
|
||||||
int walking_list;
|
int walking_list;
|
||||||
int member_count; /** number of smart member objects */
|
int member_count; /** number of smart member objects */
|
||||||
|
|
||||||
unsigned char recalculate_cycle;
|
unsigned short recalculate_cycle;
|
||||||
|
|
||||||
Eina_Bool deletions_waiting : 1;
|
Eina_Bool deletions_waiting : 1;
|
||||||
Eina_Bool need_recalculate : 1;
|
Eina_Bool need_recalculate : 1;
|
||||||
|
@ -1070,7 +1070,7 @@ _smart_need_recalculate_set(Eo *eo_obj, void *_pd, va_list *list)
|
||||||
|
|
||||||
if (o->need_recalculate == value) return;
|
if (o->need_recalculate == value) return;
|
||||||
|
|
||||||
if (o->recalculate_cycle > 254)
|
if (o->recalculate_cycle > 4096)
|
||||||
{
|
{
|
||||||
ERR("Object %p is not stable during recalc loop", eo_obj);
|
ERR("Object %p is not stable during recalc loop", eo_obj);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue