[fusion-commits] Cube reflection and cylinder effect plugin: Changes to 'master' (95abbf9509ae70325f161b3c82d3dba07f07cccb)

maniac at server.opencompositing.org maniac at server.opencompositing.org
Sun May 4 13:21:22 CEST 2008


New commits:
commit 95abbf9509ae70325f161b3c82d3dba07f07cccb
Author: Danny Baumann <dannybaumann at web.de>
Date:   Sun May 4 13:20:57 2008 +0200

    Fix "Deform only on mouse rotate" option.


 cubeaddon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Modified: fusion/plugins/cubeaddon/cubeaddon.c
===================================================================
--- fusion/plugins/cubeaddon/cubeaddon.c
+++ fusion/plugins/cubeaddon/cubeaddon.c
@@ -832,8 +832,6 @@ cubeaddonPaintTransformedOutput (CompScreen              *s,
 	cas->deform = 0.0;
     }
 
-    cas->wasDeformed = (cas->deform > 0.0);
-
     if (cs->invert == 1 && cas->first && cubeaddonGetReflection (s))
     {
 	cas->first = FALSE;
@@ -1113,6 +1111,8 @@ cubeaddonDonePaintScreen (CompScreen * s)
     cas->yTrans     = 0.0;
     cas->zTrans     = 0.0;
 
+    cas->wasDeformed = (cas->deform > 0.0);
+
     if (cas->deform)
     {
 	damageScreen (s);


More information about the commits mailing list