Cleanup: clang format
This commit is contained in:
parent
7a943428de
commit
4d9ddb4a77
|
@ -431,7 +431,8 @@ bool ED_mesh_color_ensure(struct Mesh *me, const char *name)
|
|||
CustomDataLayer *layer = BKE_id_attributes_active_color_get(&me->id);
|
||||
|
||||
if (!layer) {
|
||||
CustomData_add_layer_named(&me->ldata, CD_PROP_BYTE_COLOR, CD_DEFAULT, NULL, me->totloop, name);
|
||||
CustomData_add_layer_named(
|
||||
&me->ldata, CD_PROP_BYTE_COLOR, CD_DEFAULT, NULL, me->totloop, name);
|
||||
layer = me->ldata.layers + CustomData_get_layer_index(&me->ldata, CD_PROP_BYTE_COLOR);
|
||||
|
||||
BKE_id_attributes_active_color_set(&me->id, layer);
|
||||
|
|
|
@ -133,9 +133,7 @@ void PAINT_OT_weight_gradient(struct wmOperatorType *ot);
|
|||
void PAINT_OT_vertex_paint_toggle(struct wmOperatorType *ot);
|
||||
void PAINT_OT_vertex_paint(struct wmOperatorType *ot);
|
||||
|
||||
unsigned int vpaint_get_current_color(struct Scene *scene,
|
||||
struct VPaint *vp,
|
||||
bool secondary);
|
||||
unsigned int vpaint_get_current_color(struct Scene *scene, struct VPaint *vp, bool secondary);
|
||||
|
||||
/* paint_vertex_color_utils.c */
|
||||
|
||||
|
|
|
@ -755,9 +755,7 @@ static void SCULPT_OT_loop_to_vertex_colors(wmOperatorType *ot)
|
|||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
}
|
||||
|
||||
static int sculpt_sample_color_invoke(bContext *C,
|
||||
wmOperator *op,
|
||||
const wmEvent *UNUSED(e))
|
||||
static int sculpt_sample_color_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(e))
|
||||
{
|
||||
Sculpt *sd = CTX_data_tool_settings(C)->sculpt;
|
||||
Scene *scene = CTX_data_scene(C);
|
||||
|
|
Loading…
Reference in New Issue