projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf3bf7
)
edje/perspective - Actually use the global perspective.
author
antognolli
<antognolli>
Fri, 5 Aug 2011 18:08:07 +0000
(18:08 +0000)
committer
antognolli
<antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 5 Aug 2011 18:08:07 +0000
(18:08 +0000)
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
src/lib/edje_calc.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_calc.c
b/src/lib/edje_calc.c
index
09844d5
..
ef1d186
100644
(file)
--- 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;