diff options
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h index e0686bd04aa..ea579a4958e 100644 --- a/source/blender/depsgraph/intern/depsgraph.h +++ b/source/blender/depsgraph/intern/depsgraph.h @@ -31,6 +31,8 @@ #include <stdlib.h> +#include "MEM_guardedalloc.h" + #include "DNA_ID.h" /* for ID_Type */ #include "BKE_main.h" /* for MAX_LIBARRAY */ @@ -47,7 +49,8 @@ struct ID; struct Scene; struct ViewLayer; -namespace DEG { +namespace blender { +namespace deg { struct IDNode; struct Node; @@ -167,6 +170,9 @@ struct Depsgraph { /* Cached list of colliders/effectors for collections and the scene * created along with relations, for fast lookup during evaluation. */ Map<const ID *, ListBase *> *physics_relations[DEG_PHYSICS_RELATIONS_NUM]; + + MEM_CXX_CLASS_ALLOC_FUNCS("Depsgraph"); }; -} // namespace DEG +} // namespace deg +} // namespace blender |