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 <campbell@blender.org>2022-10-28 09:06:21 +0300
committerCampbell Barton <campbell@blender.org>2022-10-28 09:06:21 +0300
commit105c8d59cd07ee401722cd0a29a2fb059f2d7743 (patch)
tree7aff36edce00b3839c2ba425c43af82151072740 /source/blender/draw
parentd799388b021fe9a0163b6f970c836b858a137449 (diff)
Cleanup: format
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_pbvh.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_pbvh.cc b/source/blender/draw/intern/draw_pbvh.cc
index a4de9e4fa47..b25bb42a8a5 100644
--- a/source/blender/draw/intern/draw_pbvh.cc
+++ b/source/blender/draw/intern/draw_pbvh.cc
@@ -951,7 +951,8 @@ struct PBVHBatches {
void create_index_faces(PBVH_GPU_Args *args)
{
- int *mat_index = static_cast<int*>(CustomData_get_layer_named(args->pdata, CD_PROP_INT32, "material_index"));
+ int *mat_index = static_cast<int *>(
+ CustomData_get_layer_named(args->pdata, CD_PROP_INT32, "material_index"));
if (mat_index && args->totprim) {
int poly_index = args->mlooptri[args->prim_indices[0]].poly;