fix [#30090] Cloth modifier related crash when loading old file
[blender-staging.git] / source / blender / makesdna / DNA_genfile.h
index 6516b50402dab31ef2bc95cd66c3046eec936fa7..2264e82b36325cad789bc94c6793cd09425bb7b7 100644 (file)
@@ -48,13 +48,13 @@ typedef enum eSDNA_Type {
        SDNA_TYPE_ULONG    = 6,
        SDNA_TYPE_FLOAT    = 7,
        SDNA_TYPE_DOUBLE   = 8,
-       SDNA_TYPE_INT64    = 9,
-       SDNA_TYPE_UINT64   = 10
-       /* ,SDNA_TYPE_VOID     = 11 */ /* nothing uses yet */
+       /* ,SDNA_TYPE_VOID = 9 */ /* nothing uses yet */
+       SDNA_TYPE_INT64    = 10,
+       SDNA_TYPE_UINT64   = 11
 } eSDNA_Type;
 
 /* define so switch statements don't complain */
-#define SDNA_TYPE_VOID 11
+#define SDNA_TYPE_VOID 9
 
 struct SDNA *DNA_sdna_from_data(void *data, int datalen, int do_endian_swap);
 void DNA_sdna_free(struct SDNA *sdna);