Merging r41564 through r41596 from trunk into soc-2011-tomato
[blender.git] / source / blender / blenkernel / intern / DerivedMesh.c
index aaed0381b2e3a0707082658bdb1e1ef55aa9be61..0d97c9ec301dc26b8082af6f8a685e5b973e95e6 100644 (file)
@@ -1190,6 +1190,7 @@ static void emDM_getVert(DerivedMesh *dm, int index, MVert *vert_r)
 
        /* TODO what to do with vert_r->flag? */
        vert_r->bweight = (unsigned char) (ev->bweight*255.0f);
+       vert_r->flag= ev->f;
 }
 
 static void emDM_getEdge(DerivedMesh *dm, int index, MEdge *edge_r)