forked from enlightenment/efl
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
This commit is contained in:
parent
107e425ef6
commit
2747c84ec1
|
@ -86,10 +86,11 @@ _construct_drawable_nodes(Efl_Canvas_Vg_Container *parent, const LOTLayerNode *l
|
|||
const float *data = node->mPath.ptPtr;
|
||||
if (!data) continue;
|
||||
|
||||
if (node->keypath) efl_key_data_set(shape, "_lot_node_name", node->keypath);
|
||||
efl_gfx_entity_visible_set(shape, EINA_TRUE);
|
||||
#if DEBUG
|
||||
for (int i = 0; i < depth; i++) printf(" ");
|
||||
printf("%s (%p)\n", efl_class_name_get(efl_class_get(shape)), shape);
|
||||
printf("%s (%p) keypath : %s\n", efl_class_name_get(efl_class_get(shape)), shape, node->keypath);
|
||||
#endif
|
||||
//0: Path
|
||||
efl_gfx_path_reserve(shape, node->mPath.elmCount, node->mPath.ptCount);
|
||||
|
|
Loading…
Reference in New Issue