From 5b21fa71694fb2e09094e332710ddcafc216ae07 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Mon, 2 Dec 2013 16:02:23 +0900 Subject: [PATCH] Revert "fix smart sma by allowing more recursion" This reverts commit 1319733caeb811cd0d53b589b8a11f4229455ed3. 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 :) --- src/lib/evas/canvas/evas_object_smart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c index 6a49c4d..a1ade26 100644 --- a/src/lib/evas/canvas/evas_object_smart.c +++ b/src/lib/evas/canvas/evas_object_smart.c @@ -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; -- 2.7.4