diff options
author | Jacques Lucke <jacques@blender.org> | 2020-04-28 13:49:52 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-04-28 13:49:52 +0300 |
commit | b21a3e770277aef4d7a17b9b72c1c622493a5eb9 (patch) | |
tree | 3d144dfefb0ac5bcf21213fd0309b5d35078ba2c /source/blender/depsgraph/intern/depsgraph.h | |
parent | 9c2715ffda93a7625955a453a6dacaa4b601dd89 (diff) |
Depsgraph: Use BLI::Map in more places
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7519
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h index 7801f95e008..67c93353411 100644 --- a/source/blender/depsgraph/intern/depsgraph.h +++ b/source/blender/depsgraph/intern/depsgraph.h @@ -97,7 +97,7 @@ struct Depsgraph { /* <ID : IDNode> mapping from ID blocks to nodes representing these * blocks, used for quick lookups. */ - GHash *id_hash; + Map<const ID *, IDNode *> id_hash; /* Ordered list of ID nodes, order matches ID allocation order. * Used for faster iteration, especially for areas which are critical to @@ -169,7 +169,7 @@ struct Depsgraph { /* Cached list of colliders/effectors for collections and the scene * created along with relations, for fast lookup during evaluation. */ - GHash *physics_relations[DEG_PHYSICS_RELATIONS_NUM]; + Map<const ID *, ListBase *> *physics_relations[DEG_PHYSICS_RELATIONS_NUM]; }; } // namespace DEG |