forked from bartvdbraak/blender
fix [#26760] Crash on voxel data image sequence file datablock unlink
This commit is contained in:
parent
a30ebdeb68
commit
c118d644d9
@ -149,7 +149,9 @@ static void rna_Texture_voxeldata_image_update(Main *bmain, Scene *scene, Pointe
|
||||
{
|
||||
Tex *tex= ptr->id.data;
|
||||
|
||||
tex->ima->source = IMA_SRC_SEQUENCE;
|
||||
if(tex->ima) { /* may be getting cleared too */
|
||||
tex->ima->source = IMA_SRC_SEQUENCE;
|
||||
}
|
||||
rna_Texture_voxeldata_update(bmain, scene, ptr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user