diff options
Diffstat (limited to 'source/blender/src')
-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; } |