forked from enlightenment/efl
Revert "fix smart sma by allowing more recursion"
This reverts commit 1319733cae
.
Let's revert this patch and lower the recursion number.
As we released efl 1.8, let's find the root causes of the problem and fix them.
I already told this revert to raster so I am not mean :)
This commit is contained in:
parent
afd8a238d1
commit
5b21fa7169
|
@ -37,7 +37,7 @@ struct _Evas_Object_Smart
|
|||
int walking_list;
|
||||
int member_count; /** number of smart member objects */
|
||||
|
||||
unsigned short recalculate_cycle;
|
||||
unsigned char recalculate_cycle;
|
||||
|
||||
Eina_Bool deletions_waiting : 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->recalculate_cycle > 4096)
|
||||
if (o->recalculate_cycle > 254)
|
||||
{
|
||||
ERR("Object %p is not stable during recalc loop", eo_obj);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue