diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-05 21:25:58 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-05 21:25:58 +0400 |
commit | 1c90c495c0f8a328ae2fca10141feb2ace515de7 (patch) | |
tree | ed4f9a7bffa75bbdddd3bab3f8aaf2ce155af323 /source/blender/blenloader/intern | |
parent | f3230c7897951941a562be97f42e79f68fb81761 (diff) |
- Fixed issue with printing file version triple times when loading file in debug mode
- Remove commented out headers from versioning module
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_250.c | 3 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_legacy.c | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/blenloader/intern/versioning_250.c b/source/blender/blenloader/intern/versioning_250.c index 8b4471086a8..8b9ff496507 100644 --- a/source/blender/blenloader/intern/versioning_250.c +++ b/source/blender/blenloader/intern/versioning_250.c @@ -690,9 +690,6 @@ void blo_do_versions_250(FileData *fd, Library *lib, Main *main) { /* WATCH IT!!!: pointers from libdata have not been converted */ - if (G.debug & G_DEBUG) - printf("read file %s\n Version %d sub %d svn r%d\n", fd->relabase, main->versionfile, main->subversionfile, main->revision); - if (main->versionfile < 250) { bScreen *screen; Scene *scene; diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index 43d32b40e1a..64d7fdfe112 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -33,13 +33,6 @@ #include "zlib.h" #include <limits.h> -//#include <stdio.h> // for printf fopen fwrite fclose sprintf FILE -//#include <stdlib.h> // for getenv atoi -//#include <stddef.h> // for offsetof -//#include <fcntl.h> // for open -//#include <string.h> // for strrchr strncmp strstr -//#include <math.h> // for fabs -//#include <stdarg.h> /* for va_start/end */ #ifndef WIN32 # include <unistd.h> // for read close @@ -554,9 +547,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main) { /* WATCH IT!!!: pointers from libdata have not been converted */ - if (G.debug & G_DEBUG) - printf("read file %s\n Version %d sub %d svn r%d\n", fd->relabase, main->versionfile, main->subversionfile, main->revision); - if (main->versionfile == 100) { /* tex->extend and tex->imageflag have changed: */ Tex *tex = main->tex.first; |