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
path: root/source
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-06-18 11:50:19 +0300
committerJacques Lucke <jacques@blender.org>2021-06-18 11:50:19 +0300
commit060d668ae6e6a1d0f89cea65b9d7c152c761350a (patch)
treea9d09e38c1c6309e599263c947fc13adef502696 /source
parent6c1fdd52c12d0d8bc1e58873286c22d3693a042f (diff)
Cleanup: clang format
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/BKE_mesh_sample.hh4
-rw-r--r--source/blender/draw/intern/draw_cache_extract.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_sample.hh b/source/blender/blenkernel/BKE_mesh_sample.hh
index c40d2e947e3..dc747ba5b42 100644
--- a/source/blender/blenkernel/BKE_mesh_sample.hh
+++ b/source/blender/blenkernel/BKE_mesh_sample.hh
@@ -82,8 +82,8 @@ class MeshAttributeInterpolator {
public:
MeshAttributeInterpolator(const Mesh *mesh,
- const Span<float3> positions,
- const Span<int> looptri_indices);
+ const Span<float3> positions,
+ const Span<int> looptri_indices);
void sample_attribute(const ReadAttributeLookup &src_attribute,
OutputAttribute &dst_attribute,
diff --git a/source/blender/draw/intern/draw_cache_extract.h b/source/blender/draw/intern/draw_cache_extract.h
index a9c1a506460..5fc6629e804 100644
--- a/source/blender/draw/intern/draw_cache_extract.h
+++ b/source/blender/draw/intern/draw_cache_extract.h
@@ -297,7 +297,8 @@ typedef enum DRWBatchFlag {
MBC_SCULPT_OVERLAYS = (1u << MBC_BATCH_INDEX(batch.sculpt_overlays)),
} DRWBatchFlag;
-BLI_STATIC_ASSERT(MBC_BATCH_INDEX(surface_per_mat) < 32, "Number of batches exceeded the limit of bit fields");
+BLI_STATIC_ASSERT(MBC_BATCH_INDEX(surface_per_mat) < 32,
+ "Number of batches exceeded the limit of bit fields");
#define MBC_EDITUV \
(MBC_EDITUV_FACES_STRETCH_AREA | MBC_EDITUV_FACES_STRETCH_ANGLE | MBC_EDITUV_FACES | \