diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-21 17:19:08 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-21 17:19:08 +0300 |
commit | db4a46bc3c97bf9762a472bb8dcd4213b69acf83 (patch) | |
tree | e046508463c2cc928e49a8e95bd27d1c980f87f2 /source/blender/blenloader/intern/readblenentry.c | |
parent | e34ade4eb3b28a44d7bb1685a0fba32937c8982f (diff) |
Cleanup: hide debug print behind proper debug defines instead of using comments...
Diffstat (limited to 'source/blender/blenloader/intern/readblenentry.c')
-rw-r--r-- | source/blender/blenloader/intern/readblenentry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c index b5ba9879057..be893177b3b 100644 --- a/source/blender/blenloader/intern/readblenentry.c +++ b/source/blender/blenloader/intern/readblenentry.c @@ -423,11 +423,11 @@ BlendFileData *BLO_read_from_memfile(Main *oldmain, const char *filename, MemFil BLI_remlink(&old_mainlist, libmain); BLI_addtail(&new_mainlist, libmain); } -#if 0 else { +#ifdef PRINT_DEBUG printf("Dropped Main for lib: %s\n", libmain->curlib->id.name); - } #endif + } } /* In any case, we need to move all lib datablocks themselves - those are 'first level data', * getting rid of them would imply updating spaces & co to prevent invalid pointers access. */ |