Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-01-08 13:43:15 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-01-08 13:43:15 +0300
commit1e386d98ced39c181f7331550028474716ab48b3 (patch)
treeed447744553f65ba0e43969d24664ac13e67774f /source/blender/makesdna
parente6acb4fba0945cb03cda7da7ce63a20abc7b0e7d (diff)
Make DNA and RNA errors more meaningful and friendly
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/intern/makesdna.c4
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);
}