Cleanup: format

This commit is contained in:
Campbell Barton
2022-04-28 14:03:46 +10:00
parent 74a44e816c
commit 9e2d80c49e
3 changed files with 4 additions and 3 deletions

View File

@@ -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.
* */

View File

@@ -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;
}

View File

@@ -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();