Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-31 15:15:25 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-01 13:00:11 +0300
commit1bc801e02042b6170bb7758157d8bb1703286623 (patch)
treee20559db36c277a0ecbf1bcb5c2fd2abe35d0078 /source
parent14c55a5828a41395257fe2e59b11c4659d9b44c0 (diff)
Fix use of uninitialized value in depsgraph.
Diffstat (limited to 'source')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.cc1
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()