Fix for crash of point density textures due to undefined point_data
on loading.
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user