[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16336] trunk/blender/source/blender/ makesdna/DNA_meshdata_types.h: -> Fix for 64 bit alignment of Vertex colors in bmesh
Geoffrey Bantle
hairbat at yahoo.com
Tue Sep 2 18:39:50 CEST 2008
Revision: 16336
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16336
Author: briggs
Date: 2008-09-02 18:39:03 +0200 (Tue, 02 Sep 2008)
Log Message:
-----------
-> Fix for 64 bit alignment of Vertex colors in bmesh
Vertex color structure in bmesh needed to be padded for
8 byte aligned memory access.
Modified Paths:
--------------
trunk/blender/source/blender/makesdna/DNA_meshdata_types.h
Modified: trunk/blender/source/blender/makesdna/DNA_meshdata_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_meshdata_types.h 2008-09-02 15:21:05 UTC (rev 16335)
+++ trunk/blender/source/blender/makesdna/DNA_meshdata_types.h 2008-09-02 16:39:03 UTC (rev 16336)
@@ -82,6 +82,7 @@
typedef struct MLoopCol{
char a, r, g, b;
+ int pad; /*waste!*/
}MLoopCol;
typedef struct MSticky {
More information about the Bf-blender-cvs
mailing list