[Bf-blender-cvs] [060d668ae6e] master: Cleanup: clang format

Jacques Lucke noreply at git.blender.org
Fri Jun 18 10:50:27 CEST 2021


Commit: 060d668ae6e6a1d0f89cea65b9d7c152c761350a
Author: Jacques Lucke
Date:   Fri Jun 18 10:50:19 2021 +0200
Branches: master
https://developer.blender.org/rB060d668ae6e6a1d0f89cea65b9d7c152c761350a

Cleanup: clang format

===================================================================

M	source/blender/blenkernel/BKE_mesh_sample.hh
M	source/blender/draw/intern/draw_cache_extract.h

===================================================================

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 | \



More information about the Bf-blender-cvs mailing list