diff options
author | Jacques Lucke <jacques@blender.org> | 2021-05-21 16:09:22 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-05-21 16:09:22 +0300 |
commit | 5158d1b42dcd0b002195a057a39cff26a6f999b2 (patch) | |
tree | 422bbdd9e949343eec54dc4e46dc8dbb031dbfc1 /source/blender | |
parent | 865d1889da54c4eb8dcdf6b4dca7df906b936add (diff) |
Cleanup: use nullptr
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc index 629cd9cd6ad..77661b4870a 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc @@ -377,7 +377,7 @@ void DepsgraphNodeBuilder::begin_build() int DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(ID *id_cow_self, ID *id_pointer) { - if (id_pointer->orig_id == NULL) { + if (id_pointer->orig_id == nullptr) { /* `id_cow_self` uses a non-cow ID, if that ID has a COW copy in current depsgraph its owner * needs to be remapped, i.e. COW-flushed. */ IDNode *id_node = find_id_node(id_pointer); |