From 1adae69b5f7d666a34c2d2055613fd0a43406974 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 16 May 2004 16:25:40 +0000 Subject: [PATCH] Rewind of change in MCol structure. Kester: since this is in DNA, it backwards converts all R into B now, which isn't the bug. On big endian systems (OSX) there engine colors are OK, which indicates the conversion of MCol goes wrong on the engine side, by using some endian-sensative approach. The main confusement is, that the MCol struct isn't in use for read or write in Blender, only for a save in files. The contents of that struct is wrong, yes. See note in vpaint.c top. --- source/blender/makesdna/DNA_meshdata_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 29b0db4e20f..5eaba97fc63 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -59,7 +59,7 @@ typedef struct MVert { } MVert; typedef struct MCol { - char a, b, g, r; + char a, r, g, b; } MCol; typedef struct MSticky {