[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26706] trunk/blender/source/blender/ blenloader/intern/readfile.c: debug print was making it take > 20sec to open blender with some complex files.
Campbell Barton
ideasman42 at gmail.com
Mon Feb 8 15:12:18 CET 2010
Revision: 26706
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26706
Author: campbellbarton
Date: 2010-02-08 15:12:18 +0100 (Mon, 08 Feb 2010)
Log Message:
-----------
debug print was making it take > 20sec to open blender with some complex files.
Modified Paths:
--------------
trunk/blender/source/blender/blenloader/intern/readfile.c
Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c 2010-02-08 13:55:31 UTC (rev 26705)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c 2010-02-08 14:12:18 UTC (rev 26706)
@@ -10934,7 +10934,8 @@
/* this is actually only needed on UI call? when ID was already read before, and another append
happens which invokes same ID... in that case the lookup table needs this entry */
oldnewmap_insert(fd->libmap, bhead->old, id, 1);
- if(G.f & G_DEBUG) printf("expand: already read %s\n", id->name);
+ // commented because this can print way too much
+ // if(G.f & G_DEBUG) printf("expand: already read %s\n", id->name);
}
}
}
More information about the Bf-blender-cvs
mailing list