diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-07 04:25:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-07 04:25:42 +0300 |
commit | 9510137d1237f0bb493313cb65a79479ec77e4ce (patch) | |
tree | efd8fb78bea8b41b84dd053c7251eb2587aed0ef /source/blender/makesdna/DNA_brush_types.h | |
parent | e2eeb46a1bda8cf49a70e78a45d12fede27a1af9 (diff) |
Cleanup: brace placement /w structs
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index dd66acf2781..6d6d33a6f1b 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -137,16 +137,14 @@ typedef struct Brush { float mask_stencil_dimension[2]; } Brush; -typedef struct PaletteColor -{ +typedef struct PaletteColor { struct PaletteColor *next, *prev; /* two values, one to store rgb, other to store values for sculpt/weight */ float rgb[3]; float value; } PaletteColor; -typedef struct Palette -{ +typedef struct Palette { ID id; /* pointer to individual colours */ @@ -156,14 +154,12 @@ typedef struct Palette int pad; } Palette; -typedef struct PaintCurvePoint -{ +typedef struct PaintCurvePoint { BezTriple bez; /* bezier handle */ float pressure; /* pressure on that point */ } PaintCurvePoint; -typedef struct PaintCurve -{ +typedef struct PaintCurve { ID id; PaintCurvePoint *points; /* points of curve */ int tot_points; |