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/blenloader/intern/readblenentry.c')
-rw-r--r--source/blender/blenloader/intern/readblenentry.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c
index 7797f4468d1..bf4a634e8ed 100644
--- a/source/blender/blenloader/intern/readblenentry.c
+++ b/source/blender/blenloader/intern/readblenentry.c
@@ -257,12 +257,6 @@ BlendFileData *BLO_read_from_file(char *file, BlendReadError *error_r) {
bfd->type= BLENFILETYPE_RUNTIME;
strcpy(bfd->main->name, file);
}
- } else {
- bfd= BLO_readblenfilename(file, error_r);
- if (bfd) {
- bfd->type= BLENFILETYPE_PUB;
- strcpy(bfd->main->name, file);
- }
}
return bfd;
@@ -280,12 +274,6 @@ BlendFileData *BLO_read_from_memory(void *mem, int memsize, BlendReadError *erro
strcpy(bfd->main->name, "");
}
blo_freefiledata(fd);
- } else {
- bfd= BLO_readblenfilememory(mem, memsize, error_r);
- if (bfd) {
- bfd->type= BLENFILETYPE_PUB;
- strcpy(bfd->main->name, "");
- }
}
return bfd;