diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-21 17:02:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-21 17:04:18 +0300 |
commit | 5e4ed2793b9bec3b45830106f83c5bfffa810453 (patch) | |
tree | f34299646fbb0d146aa0f70002366fab7a4aa4d6 /source/blender/blenkernel/BKE_object.h | |
parent | b6693f1f544a97fa2325c142d05e82fa60b63b27 (diff) |
Depsgraph: Move boundbox sync to the post-geometry evaluation
Boundbox does not depend on transform and only need geometry
component.
This change solves possible race condition accessing geometry
data and allocating/assigning pointers.
Based on disacussion in IRC with @mano-wii and @brecht.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index c07ccdf8ee2..f0f99c9cac5 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -247,6 +247,8 @@ void BKE_object_eval_uber_data( struct Scene *scene, struct Object *ob); +void BKE_object_eval_boundbox(struct Depsgraph *depsgraph, struct Object *object); + void BKE_object_eval_ptcache_reset( struct Depsgraph *depsgraph, struct Scene *scene, |