[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22429] branches/soc-2009-jaguarandi/ source/blender/render/intern/source/rayobject.c: *Bug fix on finding hit on neighbour face (think this is the last know bug )

Andre Susano Pinto andresusanopinto at gmail.com
Thu Aug 13 14:23:21 CEST 2009


Revision: 22429
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22429
Author:   jaguarandi
Date:     2009-08-13 14:23:21 +0200 (Thu, 13 Aug 2009)

Log Message:
-----------
*Bug fix on finding hit on neighbour face (think this is the last know bug)
This bug fix makes the "non-smoothed" faces appear again (just like they do in 2.49 and blender2.5)
Meaning the "detect neighbour faces" isn't working 100%.

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

Modified: branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject.c
===================================================================
--- branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject.c	2009-08-13 11:54:12 UTC (rev 22428)
+++ branches/soc-2009-jaguarandi/source/blender/render/intern/source/rayobject.c	2009-08-13 12:23:21 UTC (rev 22429)
@@ -306,7 +306,7 @@
 				|| a->v1==b->v2 || a->v2==b->v2 || a->v3==b->v2 || a->v4==b->v2
 				|| a->v1==b->v3 || a->v2==b->v3 || a->v3==b->v3 || a->v4==b->v3
 				|| (b->v4 && (a->v1==b->v4 || a->v2==b->v4 || a->v3==b->v4 || a->v4==b->v4)))
-				if(intersection2((VlakRen*)b, -r0, -r1, -r2, is->start[0], is->start[1], is->start[2]))
+				if(!intersection2((VlakRen*)a, -r0, -r1, -r2, is->start[0], is->start[1], is->start[2]))
 				{
 					return 0;
 				}





More information about the Bf-blender-cvs mailing list