// FIXME: this may become slow with to much object
if (old_cd)
{
+ if (old_cd->scene) tvg_scene_clear(old_cd->scene, EINA_FALSE);
old_cd->children = eina_list_remove(old_cd->children, obj);
eina_hash_del(old_cd->names, efl_name_get(efl_super(obj, MY_CLASS)), obj);
_node_change(old_parent, efl_data_scope_get(old_parent, MY_CLASS));
if (cd)
{
+ if (cd->scene) tvg_scene_clear(cd->scene, EINA_FALSE);
cd->children = eina_list_append(cd->children, obj);
_efl_canvas_vg_node_name_insert(obj, cd);