From eab7f6d3c2f1a2ecfce6976f2b6d50a5ea5d2fcb Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 1 Jun 2010 06:07:22 +0000 Subject: 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. --- source/blender/makesdna/DNA_texture_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index 2c5c50d7dc2..b6f72875c29 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -190,8 +190,12 @@ typedef struct VoxelData { float int_multiplier; int still_frame; char source_path[240]; + + /* temporary data */ float *dataset; - + int cachedframe; + int ok; + } VoxelData; typedef struct Tex { -- cgit v1.2.3