diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-11-28 12:35:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-11-28 12:35:24 +0300 |
commit | 604de7cbe8401ef781576eb587192a9d71ba35cf (patch) | |
tree | 91d576119a8ea1ae18e0597be7b0d757e6d4819e /source/blender/makesdna/intern | |
parent | 91034646c7c93e77c2ffda5e67e5ee0b23207fc9 (diff) | |
parent | 7c64e33b012935764ee5358c0e0a5b983d9a78b0 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 182a026df94..593d93b5615 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -993,7 +993,7 @@ static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offs char str[SDNA_MAX_FILENAME_LENGTH], *cp; int firststruct; - if (debugSDNA > -1) { + if (debugSDNA > 0) { fflush(stdout); printf("Running makesdna at debug level %d\n", debugSDNA); } @@ -1089,7 +1089,7 @@ static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offs /* file writing */ - if (debugSDNA > -1) printf("Writing file ... "); + if (debugSDNA > 0) printf("Writing file ... "); if (nr_names == 0 || nr_structs == 0) { /* pass */ @@ -1199,7 +1199,7 @@ static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offs MEM_freeN(typelens_64); MEM_freeN(structs); - if (debugSDNA > -1) printf("done.\n"); + if (debugSDNA > 0) printf("done.\n"); return(0); } |