diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-28 07:03:46 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-28 07:03:46 +0300 |
commit | 9e2d80c49ec0c0160597d1c7707082a662bdea69 (patch) | |
tree | eefeea9019eda40fcc99f7b93c83a3c285f51ac4 /source/blender | |
parent | 74a44e816c22123a431375088ca81f01430b3fbe (diff) |
Cleanup: format
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_curves.hh | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_texture.mm | 2 |
3 files changed, 4 insertions, 3 deletions
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(); |