Cleanup: format
This commit is contained in:
@@ -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.
|
||||
* */
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user