forked from enlightenment/efl
edje/perspective - Actually use the global perspective.
The Edje object should use the global perspective if it didn't have its own perspective set. SVN revision: 62146
This commit is contained in:
parent
fd222d9729
commit
e53adf4789
|
@ -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
|
// fixme: a tad inefficient as this is a has lookup
|
||||||
ps = edje_object_perspective_get(ed->obj);
|
ps = edje_object_perspective_get(ed->obj);
|
||||||
|
if (!ps)
|
||||||
|
ps = edje_evas_global_perspective_get(evas_object_evas_get(ed->obj));
|
||||||
if (ps)
|
if (ps)
|
||||||
{
|
{
|
||||||
px = ps->px; py = ps->py;
|
px = ps->px; py = ps->py;
|
||||||
|
|
Loading…
Reference in New Issue