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.cc | |
parent | 26251282e093d4c0d04c4c667b0b32ad66d329b2 (diff) |
Cleanup: refactor depsgraph physics API functions.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc index 267cadb7993..ddc6e44ee1b 100644 --- a/source/blender/depsgraph/intern/depsgraph.cc +++ b/source/blender/depsgraph/intern/depsgraph.cc @@ -93,16 +93,14 @@ Depsgraph::Depsgraph(Scene *scene, mode(mode), ctime(BKE_scene_frame_get(scene)), scene_cow(NULL), - is_active(false), - collision_relations(NULL), - smoke_collision_relations(NULL), - effector_relations(NULL) + is_active(false) { BLI_spin_init(&lock); id_hash = BLI_ghash_ptr_new("Depsgraph id hash"); entry_tags = BLI_gset_ptr_new("Depsgraph entry_tags"); debug_flags = G.debug; memset(id_type_updated, 0, sizeof(id_type_updated)); + memset(physics_relations, 0, sizeof(physics_relations)); } Depsgraph::~Depsgraph() |