Index: blender/source/blender/python/api2_2x/NMesh.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/NMesh.c,v
retrieving revision 1.51
diff -r1.51 NMesh.c
63a64
> 
477c478
< 		return Py_BuildValue( "i", mf->mode );
---
> 		return Py_BuildValue( "i", (int) mf->mode );
479c480
< 		return Py_BuildValue( "i", mf->flag );
---
> 		return Py_BuildValue( "i", (int) mf->flag );
481c482
< 		return Py_BuildValue( "i", mf->transp );
---
> 		return Py_BuildValue( "i", (int) mf->transp );
570c571
< 		PyArg_Parse( v, "h", &ival );
---
> 		PyArg_Parse(v, "h", &ival );
1547c1548
< 				     MCol * col )
---
> 				     MCol * col, MFace *mface )
1590c1591,1594
< 
---
> 	if (tface)
> 		newf->flag = tface->flag | mface->flag;
> 	else newf->flag = mface->flag;
> 	
1757c1761
< 									 oldmc ) );
---
> 									 oldmc, oldmf ) );
1986c1990
< 		mf->flag = ME_SMOOTH;
---
> 		mf->flag = from->flag & ME_SMOOTH;
1988c1992
< 		mf->flag = 0;
---
> 		mf->flag = from->flag;
