jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9c5e873c6834f3374946ff02546ec97b5b86f88f

commit 9c5e873c6834f3374946ff02546ec97b5b86f88f
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Oct 1 22:20:48 2015 +0900

    edje_cc: Add "norender;" as lazEDC for "no_render: 1;"
---
 src/bin/edje/edje_cc_handlers.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 2ccedb1..190c3e0 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -1078,6 +1078,7 @@ New_Statement_Handler statement_handlers_short_single[] =
      {"collections.group.parts.part.noprecise", 
st_collections_group_parts_part_noprecise},
      {"collections.group.parts.part.scale", 
st_collections_group_parts_part_scale},
      {"collections.group.parts.part.noscale", 
st_collections_group_parts_part_noscale},
+     {"collections.group.parts.part.norender", 
st_collections_group_parts_part_no_render},
      {"collections.group.parts.part.description.vis", 
st_collections_group_parts_part_description_vis},
      {"collections.group.parts.part.description.hid", 
st_collections_group_parts_part_description_hid},
      {"collections.group.mouse", st_collections_group_mouse},
@@ -5773,9 +5774,10 @@ st_collections_group_parts_part_clip_to_id(void)
 static void
 st_collections_group_parts_part_no_render(void)
 {
-   check_arg_count(1);
-
-   current_part->no_render = parse_bool(0);
+   if (check_range_arg_count(0, 1) == 1)
+     current_part->no_render = parse_bool(0);
+   else /* lazEDC form */
+     current_part->no_render = EINA_TRUE;
 }
 
 /**

-- 


Reply via email to