[tuhopuu-devel] [ tuhopuu-Patches-167 ] Fix 'extrude' function

tuhopuu-devel@blender.org tuhopuu-devel@blender.org
Sun, 1 Jun 2003 21:15:35 +0200 (CEST)


Patches item #167, was opened at 2003-04-10 21:19
You can respond by visiting: 
http://projects.blender.org/tracker/?func=detail&atid=135&aid=167&group_id=11

Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Fix 'extrude' function

Initial Comment:
Patch to fix the mesh 'extrude' function to correctly
transfer the
'ME_SMOOTH' (Set Smooth) flag to newly created faces.
(New faces along the extrusion path have always been
solid independant
of the Set Smooth setting)

intrr@time:~/tuhopuu/blender$ cvs diff
source/blender/src/editmesh.c
Index: source/blender/src/editmesh.c
===================================================================
RCS file:
/cvsroot/tuhopuu/blender/source/blender/src/editmesh.c,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 editmesh.c
2235c2235
< 	short sel=0, deloud= 0;
---
> 	short sel=0, deloud= 0, origsmooth=0;	/* intrr: added origsmooth flag */
2390a2391
> 
2392c2393
< 		
---
> 	
	origsmooth += (evl->flag & ME_SMOOTH);	/*intrr*/
2397c2398
< 	
	
---
> 
2404d2404
< 	
	
2405a2406
> 		if (origsmooth) evl->flag |= ME_SMOOTH;		
2443a2445
> 	


----------------------------------------------------------------------

You can respond by visiting: 
http://projects.blender.org/tracker/?func=detail&atid=135&aid=167&group_id=11