summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-03-10 21:12:52 +0900
committerHermet Park <chuneon.park@samsung.com>2020-03-10 21:12:53 +0900
commit2747c84ec159dff12c0854c34f20dd662bcbe7b3 (patch)
tree2abf48ed1d3a41c6710efb4ec3f0e500b51bdd8c
parent107e425ef62ebb5cd9b2d6e7feff0d26bd35f6e5 (diff)
vg_common_json: register shape name as it's designed.
Summary: Caller could find/access a specific node with the name. Test Plan: N/A Reviewers: Hermet, herb, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11480
-rw-r--r--src/static_libs/vg_common/vg_common_json.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/static_libs/vg_common/vg_common_json.c b/src/static_libs/vg_common/vg_common_json.c
index f7b3e9d2f5..b9b2900ff8 100644
--- a/src/static_libs/vg_common/vg_common_json.c
+++ b/src/static_libs/vg_common/vg_common_json.c
@@ -86,10 +86,11 @@ _construct_drawable_nodes(Efl_Canvas_Vg_Container *parent, const LOTLayerNode *l
86 const float *data = node->mPath.ptPtr; 86 const float *data = node->mPath.ptPtr;
87 if (!data) continue; 87 if (!data) continue;
88 88
89 if (node->keypath) efl_key_data_set(shape, "_lot_node_name", node->keypath);
89 efl_gfx_entity_visible_set(shape, EINA_TRUE); 90 efl_gfx_entity_visible_set(shape, EINA_TRUE);
90#if DEBUG 91#if DEBUG
91 for (int i = 0; i < depth; i++) printf(" "); 92 for (int i = 0; i < depth; i++) printf(" ");
92 printf("%s (%p)\n", efl_class_name_get(efl_class_get(shape)), shape); 93 printf("%s (%p) keypath : %s\n", efl_class_name_get(efl_class_get(shape)), shape, node->keypath);
93#endif 94#endif
94 //0: Path 95 //0: Path
95 efl_gfx_path_reserve(shape, node->mPath.elmCount, node->mPath.ptCount); 96 efl_gfx_path_reserve(shape, node->mPath.elmCount, node->mPath.ptCount);