diff options
author | Matt Ebb <matt@mke3.net> | 2010-04-14 11:47:04 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-04-14 11:47:04 +0400 |
commit | 43500c9e140ed44aa2e5c29208bb87196a9dad75 (patch) | |
tree | 12d79930a6c3bebb51e81f788aab48be929e9be3 /source | |
parent | 94102b7017003d6c1e7edf50d3909a507e752308 (diff) |
Fix [#22005] Duplicated Point Density textures remain somewhat linked
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index 48f819a7091..c13e48e8f01 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -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); |