From 939f2eea7f8318864c85010c704a6045d2e77b51 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 21 Apr 2014 10:29:53 -0400 Subject: edje now has the group.script_recursion flag for permitting unsafe embryo recursion this is enabled for all scripts within a group, and it should only be used if you: 1) know what you are doing 2) know why this is unsafe (T905) @feature --- src/lib/edje/edje_embryo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/edje/edje_embryo.c') diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c index b4ba41f171..2f03c6ba89 100644 --- a/src/lib/edje/edje_embryo.c +++ b/src/lib/edje/edje_embryo.c @@ -3871,7 +3871,7 @@ _edje_embryo_test_run(Edje *ed, const char *fname, const char *sig, const char * /* will likely end up being much longer than 0.016 seconds - more */ /* like 0.03 - 0.05 seconds or even more */ embryo_program_max_cycle_run_set(ed->collection->script, 5000000); - if (embryo_program_recursion_get(ed->collection->script)) + if (embryo_program_recursion_get(ed->collection->script) && (!ed->collection->script_recursion)) ERR("You are running Embryo->EDC->Embryo with script program '%s';\nBy the power of Grayskull, your previous Embryo stack is now broken!", fname); ret = embryo_program_run(ed->collection->script, fn); if (ret == EMBRYO_PROGRAM_FAIL) -- cgit v1.2.1