Evas: Fix proxy rendering for animated objects

An invalid optimization was implemented in proxy rendering.
We can't assume a proxy is a smart object.

Refer to 5cefa00d0a.

Fixes T832.

Proxy rendering is still broken when using cserve2... :(
This commit is contained in:
Jean-Philippe Andre 2014-01-22 16:40:50 +09:00
parent 938aba36eb
commit 981bdc16f6
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ _evas_render_phase1_direct(Evas_Public_Data *e,
_evas_render_prev_cur_clip_cache_add(e, obj);
if (obj->proxy->proxies)
{
if (obj->smart.smart && evas_object_smart_changed_get(eo_obj))
if (!obj->smart.smart || evas_object_smart_changed_get(eo_obj))
{
EINA_COW_WRITE_BEGIN(evas_object_proxy_cow, obj->proxy,
Evas_Object_Proxy_Data, proxy_write)