[Bf-committers] a little improve 7 (fix bug 988)

Joilnen Batista Leite bf-committers@blender.org
Mon, 8 Mar 2004 04:12:12 -0800 (PST)


--0-1147196726-1078747932=:43727
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

I think this attach can to fix bug 988.


Thank you to consider.

Joilnen

pub  1024D/5139533E Joilnen Batista Leite 
F565 BD0B 1A39 390D 827E  03E5 0CD4 0F20 5139 533E


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
--0-1147196726-1078747932=:43727
Content-Type: text/plain; name=editmesh_patch
Content-Description: editmesh_patch
Content-Disposition: inline; filename=editmesh_patch

--- editmesh.c	2004-03-07 18:06:52.000000000 -0300
+++ source/blender/src/editmesh.c	2004-03-07 15:27:29.000000000 -0300
@@ -691,10 +691,10 @@
 		e2= evl->e2;
 		e3= evl->e3;
 		e4= evl->e4;
-		if(e1->f<3) e1->f+= 1;
-		if(e2->f<3) e2->f+= 1;
-		if(e3->f<3) e3->f+= 1;
-		if(e4 && e->f<3) e4->f+= 1;
+		if(e1->f<3 && e1->h) e1->f+= 1;
+		if(e2->f<3 && e2->h) e2->f+= 1;
+		if(e3->f<3 && e3->h) e3->f+= 1;
+		if(e4 && e4->f<3 && e4->h) e4->f+= 1;
 		
 		if(e1->vn==0) e1->vn= (EditVert *)evl;
 		if(e2->vn==0) e2->vn= (EditVert *)evl;

--0-1147196726-1078747932=:43727--