diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-19 12:33:48 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-19 12:49:56 +0300 |
commit | 8f922b30b0f92f16d096cb0be60cd85d8376807a (patch) | |
tree | 5af7b784ffc4bec426ae5c27c21572917f88b579 /source/blender/blenkernel/BKE_studiolight.h | |
parent | caaf4e5a37119a4b479efaa8d9f00f0298646a25 (diff) |
RigidBodyWorld: copy ptcache from evaluated scene back to original scene
This makes it possible to perform re-evaluation of the scene without
having to re-run the simulation.
The CoW → Orig copy is only performed when the depsgraph is active, so
as to not influence the current scene while rendering in the background.
Alternatively, we could have the CoW copy share the cache with the
original to prevent too much copying of cache data. This will be faster,
but I'm not sure whether we can reliably check the DEG_is_active()
status at CoW copy creation time.
Diffstat (limited to 'source/blender/blenkernel/BKE_studiolight.h')
0 files changed, 0 insertions, 0 deletions