diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-03 19:20:44 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 12:22:32 +0300 |
commit | 75b5ff6698f5c1d50152cfb68530ac6a4ead999e (patch) | |
tree | afc7ff29b262c9d92c6ba4a1a9635ba508861c57 /source/blender/blenkernel/BKE_softbody.h | |
parent | 13ec4be594e11d39bc28c986446eade86b148129 (diff) |
Softbody: unified copy functions
This unifies two almost-identical functions at the expense of having to
add one single 'flag' value at one call.
This makes copy_softbody() aware of the source/dest objects, allowing it
to make a distinction between doing depsgraph evaluation copies and real
object copies. This will be used in an upcoming commit to ensure that
the pointcache is shared between CoW copies, similar to the current
approach for rigidbody simulation.
Diffstat (limited to 'source/blender/blenkernel/BKE_softbody.h')
0 files changed, 0 insertions, 0 deletions