edje calc no longer forces proxy part source calcs for currently-hidden proxies

this saves a bit of calc time when a proxy part is not currently visible
This commit is contained in:
Mike Blumenkrantz 2015-03-31 19:10:02 -04:00
parent 3a451650d2
commit 20350a8006
1 changed files with 1 additions and 1 deletions

View File

@ -3378,7 +3378,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
pos = ep->description_pos;
if (ep->part->type == EDJE_PART_TYPE_PROXY)
if ((ep->part->type == EDJE_PART_TYPE_PROXY) && chosen_desc->visible)
{
int part_id = -1;