[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19207] branches/bmesh/blender/source/ blender/bmesh/intern/bmesh_mods.c: silly me, though face copy attributes function would copy loop data too, of course not.

Joseph Eagar joeedh at gmail.com
Fri Mar 6 08:38:20 CET 2009


Revision: 19207
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19207
Author:   joeedh
Date:     2009-03-06 08:38:18 +0100 (Fri, 06 Mar 2009)

Log Message:
-----------
silly me, though face copy attributes function would copy loop data too, of course not.  now that's used instead of copying header flag directly and hackishly in BM_Split_Face

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c	2009-03-06 07:17:56 UTC (rev 19206)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c	2009-03-06 07:38:18 UTC (rev 19207)
@@ -276,9 +276,7 @@
 	BMFace *nf;
 	nf = bmesh_sfme(bm,f,v1,v2,nl);
 	
-	/*not sure if this belongs here, be we do need to copy the header
-	  flag.  this seemed better then in the euler, at least.*/
-	nf->head.flag |= f->head.flag;
+	BM_Copy_Attributes(bm, bm, f, nf);
 
 	/*
 	nf->flag = f->flag;





More information about the Bf-blender-cvs mailing list