diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-09-13 20:49:59 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-09-13 20:49:59 +0400 |
commit | 8b458e8e5b3211bb5dd1ccb92fed4de4515f2495 (patch) | |
tree | c51dcd1b65ed12a53fd5a1e78154817f2ce32670 /source | |
parent | 56dba392610691e60618a89a3c6b98fc360e3ea8 (diff) |
Bug spotted by genscher
fluidsimCopyMesh didn't actually do what it was suppose to.
(obvious cut and paste error)
Kent
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/fluidsim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/fluidsim.c b/source/blender/src/fluidsim.c index 3eae54b3482..e9609d40570 100644 --- a/source/blender/src/fluidsim.c +++ b/source/blender/src/fluidsim.c @@ -226,8 +226,8 @@ static Mesh *fluidsimCopyMesh(Mesh *me) Mesh *dup = MEM_dupallocN(me); CustomData_copy(&me->vdata, &dup->vdata, CD_MASK_MESH, CD_DUPLICATE, me->totvert); - CustomData_copy(&me->vdata, &dup->vdata, CD_MASK_MESH, CD_DUPLICATE, me->totvert); - CustomData_copy(&me->vdata, &dup->vdata, CD_MASK_MESH, CD_DUPLICATE, me->totvert); + CustomData_copy(&me->edata, &dup->edata, CD_MASK_MESH, CD_DUPLICATE, me->totedge); + CustomData_copy(&me->fdata, &dup->fdata, CD_MASK_MESH, CD_DUPLICATE, me->totface); return dup; } |