Revision: 37318
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37318
Author:   ton
Date:     2011-06-08 15:17:38 +0000 (Wed, 08 Jun 2011)
Log Message:
-----------
Bugfix #27601

Scaling in compostior down to 1 pixel size crashed gaussian blur.

Modified Paths:
--------------
    trunk/blender/source/blender/nodes/intern/CMP_util.c

Modified: trunk/blender/source/blender/nodes/intern/CMP_util.c
===================================================================
--- trunk/blender/source/blender/nodes/intern/CMP_util.c        2011-06-08 
13:00:25 UTC (rev 37317)
+++ trunk/blender/source/blender/nodes/intern/CMP_util.c        2011-06-08 
15:17:38 UTC (rev 37318)
@@ -1320,6 +1320,8 @@
        
        if ((xy < 1) || (xy > 3)) xy = 3;
        
+       if (src->x < 2 && src->y < 2) return;
+       
        // see "Recursive Gabor Filtering" by Young/VanVliet
        // all factors here in double.prec. Required, because for single.prec 
it seems to blow up if sigma > ~200
        if (sigma >= 3.556)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to