Reduce unnecessary clip recalcs.

SVN revision: 15947
This commit is contained in:
rbdpngn 2005-07-30 05:55:15 +00:00 committed by rbdpngn
parent 7248a6553e
commit 8aa4d69a59
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ evas_object_clip_recalc(Evas_Object *obj)
cb = obj->cur.color.b; ca = obj->cur.color.a;
if (obj->cur.clipper)
{
// this causes problems... hmmm
// if (obj->cur.clipper->cur.cache.clip.dirty)
/* Don't recalculate clean clipper */
if (obj->cur.clipper->cur.cache.clip.dirty)
evas_object_clip_recalc(obj->cur.clipper);
nx = obj->cur.clipper->cur.cache.clip.x;
ny = obj->cur.clipper->cur.cache.clip.y;