[Bf-blender-cvs] [9e2d80c49ec] master: Cleanup: format

Campbell Barton noreply at git.blender.org
Thu Apr 28 06:04:24 CEST 2022


Commit: 9e2d80c49ec0c0160597d1c7707082a662bdea69
Author: Campbell Barton
Date:   Thu Apr 28 14:03:46 2022 +1000
Branches: master
https://developer.blender.org/rB9e2d80c49ec0c0160597d1c7707082a662bdea69

Cleanup: format

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

M	source/blender/blenkernel/BKE_curves.hh
M	source/blender/editors/sculpt_paint/sculpt.c
M	source/blender/gpu/metal/mtl_texture.mm

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

diff --git a/source/blender/blenkernel/BKE_curves.hh b/source/blender/blenkernel/BKE_curves.hh
index dea9c17d159..4bfbe0cd27f 100644
--- a/source/blender/blenkernel/BKE_curves.hh
+++ b/source/blender/blenkernel/BKE_curves.hh
@@ -162,7 +162,7 @@ class CurvesGeometry : public ::CurvesGeometry {
 
   /** The type (#CurveType) of each curve, or potentially a single if all are the same type. */
   VArray<int8_t> curve_types() const;
-  /** 
+  /**
    * Mutable access to curve types. Call #tag_topology_changed and #update_curve_types after
    * changing any type. Consider using the other methods to change types below.
    * */
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index bfe28cb09e1..32b7047c2b0 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5450,7 +5450,8 @@ static int sculpt_brush_stroke_invoke(bContext *C, wmOperator *op, const wmEvent
   Sculpt *sd = CTX_data_tool_settings(C)->sculpt;
   Brush *brush = BKE_paint_brush(&sd->paint);
 
-  if (SCULPT_TOOL_NEEDS_COLOR(brush->sculpt_tool) && !SCULPT_handles_colors_report(ob->sculpt, op->reports)) {
+  if (SCULPT_TOOL_NEEDS_COLOR(brush->sculpt_tool) &&
+      !SCULPT_handles_colors_report(ob->sculpt, op->reports)) {
     return OPERATOR_CANCELLED;
   }
 
diff --git a/source/blender/gpu/metal/mtl_texture.mm b/source/blender/gpu/metal/mtl_texture.mm
index 117b8850485..5ffcd167df9 100644
--- a/source/blender/gpu/metal/mtl_texture.mm
+++ b/source/blender/gpu/metal/mtl_texture.mm
@@ -1602,7 +1602,7 @@ bool gpu::MTLTexture::init_internal(GPUVertBuf *vbo)
 bool gpu::MTLTexture::init_internal(const GPUTexture *src, int mip_offset, int layer_offset)
 {
   BLI_assert(src);
-  
+
   /* Zero initialise. */
   this->prepare_internal();



More information about the Bf-blender-cvs mailing list