diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-03-22 17:07:56 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2016-03-22 17:07:56 +0300 |
commit | e2181c2ef2a808074d1fadc7ec9d51fd8c3efdfe (patch) | |
tree | 70b32c92b66f49c5b460c472022305187ef94f80 | |
parent | 220a7a4fb1f2529655be545274f279b1588fad67 (diff) |
Fix for crash of point density textures due to undefined `point_data` on loading.
-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 8b41c618c99..5f9041755d1 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3837,6 +3837,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); |