diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-31 15:15:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-01 13:00:11 +0300 |
commit | 1bc801e02042b6170bb7758157d8bb1703286623 (patch) | |
tree | e20559db36c277a0ecbf1bcb5c2fd2abe35d0078 /source | |
parent | 14c55a5828a41395257fe2e59b11c4659d9b44c0 (diff) |
Fix use of uninitialized value in depsgraph.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc index 96e89449d42..26f189aae4b 100644 --- a/source/blender/depsgraph/intern/depsgraph.cc +++ b/source/blender/depsgraph/intern/depsgraph.cc @@ -99,6 +99,7 @@ Depsgraph::Depsgraph(Scene *scene, 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)); } Depsgraph::~Depsgraph() |