Commit: 0889f8c127622ecc9383e73e20a274063f0bcc03
Author: Lukas Tönne
Date:   Tue Mar 22 15:07:56 2016 +0100
Branches: blender-v2.77-release
https://developer.blender.org/rB0889f8c127622ecc9383e73e20a274063f0bcc03

Fix for crash of point density textures due to undefined `point_data` on 
loading.

===================================================================

M       source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c 
b/source/blender/blenloader/intern/readfile.c
index 3758374..393d582 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);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to