Blender Git Commit Log

Git Commits -> Revision 75b5ff6

Revision 75b5ff6 by Sybren A. Stüvel (master)
July 4, 2018, 09:22 (GMT)
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.

Commit Details:

Full Hash: 75b5ff6698f5c1d50152cfb68530ac6a4ead999e
Parent Commit: 13ec4be
Lines Changed: +12, -18

3 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+1, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+10, -13) (Diff)
/source/blender/editors/object/object_edit.c (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021