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/makesrna/intern/makesrna.c | |
parent | e6acb4fba0945cb03cda7da7ce63a20abc7b0e7d (diff) |
Make DNA and RNA errors more meaningful and friendly
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index a47426861b1..2aa6fc9cfc9 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -4013,7 +4013,10 @@ static void rna_generate_header_cpp(BlenderRNA *UNUSED(brna), FILE *f) static void make_bad_file(const char *file, int line) { FILE *fp = fopen(file, "w"); - fprintf(fp, "#error \"Error! can't make correct RNA file from %s:%d, STUPID!\"\n", __FILE__, line); + fprintf(fp, + "#error \"Error! can't make correct RNA file from %s:%d, " + "check DNA properties.\"\n", + __FILE__, line); fclose(fp); } |