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

onestone at server.opencompositing.org onestone at server.opencompositing.org
Mon May 5 19:49:02 CEST 2008


New commits:
commit a4f67bbdf7de07e698617bdcb83146f2590c0b1b
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date:   Mon May 5 19:48:56 2008 +0200

    Fixed cylinder grid calculation.


 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
@@ -514,7 +514,7 @@ cubeaddonAddWindowGeometry (CompWindow *w,
 	    while (y1 < region->extents.y2)
 	    {
 		x1 = region->extents.x1;
-		x2 = MIN (x1 + yi, region->extents.x2);
+		x2 = MIN (x1 + CUBEADDON_GRID_SIZE, region->extents.x2);
 	
 		while (x1 < region->extents.x2)
 		{


More information about the commits mailing list