diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-03-22 17:07:56 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:06 +0300 |
commit | 0889f8c127622ecc9383e73e20a274063f0bcc03 (patch) | |
tree | 889e96d20069c84641214209c7e01990922b94ff /source/blender | |
parent | a3ef7c986cb1671813a6816715839a49af9fea83 (diff) |
Fix for crash of point density textures due to undefined `point_data` on loading.
Diffstat (limited to 'source/blender')
-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 375837437d8..393d582cebe 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3838,6 +3838,7 @@ static void direct_link_texture(FileData *fd, Tex *tex) if (tex->pd->falloff_curve) { direct_link_curvemapping(fd, tex->pd->falloff_curve); } + tex->pd->point_data = NULL; /* runtime data */ } tex->vd = newdataadr(fd, tex->vd); |