Blender Git Commit Log

Git Commits -> Revision 72d10c1

August 12, 2021, 14:51 (GMT)
adaptive_cloth: Store previous frame mesh information for remeshing

The modifier stack doesn't give the previously evaluated `Mesh`, this
means it needs to be stored within the `ClothModifierData`.

Some parts of the cloth modifier copy information from the given
`Mesh` to the `clothObject` every frame, this should not happen when
remeshing is on.

In `BKE_cloth_remesh()`, must use the previous frame mesh if available
for remeshing.

TODO: In case the user goes back a frame, must make the
`clmd->prev_frame_mesh` invalid otherwise the simulation will not know
that the simulation must be restart.

Commit Details:

Full Hash: 72d10c1edc735dc446e7cfd23ee7e4d670b4705c
Parent Commit: bd0a9f1
Lines Changed: +85, -19

5 Modified Paths:

/source/blender/blenkernel/intern/cloth.c (+56, -17) (Diff)
/source/blender/blenkernel/intern/cloth_remesh.cc (+13, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+13, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+1, -0) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021