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:
authorBastien Montagne <bastien@blender.org>2021-10-12 18:13:48 +0300
committerBastien Montagne <bastien@blender.org>2021-10-12 18:16:20 +0300
commitc63fb657c8991dbffaf6d6bb2bdf3d4fc3894f53 (patch)
treebdefacd36c5ac7dac1e3c8d7ccb6ed337fbf72a9 /source/blender/editors/asset
parent45f167237f0cbebfed95e8b58b405367070ac305 (diff)
Cleanup: use `nullptr` instead of `NULL` in C++ code.
Diffstat (limited to 'source/blender/editors/asset')
-rw-r--r--source/blender/editors/asset/intern/asset_ops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/asset/intern/asset_ops.cc b/source/blender/editors/asset/intern/asset_ops.cc
index 090cc53eb3b..bf532903c7c 100644
--- a/source/blender/editors/asset/intern/asset_ops.cc
+++ b/source/blender/editors/asset/intern/asset_ops.cc
@@ -474,7 +474,7 @@ static int asset_catalog_undo_exec(bContext *C, wmOperator * /*op*/)
}
catalog_service->undo();
- WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, NULL);
+ WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
return OPERATOR_FINISHED;
}
@@ -504,7 +504,7 @@ static int asset_catalog_redo_exec(bContext *C, wmOperator * /*op*/)
}
catalog_service->redo();
- WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, NULL);
+ WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
return OPERATOR_FINISHED;
}