diff options
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_cache.cc')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_cache.cc b/source/blender/depsgraph/intern/builder/deg_builder_cache.cc index 2faedc4fcd6..1095905c570 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_cache.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_cache.cc @@ -158,14 +158,14 @@ DepsgraphBuilderCache::~DepsgraphBuilderCache() { for (AnimatedPropertyStorage *animated_property_storage : animated_property_storage_map_.values()) { - OBJECT_GUARDED_DELETE(animated_property_storage, AnimatedPropertyStorage); + delete animated_property_storage; } } AnimatedPropertyStorage *DepsgraphBuilderCache::ensureAnimatedPropertyStorage(ID *id) { return animated_property_storage_map_.lookup_or_add_cb( - id, []() { return OBJECT_GUARDED_NEW(AnimatedPropertyStorage); }); + id, []() { return new AnimatedPropertyStorage(); }); } AnimatedPropertyStorage *DepsgraphBuilderCache::ensureInitializedAnimatedPropertyStorage(ID *id) |