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

This commit is contained in:
Lukas Tönne 2016-03-22 15:07:56 +01:00
parent 220a7a4fb1
commit e2181c2ef2

@ -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);