Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/readblenfile/intern')
-rw-r--r--source/blender/readblenfile/intern/BLO_readblenfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/readblenfile/intern/BLO_readblenfile.c b/source/blender/readblenfile/intern/BLO_readblenfile.c
index 9b81b3bdd0d..8199c83c3ef 100644
--- a/source/blender/readblenfile/intern/BLO_readblenfile.c
+++ b/source/blender/readblenfile/intern/BLO_readblenfile.c
@@ -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: