diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-08 13:43:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-08 13:43:15 +0300 |
commit | 1e386d98ced39c181f7331550028474716ab48b3 (patch) | |
tree | ed447744553f65ba0e43969d24664ac13e67774f /source/blender/makesdna | |
parent | e6acb4fba0945cb03cda7da7ce63a20abc7b0e7d (diff) |
Make DNA and RNA errors more meaningful and friendly
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index a6262a9b130..cf39fb69c73 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -1195,7 +1195,9 @@ static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offs static void make_bad_file(const char *file, int line) { FILE *fp = fopen(file, "w"); - fprintf(fp, "#error \"Error! can't make correct DNA.c file from %s:%d, STUPID!\"\n", __FILE__, line); + fprintf(fp, + "#error \"Error! can't make correct DNA.c file from %s:%d, check alignment.\"\n", + __FILE__, line); fclose(fp); } |