diff options
author | Chris Want <cwant@ualberta.ca> | 2003-12-16 04:27:37 +0300 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2003-12-16 04:27:37 +0300 |
commit | 356cf7953482891afe3dd289b1584b355de23b17 (patch) | |
tree | e746ec1bff3654872a80ecb136cb95d2a1fa856c /source/blender/makesdna | |
parent | e4d63d5764c1b23d34e66e57148048654a983159 (diff) |
OK, My turn to break things ...
The maximum vertex count for a mesh has been raised from 65000 to
2000000000L (yep, 2 billion!).
Please test!
Chris
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 5 | ||||
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index b39ccb2fc54..3b69656464e 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -53,11 +53,8 @@ struct bDeformGroup; * the other hand, it also interferes with sys/types.h, so we get rid * of it asap. */ -#define ushort unsigned short - typedef struct MFace { -/* unsigned short v1, v2, v3, v4; */ - ushort v1, v2, v3, v4; + unsigned int v1, v2, v3, v4; char puno, mat_nr; char edcode, flag; } MFace; diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index a38b89dfbcf..5f3673e95c7 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -1041,7 +1041,7 @@ int make_structDNA(FILE *file) void make_bad_file(char *file) { FILE *fp= fopen(file, "w"); - fprintf(fp, "ERROR! Cannot make correct DNA.c file\n"); + fprintf(fp, "ERROR! Cannot make correct DNA.c file, STUPID!\n"); fclose(fp); } |