summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-01 11:01:43 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:35:36 -0500
commitcb2ab91ea5c8da53b95536ed415cff9dcb837554 (patch)
treec95022c4e1262e259948625472805e95c3830e5c
parentd7527eb7a2631b6ee3aa27036f627b08d9064255 (diff)
do not apply efx anchoring to move effects if a resize effect is not active
this is useless without an animator fix T4810
-rw-r--r--src/bin/efx/efx_resize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efx/efx_resize.c b/src/bin/efx/efx_resize.c
index ee0750576..33a1a0df2 100644
--- a/src/bin/efx/efx_resize.c
+++ b/src/bin/efx/efx_resize.c
@@ -124,7 +124,7 @@ _e_efx_resize_adjust(E_EFX *e, int *ax, int *ay)
124 E_Efx_Resize_Data *erd = e->resize_data; 124 E_Efx_Resize_Data *erd = e->resize_data;
125 int x, y, w, h; 125 int x, y, w, h;
126 126
127 if (!erd) return; 127 if ((!erd) || (!erd->anim)) return;
128 if (e->move_data) 128 if (e->move_data)
129 x = e->x, y = e->y; 129 x = e->x, y = e->y;
130 else 130 else