diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-04-24 10:29:51 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-04-24 10:29:51 +0400 |
commit | 3a2194a534725d9e263b6f2af11ad8b6ef8ecc67 (patch) | |
tree | 8561f9010bf0ee1794aaa40e0c9c25b7337d5194 /source/blender | |
parent | 8ff958e821b2d42b74c68af02ac9224fae734e86 (diff) |
Remove ability to open a published executable from Blender.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/readblenentry.c | 6 | ||||
-rw-r--r-- | source/blender/readblenfile/intern/BLO_readblenfile.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c index bf4a634e8ed..a008142be66 100644 --- a/source/blender/blenloader/intern/readblenentry.c +++ b/source/blender/blenloader/intern/readblenentry.c @@ -251,12 +251,6 @@ BlendFileData *BLO_read_from_file(char *file, BlendReadError *error_r) { strcpy(bfd->main->name, file); } blo_freefiledata(fd); - } else if (blo_is_a_runtime(file)) { - bfd= blo_read_runtime(file, error_r); - if (bfd) { - bfd->type= BLENFILETYPE_RUNTIME; - strcpy(bfd->main->name, file); - } } return bfd; diff --git a/source/blender/readblenfile/intern/BLO_readblenfile.c b/source/blender/readblenfile/intern/BLO_readblenfile.c index 698fed79842..7fdad840895 100644 --- a/source/blender/readblenfile/intern/BLO_readblenfile.c +++ b/source/blender/readblenfile/intern/BLO_readblenfile.c @@ -161,7 +161,7 @@ blo_read_runtime( *error_r= BRE_NOT_A_BLEND; goto cleanup; } else { - printf("starting to read runtime from %s at datastart %d\n", path, datastart); + //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); } |