forked from bartvdbraak/blender
Reading .blend from runtime closed file handle twice... seemed to crash in
windows? Weird, was a commit from april last year (Nathan) and nobody has reported errors. (bug report 2155)
This commit is contained in:
parent
9fddd2bdec
commit
b561ca88cf
@ -163,6 +163,7 @@ blo_read_runtime(
|
||||
//printf("starting to read runtime from %s at datastart %d\n", path, datastart);
|
||||
lseek(fd, datastart, SEEK_SET);
|
||||
bfd = blo_read_blendafterruntime(fd, actualsize-datastart, error_r);
|
||||
fd= -1; // file was closed in blo_read_blendafterruntime()
|
||||
}
|
||||
|
||||
cleanup:
|
||||
|
Loading…
Reference in New Issue
Block a user