print blend file loading, because...
- Often need to open a file that just crashed/hung in valgrind or gdb - Sometimes need to commit a blend that was just opened and blender has no fast way to get the blend file in the clipboard. since libraries also print in the console, dont see any problems with adding this.
This commit is contained in:
@@ -372,6 +372,9 @@ int BKE_read_file(bContext *C, char *dir, void *unused, ReportList *reports)
|
||||
BlendFileData *bfd;
|
||||
int retval= 1;
|
||||
|
||||
if(strstr(dir, ".B25.blend")==0) /* dont print user-pref loading */
|
||||
printf("read blend: %s\n", dir);
|
||||
|
||||
bfd= BLO_read_from_file(dir, reports);
|
||||
if (bfd) {
|
||||
if(bfd->user) retval= 2;
|
||||
|
||||
Reference in New Issue
Block a user