From: antognolli Date: Fri, 5 Aug 2011 18:08:07 +0000 (+0000) Subject: edje/perspective - Actually use the global perspective. X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~687 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc542476c6545bebce020a693c958cfb851a3ae1;p=profile%2Fivi%2Fedje.git edje/perspective - Actually use the global perspective. The Edje object should use the global perspective if it didn't have its own perspective set. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@62146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c index 09844d5..ef1d186 100644 --- a/src/lib/edje_calc.c +++ b/src/lib/edje_calc.c @@ -2756,6 +2756,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags) // fixme: a tad inefficient as this is a has lookup ps = edje_object_perspective_get(ed->obj); + if (!ps) + ps = edje_evas_global_perspective_get(evas_object_evas_get(ed->obj)); if (ps) { px = ps->px; py = ps->py;