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

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


--0-640747139-1078750229=:96343
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

Mr. Alien-xmp tested it and report that works fine,
but he must patch it manually, so i resent a new copy
of attash


Joilnen

--- Joilnen Batista Leite <vma_bad_list@yahoo.com>
wrote:
> 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> --- 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;
> 


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

--- source/blender/src/editmesh.c	2004-03-08 09:23:31.000000000 -0300
+++ editmesh.c	2004-03-08 09:28:22.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 && e4->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-640747139-1078750229=:96343--