diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-25 17:04:56 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-25 18:15:07 +0300 |
commit | 2c9b32949bc00e73603bcabadb74e5b3176a161a (patch) | |
tree | f6bb1ee5b514cce92db337c3116ac967821a4c65 /source/blender/depsgraph/intern/depsgraph.h | |
parent | 26251282e093d4c0d04c4c667b0b32ad66d329b2 (diff) |
Cleanup: refactor depsgraph physics API functions.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h index 3517a6f6f34..804fd1b36c2 100644 --- a/source/blender/depsgraph/intern/depsgraph.h +++ b/source/blender/depsgraph/intern/depsgraph.h @@ -45,6 +45,7 @@ #include "BLI_threads.h" /* for SpinLock */ #include "DEG_depsgraph.h" +#include "DEG_depsgraph_physics.h" #include "intern/depsgraph_types.h" @@ -229,9 +230,7 @@ struct Depsgraph { /* Cached list of colliders/effectors for collections and the scene * created along with relations, for fast lookup during evaluation. */ - GHash *collision_relations; - GHash *smoke_collision_relations; - GHash *effector_relations; + GHash *physics_relations[DEG_PHYSICS_RELATIONS_NUM]; }; } // namespace DEG |