Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2016-03-22 17:07:56 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2016-03-22 17:07:56 +0300
commite2181c2ef2a808074d1fadc7ec9d51fd8c3efdfe (patch)
tree70b32c92b66f49c5b460c472022305187ef94f80 /source/blender/blenloader
parent220a7a4fb1f2529655be545274f279b1588fad67 (diff)
Fix for crash of point density textures due to undefined `point_data` on loading.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
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);