[Bf-blender-cvs] [a475146648e] refactor-mesh-uv-map-generic: Cleanup: NULL -> nullptr in C++
Martijn Versteegh
noreply at git.blender.org
Thu Jan 5 14:50:40 CET 2023
Commit: a475146648e2bf432f54b7c7ce2d0b224aecf743
Author: Martijn Versteegh
Date: Thu Jan 5 14:50:31 2023 +0100
Branches: refactor-mesh-uv-map-generic
https://developer.blender.org/rBa475146648e2bf432f54b7c7ce2d0b224aecf743
Cleanup: NULL -> nullptr in C++
===================================================================
M source/blender/render/intern/bake.cc
===================================================================
diff --git a/source/blender/render/intern/bake.cc b/source/blender/render/intern/bake.cc
index 0f3756d6daf..c57b24b0ee0 100644
--- a/source/blender/render/intern/bake.cc
+++ b/source/blender/render/intern/bake.cc
@@ -715,7 +715,7 @@ void RE_bake_pixels_populate(Mesh *me,
const char *uv_layer)
{
const float(*mloopuv)[2];
- if ((uv_layer == NULL) || (uv_layer[0] == '\0')) {
+ if ((uv_layer == nullptr) || (uv_layer[0] == '\0')) {
mloopuv = static_cast<float(*)[2]>(CustomData_get_layer(&me->ldata, CD_PROP_FLOAT2));
}
else {
More information about the Bf-blender-cvs
mailing list