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:
authorErwin Coumans <blender@erwincoumans.com>2010-03-01 22:18:56 +0300
committerErwin Coumans <blender@erwincoumans.com>2010-03-01 22:18:56 +0300
commit7aea1465071b69409ab270bc9da4ef76bf678fb1 (patch)
tree0b1182b786c36d96fc8084df43e1c2c4b0d8ee09 /source/blender/blenloader
parentbdd17df0bc9317ce6f513514716c2c86639a286d (diff)
Replace the >>why is this here?? comment by some hard-earned experience with the .bullet file format (derived from .blend)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index fbf3c6f0ebe..fbde733f717 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -581,7 +581,8 @@ static void bh4_from_bh8(BHead *bhead, BHead8 *bhead8, int do_endian_swap)
if (bhead4->code != ENDB) {
- // why is this here ??
+ //perform a endian swap on 64bit pointers, otherwise the pointer might map to zero
+ //0x0000000000000000000012345678 would become 0x12345678000000000000000000000000
if (do_endian_swap) {
SWITCH_LONGINT(bhead8->old);
}