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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_query_foreach.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_query_foreach.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query_foreach.cc b/source/blender/depsgraph/intern/depsgraph_query_foreach.cc
index cd5e8f8a8d9..0a28e379ef5 100644
--- a/source/blender/depsgraph/intern/depsgraph_query_foreach.cc
+++ b/source/blender/depsgraph/intern/depsgraph_query_foreach.cc
@@ -88,7 +88,7 @@ void deg_foreach_dependent_operation(const Depsgraph *graph,
{
/* Start with getting ID node from the graph. */
IDNode *target_id_node = graph->find_id_node(id);
- if (target_id_node == NULL) {
+ if (target_id_node == nullptr) {
/* TODO(sergey): Shall we inform or assert here about attempt to start
* iterating over non-existing ID? */
return;
@@ -211,7 +211,7 @@ void deg_foreach_ancestor_ID(const Depsgraph *graph,
{
/* Start with getting ID node from the graph. */
IDNode *target_id_node = graph->find_id_node(id);
- if (target_id_node == NULL) {
+ if (target_id_node == nullptr) {
/* TODO(sergey): Shall we inform or assert here about attempt to start
* iterating over non-existing ID? */
return;