diff options
author | Matt Ebb <matt@mke3.net> | 2010-06-01 10:07:22 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-06-01 10:07:22 +0400 |
commit | eab7f6d3c2f1a2ecfce6976f2b6d50a5ea5d2fcb (patch) | |
tree | 87d5441225b16ccb2afafcb5723fa2306b9c18a8 /source/blender/blenloader | |
parent | 80a89d2de50e46d65940864d18ced946eec29ba7 (diff) |
Fix [#22469] Crashes with "segmentation fault" when opening an image for Voxel Data texture of type Image sequence
Cleaned up the code here, made it more efficient and more reliable with threaded render.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 61685ccefce..b0256159e14 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2839,6 +2839,7 @@ static void direct_link_texture(FileData *fd, Tex *tex) tex->vd= newdataadr(fd, tex->vd); if(tex->vd) { tex->vd->dataset = NULL; + tex->vd->ok = 0; } tex->nodetree= newdataadr(fd, tex->nodetree); |