without this each face would get a solid color, this is the same method used in object mode. also copy BLI_array.h fix from bmesh branch.
without this each face would get a solid color, this is the same method used in object mode. also copy BLI_array.h fix from bmesh branch.