evas/canvas: Null check for base class data pointer.

This commit is contained in:
Subhransu Mohanty 2015-05-08 20:32:40 +09:00 committed by ChunEon Park
parent e08b942ffd
commit 8f55ac7550
1 changed files with 4 additions and 0 deletions

View File

@ -226,6 +226,10 @@ evas_object_vg_render_pre(Evas_Object *eo_obj,
// FIXME: for now the walking Evas_VG_Node tree doesn't trigger any damage
// So just forcing it here if necessary
rnd = eo_data_scope_get(vd->root, EFL_VG_BASE_CLASS);
//FIXME find the reason for NULL Base Class in some case?
if (!rnd) return;
if (rnd->changed)
{
rnd->changed = EINA_FALSE;