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:
authorHans Goudey <h.goudey@me.com>2022-10-05 21:44:02 +0300
committerHans Goudey <h.goudey@me.com>2022-10-05 21:48:01 +0300
commit548a2cbe06b23d90b0e09da49fc854178c270b8a (patch)
tree8706b5be97ace0ff0ca18d4109586ccb5cf0a666 /source/blender/editors/uvedit
parent6306d747b770685f38f95bc57f8681335ddfa506 (diff)
Cleanup: Clang tidy
Also remove unnecessary struct keywords in C++ files.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_islands.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/uvedit/uvedit_islands.cc b/source/blender/editors/uvedit/uvedit_islands.cc
index c226ad4c461..2648ec5e2f6 100644
--- a/source/blender/editors/uvedit/uvedit_islands.cc
+++ b/source/blender/editors/uvedit/uvedit_islands.cc
@@ -126,7 +126,7 @@ static float (*bm_face_array_calc_unique_uv_coords(
BMEdge *e_first = v_pivot->e;
const BMEdge *e = e_first;
do {
- if (e->l != NULL) {
+ if (e->l != nullptr) {
const BMLoop *l_radial = e->l;
do {
if (l_radial->v == l_iter->v) {
@@ -368,7 +368,7 @@ int bm_mesh_calc_uv_islands(const Scene *scene,
const int group_len = BM_mesh_calc_face_groups(bm,
groups_array,
&group_index,
- NULL,
+ nullptr,
bm_loop_uv_shared_edge_check,
&user_data,
hflag_face_test,
@@ -435,7 +435,7 @@ void ED_uvedit_pack_islands_multi(const Scene *scene,
}
}
- ListBase island_list = {NULL};
+ ListBase island_list = {nullptr};
bm_mesh_calc_uv_islands(scene,
em->bm,
&island_list,
@@ -536,7 +536,7 @@ void ED_uvedit_pack_islands_multi(const Scene *scene,
float base_offset[2] = {0.0f, 0.0f};
/* CASE: ignore UDIM. */
- if (udim_params == NULL) {
+ if (udim_params == nullptr) {
/* pass */
}
/* CASE: Active/specified(smart uv project) UDIM. */