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

onestone at server.opencompositing.org onestone at server.opencompositing.org
Tue May 20 18:13:03 CEST 2008


New commits:
commit b3c6018aefa98ac615f9ad3352d5f6eb4415dd74
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date:   Tue May 20 18:13:02 2008 +0200

    Only damage screen during animation.


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


Modified: fusion/plugins/cubeaddon/cubeaddon.c
===================================================================
--- fusion/plugins/cubeaddon/cubeaddon.c
+++ fusion/plugins/cubeaddon/cubeaddon.c
@@ -1715,7 +1715,7 @@ cubeaddonDonePaintScreen (CompScreen * s)
 
     cas->wasDeformed = (cas->deform > 0.0);
 
-    if (cas->deform)
+    if (cas->deform > 0.0 && cas->deform < 1.0)
     {
 	damageScreen (s);
 	cas->deform = 0.0;


More information about the commits mailing list