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:
authorCampbell Barton <ideasman42@gmail.com>2021-06-18 07:27:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-18 07:41:24 +0300
commitaf4167441bc37707c1ed32ded348bc0865f9c093 (patch)
tree586d24617fe21cc8b6257851e5176ba664d6ccdb /source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc
parent50a4b9d502104aabdd33ed924a89fe018cfa80b3 (diff)
Cleanup: clang-tidy
Diffstat (limited to 'source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc')
-rw-r--r--source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc b/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc
index 64aaed6600f..2c2603af1b2 100644
--- a/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc
+++ b/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines.cc
@@ -157,7 +157,7 @@ static void extract_lines_finish(const MeshRenderData *UNUSED(mr),
constexpr MeshExtract create_extractor_lines()
{
- MeshExtract extractor = {0};
+ MeshExtract extractor = {nullptr};
extractor.init = extract_lines_init;
extractor.iter_poly_bm = extract_lines_iter_poly_bm;
extractor.iter_poly_mesh = extract_lines_iter_poly_mesh;
@@ -202,7 +202,7 @@ static void extract_lines_with_lines_loose_finish(const MeshRenderData *mr,
constexpr MeshExtract create_extractor_lines_with_lines_loose()
{
- MeshExtract extractor = {0};
+ MeshExtract extractor = {nullptr};
extractor.init = extract_lines_init;
extractor.iter_poly_bm = extract_lines_iter_poly_bm;
extractor.iter_poly_mesh = extract_lines_iter_poly_mesh;
@@ -235,7 +235,7 @@ static void extract_lines_loose_only_init(const MeshRenderData *mr,
constexpr MeshExtract create_extractor_lines_loose_only()
{
- MeshExtract extractor = {0};
+ MeshExtract extractor = {nullptr};
extractor.init = extract_lines_loose_only_init;
extractor.data_type = MR_DATA_NONE;
extractor.data_size = 0;