From c1c0b661c0147faf565f6fde080c356504710a70 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 14 May 2021 17:35:08 +1000 Subject: Cleanup: clang-format --- source/blender/compositor/intern/COM_ChunkOrderHotspot.cc | 2 +- source/blender/editors/sculpt_paint/paint_cursor.c | 3 ++- source/blender/functions/FN_generic_virtual_array.hh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'source/blender') diff --git a/source/blender/compositor/intern/COM_ChunkOrderHotspot.cc b/source/blender/compositor/intern/COM_ChunkOrderHotspot.cc index 79afcc9deea..b8e19fc2c34 100644 --- a/source/blender/compositor/intern/COM_ChunkOrderHotspot.cc +++ b/source/blender/compositor/intern/COM_ChunkOrderHotspot.cc @@ -30,4 +30,4 @@ double ChunkOrderHotspot::calc_distance(int x, int y) return result; } -} // namespace blender::compositor \ No newline at end of file +} // namespace blender::compositor diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index 12e4dee6f99..3829aeebbeb 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -1675,7 +1675,8 @@ static void paint_cursor_draw_3d_view_brush_cursor_inactive(PaintCursorContext * GPU_matrix_mul(pcontext->vc.obact->obmat); /* Drawing Cursor overlays in 3D object space. */ - if (is_brush_tool && brush->sculpt_tool == SCULPT_TOOL_GRAB && (brush->flag & BRUSH_GRAB_ACTIVE_VERTEX)) { + if (is_brush_tool && brush->sculpt_tool == SCULPT_TOOL_GRAB && + (brush->flag & BRUSH_GRAB_ACTIVE_VERTEX)) { SCULPT_geometry_preview_lines_update(pcontext->C, pcontext->ss, pcontext->radius); sculpt_geometry_preview_lines_draw( pcontext->pos, pcontext->brush, pcontext->is_multires, pcontext->ss); diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh index d8641f7ae80..c89423375c9 100644 --- a/source/blender/functions/FN_generic_virtual_array.hh +++ b/source/blender/functions/FN_generic_virtual_array.hh @@ -688,7 +688,7 @@ class GVArray_For_EmbeddedVArray : public GVArray_For_VArray { public: template - GVArray_For_EmbeddedVArray(const int64_t size, Args &&...args) + GVArray_For_EmbeddedVArray(const int64_t size, Args &&... args) : GVArray_For_VArray(size), embedded_varray_(std::forward(args)...) { this->varray_ = &embedded_varray_; @@ -703,7 +703,7 @@ class GVMutableArray_For_EmbeddedVMutableArray : public GVMutableArray_For_VMuta public: template - GVMutableArray_For_EmbeddedVMutableArray(const int64_t size, Args &&...args) + GVMutableArray_For_EmbeddedVMutableArray(const int64_t size, Args &&... args) : GVMutableArray_For_VMutableArray(size), embedded_varray_(std::forward(args)...) { this->varray_ = &embedded_varray_; -- cgit v1.2.3