forked from enlightenment/efl
evas_clip: check for object validity before adding fallback damage rect
this path should not be triggered for objects which are being deleted, which was the case in all of the referenced bug reportst fix T4904, T7100, T7421 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8445
This commit is contained in:
parent
0d63743be9
commit
e6d8ac512d
|
@ -289,7 +289,8 @@ _efl_canvas_object_clipper_unset_common(Evas_Object_Protected_Data *obj, Eina_Bo
|
|||
if (((clip->cur) && (clip->cur->visible)) &&
|
||||
(((clip->cur->color.r != 255) || (clip->cur->color.g != 255) ||
|
||||
(clip->cur->color.b != 255) || (clip->cur->color.a != 255)) ||
|
||||
(clip->mask->is_mask)))
|
||||
(clip->mask->is_mask)) &&
|
||||
efl_alive_get(clip->object))
|
||||
{
|
||||
if (clip->layer)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue