Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2007-09-13 20:49:59 +0400
committerKent Mein <mein@cs.umn.edu>2007-09-13 20:49:59 +0400
commit8b458e8e5b3211bb5dd1ccb92fed4de4515f2495 (patch)
treec51dcd1b65ed12a53fd5a1e78154817f2ce32670 /source/blender/src
parent56dba392610691e60618a89a3c6b98fc360e3ea8 (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/blender/src')
-rw-r--r--source/blender/src/fluidsim.c4
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;
}