diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-02-25 04:03:58 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-02-25 04:03:58 +0400 |
commit | 5331b946078b2f4f60b7deb98ef699fecc8e762d (patch) | |
tree | f9c20147d220e89d1a5fc48ae4fc863ca0be3056 /source/blender/blenloader | |
parent | 07beb61b1e6a11028a86c3dd95497a505d842605 (diff) |
Hidding the append: already linked message if G.debug is false. This gets rid of some noise in the console for BGE games that run into this case a lot.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 426d15c82e3..1ad6f1bf78a 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -10158,7 +10158,8 @@ static ID *append_named_part(Main *mainl, FileData *fd, const char *idname, cons } else { /* already linked */ - printf("append: already linked\n"); + if (G.debug) + printf("append: already linked\n"); oldnewmap_insert(fd->libmap, bhead->old, id, bhead->code); if (id->flag & LIB_INDIRECT) { id->flag -= LIB_INDIRECT; |