Revision: 21284
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21284
Author:   jaguarandi
Date:     2009-07-01 14:36:05 +0200 (Wed, 01 Jul 2009)

Log Message:
-----------
fixed ray mirror/trans shadow on rayobject_bvh

Modified Paths:
--------------
    
branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject_bvh.c

Modified: 
branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject_bvh.c
===================================================================
--- 
branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject_bvh.c
    2009-07-01 12:19:00 UTC (rev 21283)
+++ 
branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject_bvh.c
    2009-07-01 12:36:05 UTC (rev 21284)
@@ -125,12 +125,12 @@
                for(i=0; i<BVH_NCHILDS; i++)
                        if(RayObject_isAligned(node->child[i]))
                        {
-                               hit = dfs_raycast(node->child[i], isec);
+                               hit |= dfs_raycast(node->child[i], isec);
                                if(hit && isec->mode == RE_RAY_SHADOW) return 
hit;
                        }
                        else
                        {
-                               hit = RE_rayobject_intersect( 
(RayObject*)node->child[i], isec);
+                               hit |= RE_rayobject_intersect( 
(RayObject*)node->child[i], isec);
                                if(hit && isec->mode == RE_RAY_SHADOW) return 
hit;
                        }
        }


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

Reply via email to