diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-25 21:25:14 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-25 21:25:14 +0400 |
commit | bb783c9a7b3a2e48e58768ac6a1d7ed1019156aa (patch) | |
tree | 6d07b7fe2d5ee1a5c68bbbbc93ac20bee1bd7500 /source/blender/makesrna | |
parent | ce77c5af1c77fb2987aa05b49634c5f6451c27f2 (diff) |
Correction to recent makesrna commit
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index d8935c2a35e..fbb7fe5a346 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -3632,6 +3632,8 @@ static int rna_preprocess(const char *outfile) rna_auto_types(); + status = (DefRNA.error != 0); + /* create rna_gen_*.c files */ for (i = 0; PROCESS_ITEMS[i].filename; i++) { strcpy(deffile, outfile); @@ -3668,8 +3670,6 @@ static int rna_preprocess(const char *outfile) strcpy(deffile, outfile); strcat(deffile, "RNA_blender_cpp.h" TMP_EXT); - status = (DefRNA.error != 0); - if (status) { make_bad_file(deffile, __LINE__); } |