Fix [#22005] Duplicated Point Density textures remain somewhat linked

This commit is contained in:
Matt Ebb
2010-04-14 07:47:04 +00:00
parent 94102b7017
commit 43500c9e14

View File

@@ -620,6 +620,8 @@ Tex *copy_texture(Tex *tex)
if(texn->coba) texn->coba= MEM_dupallocN(texn->coba);
if(texn->env) texn->env= BKE_copy_envmap(texn->env);
if(texn->pd) texn->pd= MEM_dupallocN(texn->pd);
if(texn->vd) texn->vd= MEM_dupallocN(texn->vd);
if(tex->preview) texn->preview = BKE_previewimg_copy(tex->preview);