diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 12:21:31 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 12:22:57 +0300 |
commit | 9e4d667c2cfd4a81f9a69628b69facd8fd4e0a01 (patch) | |
tree | 212ca3a6f0c3db50d83bd0fc799026ebcdfd582e /source/blender/blenkernel/intern/pointcache.c | |
parent | 75b5ff6698f5c1d50152cfb68530ac6a4ead999e (diff) |
SoftBody: refactored sbFree()
This prevents having to wrap each call to sbFree() in an if(ob->soft)
condition and assign ob->soft = NULL after calling.
Furthermore, passing `Object *` allows us to change freeing behaviour
depending on whether the object is an evaluated copy or an original (not
done in this commit yet).
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
0 files changed, 0 insertions, 0 deletions