diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 09:03:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 09:07:47 +0300 |
commit | 1a208f03260b8b11977b1b2d41ca550711c57257 (patch) | |
tree | d2663a31ee1d4fed94ef7444e94e63cde4140383 /source/blender/makesrna/intern/rna_brush.c | |
parent | 09f46ef6faf5e95db966825e39941ce0378ce4a9 (diff) |
Cleanup: indentation, naming
Use rna naming conventions for unit-settings callbacks.
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index ccf6f73f284..7ccdf32b44c 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -529,8 +529,9 @@ static void rna_Brush_set_unprojected_radius(PointerRNA *ptr, float value) brush->unprojected_radius = value; } -static const EnumPropertyItem *rna_Brush_direction_itemf(bContext *C, PointerRNA *ptr, - PropertyRNA *UNUSED(prop), bool *UNUSED(r_free)) +static const EnumPropertyItem *rna_Brush_direction_itemf( + bContext *C, PointerRNA *ptr, + PropertyRNA *UNUSED(prop), bool *UNUSED(r_free)) { ePaintMode mode = BKE_paintmode_get_active_from_context(C); @@ -635,8 +636,9 @@ static const EnumPropertyItem *rna_Brush_direction_itemf(bContext *C, PointerRNA } } -static const EnumPropertyItem *rna_Brush_stroke_itemf(bContext *C, PointerRNA *UNUSED(ptr), - PropertyRNA *UNUSED(prop), bool *UNUSED(r_free)) +static const EnumPropertyItem *rna_Brush_stroke_itemf( + bContext *C, PointerRNA *UNUSED(ptr), + PropertyRNA *UNUSED(prop), bool *UNUSED(r_free)) { ePaintMode mode = BKE_paintmode_get_active_from_context(C); |