diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:57:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 16:03:03 +0300 |
commit | 88a80fcec8672b5bb67041456dc7f7101aae3d55 (patch) | |
tree | e1b93fd997bba2e0481395bb51b51058eb9aa990 /source/blender/editors | |
parent | 2d98dce7ee29b7e5d685ee5de9aa1e4eebe46a01 (diff) |
Cleanup: commas at the end of enums
Without this clang-format may wrap them onto a single line.
Diffstat (limited to 'source/blender/editors')
33 files changed, 52 insertions, 52 deletions
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index af730036c9f..45928355f30 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -707,7 +707,7 @@ typedef enum eRearrangeAnimChan_Mode { REARRANGE_ANIMCHAN_TOP = -2, REARRANGE_ANIMCHAN_UP = -1, REARRANGE_ANIMCHAN_DOWN = 1, - REARRANGE_ANIMCHAN_BOTTOM = 2 + REARRANGE_ANIMCHAN_BOTTOM = 2, } eRearrangeAnimChan_Mode; /* defines for rearranging channels */ diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index 7ba22fca2f6..9f188c7c4c3 100644 --- a/source/blender/editors/armature/pose_slide.c +++ b/source/blender/editors/armature/pose_slide.c @@ -172,7 +172,7 @@ static const EnumPropertyItem prop_channels_types[] = { typedef enum ePoseSlide_AxisLock { PS_LOCK_X = (1 << 0), PS_LOCK_Y = (1 << 1), - PS_LOCK_Z = (1 << 2) + PS_LOCK_Z = (1 << 2), } ePoseSlide_AxisLock; /* Property enum for ePoseSlide_AxisLock */ diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 87c7017c677..72660c90837 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -107,7 +107,7 @@ typedef enum eDrawStrokeFlags { /** draw strokes as "volumetric" circular billboards */ GP_DRAWDATA_VOLUMETRIC = (1 << 7), /** fill insides/bounded-regions of strokes */ - GP_DRAWDATA_FILL = (1 << 8) + GP_DRAWDATA_FILL = (1 << 8), } eDrawStrokeFlags; diff --git a/source/blender/editors/gpencil/gpencil_armature.c b/source/blender/editors/gpencil/gpencil_armature.c index 21715d7ba93..78152f1d86b 100644 --- a/source/blender/editors/gpencil/gpencil_armature.c +++ b/source/blender/editors/gpencil/gpencil_armature.c @@ -79,7 +79,7 @@ enum { GP_ARMATURE_NAME = 0, - GP_ARMATURE_AUTO = 1 + GP_ARMATURE_AUTO = 1, }; #define DEFAULT_RATIO 0.10f diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index 33521d7b53e..b2ceacf9398 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -335,7 +335,7 @@ void GPENCIL_OT_layer_remove(wmOperatorType *ot) enum { GP_LAYER_MOVE_UP = -1, - GP_LAYER_MOVE_DOWN = 1 + GP_LAYER_MOVE_DOWN = 1, }; static int gp_layer_move_exec(bContext *C, wmOperator *op) @@ -426,7 +426,7 @@ void GPENCIL_OT_layer_duplicate(wmOperatorType *ot) /* ********************* Duplicate Layer in a new object ************************** */ enum { GP_LAYER_COPY_OBJECT_ALL_FRAME = 0, - GP_LAYER_COPY_OBJECT_ACT_FRAME = 1 + GP_LAYER_COPY_OBJECT_ACT_FRAME = 1, }; static bool gp_layer_duplicate_object_poll(bContext *C) @@ -563,7 +563,7 @@ void GPENCIL_OT_layer_duplicate_object(wmOperatorType *ot) /* ********************* Duplicate Frame ************************** */ enum { GP_FRAME_DUP_ACTIVE = 0, - GP_FRAME_DUP_ALL = 1 + GP_FRAME_DUP_ALL = 1, }; static int gp_frame_duplicate_exec(bContext *C, wmOperator *op) @@ -623,7 +623,7 @@ void GPENCIL_OT_frame_duplicate(wmOperatorType *ot) /* ********************* Clean Fill Boundaries on Frame ************************** */ enum { GP_FRAME_CLEAN_FILL_ACTIVE = 0, - GP_FRAME_CLEAN_FILL_ALL = 1 + GP_FRAME_CLEAN_FILL_ALL = 1, }; static int gp_frame_clean_fill_exec(bContext *C, wmOperator *op) @@ -1218,7 +1218,7 @@ enum { GP_STROKE_MOVE_UP = -1, GP_STROKE_MOVE_DOWN = 1, GP_STROKE_MOVE_TOP = 2, - GP_STROKE_MOVE_BOTTOM = 3 + GP_STROKE_MOVE_BOTTOM = 3, }; static int gp_stroke_arrange_exec(bContext *C, wmOperator *op) diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index a71545cf392..a601e0635ed 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -1012,7 +1012,7 @@ static bool gp_strokes_paste_poll(bContext *C) typedef enum eGP_PasteMode { GP_COPY_ONLY = -1, - GP_COPY_MERGE = 1 + GP_COPY_MERGE = 1, } eGP_PasteMode; static int gp_strokes_paste_exec(bContext *C, wmOperator *op) @@ -2431,7 +2431,7 @@ void GPENCIL_OT_stroke_apply_thickness(wmOperatorType *ot) enum { GP_STROKE_CYCLIC_CLOSE = 1, GP_STROKE_CYCLIC_OPEN = 2, - GP_STROKE_CYCLIC_TOGGLE = 3 + GP_STROKE_CYCLIC_TOGGLE = 3, }; static int gp_stroke_cyclical_set_exec(bContext *C, wmOperator *op) @@ -2524,7 +2524,7 @@ enum { GP_STROKE_CAPS_TOGGLE_BOTH = 0, GP_STROKE_CAPS_TOGGLE_START = 1, GP_STROKE_CAPS_TOGGLE_END = 2, - GP_STROKE_CAPS_TOGGLE_DEFAULT = 3 + GP_STROKE_CAPS_TOGGLE_DEFAULT = 3, }; static int gp_stroke_caps_set_exec(bContext *C, wmOperator *op) diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 0ccc8791667..dd7b2c0d8bd 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -439,7 +439,7 @@ void GPENCIL_OT_convert(struct wmOperatorType *ot); enum { GP_STROKE_JOIN = -1, - GP_STROKE_JOINCOPY = 1 + GP_STROKE_JOINCOPY = 1, }; enum { @@ -452,7 +452,7 @@ enum { enum { GP_MERGE_STROKE = -1, - GP_MERGE_POINT = 1 + GP_MERGE_POINT = 1, }; void GPENCIL_OT_stroke_arrange(struct wmOperatorType *ot); diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index ec7c5f989d0..6e5746301be 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -323,7 +323,7 @@ typedef enum eAnimFilter_Flags { ANIMFILTER_TMP_PEEK = (1 << 30), /** ignore ONLYSEL flag from filterflag, (internal use only!) */ - ANIMFILTER_TMP_IGNORE_ONLYSEL = (1u << 31) + ANIMFILTER_TMP_IGNORE_ONLYSEL = (1u << 31), } eAnimFilter_Flags; /* ---------- Flag Checking Macros ------------ */ @@ -473,7 +473,7 @@ typedef enum eAnimChannel_Role { /** special purposes - not generally for hierarchy processing */ ACHANNEL_ROLE_SPECIAL = 0, /** data channel - a channel representing one of the actual building blocks of channels */ - ACHANNEL_ROLE_CHANNEL = 1 + ACHANNEL_ROLE_CHANNEL = 1, } eAnimChannel_Role; /* flag-setting behavior */ @@ -485,7 +485,7 @@ typedef enum eAnimChannels_SetFlag { /** on->off, off->on */ ACHANNEL_SETFLAG_INVERT = 2, /** some on -> all off // all on */ - ACHANNEL_SETFLAG_TOGGLE = 3 + ACHANNEL_SETFLAG_TOGGLE = 3, } eAnimChannels_SetFlag; /* types of settings for AnimChannels */ @@ -610,7 +610,7 @@ enum eAnimEditDraw_CurrentFrame { /* time indication in seconds or frames */ DRAWCFRA_UNIT_SECONDS = (1 << 0), /* draw indicator extra wide (for timeline) */ - DRAWCFRA_WIDE = (1 << 1) + DRAWCFRA_WIDE = (1 << 1), }; /* main call to draw current-frame indicator in an Animation Editor */ diff --git a/source/blender/editors/include/ED_keyframes_edit.h b/source/blender/editors/include/ED_keyframes_edit.h index 8a398c97506..0f477505f81 100644 --- a/source/blender/editors/include/ED_keyframes_edit.h +++ b/source/blender/editors/include/ED_keyframes_edit.h @@ -73,7 +73,7 @@ typedef enum eEditKeyframes_Select { /* remove ok keyframes from selection */ SELECT_SUBTRACT = (1 << 2), /* flip ok status of keyframes based on key status */ - SELECT_INVERT = (1 << 3) + SELECT_INVERT = (1 << 3), } eEditKeyframes_Select; /* "selection map" building modes */ @@ -134,7 +134,7 @@ typedef enum eKeyframeVertOk { /* 'handle 2' is ok */ KEYFRAME_OK_H2 = (1 << 2), /* all flags */ - KEYFRAME_OK_ALL = (KEYFRAME_OK_KEY | KEYFRAME_OK_H1 | KEYFRAME_OK_H2) + KEYFRAME_OK_ALL = (KEYFRAME_OK_KEY | KEYFRAME_OK_H1 | KEYFRAME_OK_H2), } eKeyframeVertOk; /* Flags for use during iteration */ diff --git a/source/blender/editors/include/ED_node.h b/source/blender/editors/include/ED_node.h index 8d652609fbc..e3a62f871a2 100644 --- a/source/blender/editors/include/ED_node.h +++ b/source/blender/editors/include/ED_node.h @@ -50,7 +50,7 @@ typedef enum { NODE_TOP = 1, NODE_BOTTOM = 2, NODE_LEFT = 4, - NODE_RIGHT = 8 + NODE_RIGHT = 8, } NodeBorder; #define NODE_GRID_STEPS 5 diff --git a/source/blender/editors/include/ED_screen_types.h b/source/blender/editors/include/ED_screen_types.h index e53f303ea39..9fe76512ad2 100644 --- a/source/blender/editors/include/ED_screen_types.h +++ b/source/blender/editors/include/ED_screen_types.h @@ -56,7 +56,7 @@ enum { /* don't drop frames (and ignore SCE_FRAME_DROP flag) */ ANIMPLAY_FLAG_NO_SYNC = (1 << 3), /* use nextfra at next timer update */ - ANIMPLAY_FLAG_USE_NEXT_FRAME = (1 << 4) + ANIMPLAY_FLAG_USE_NEXT_FRAME = (1 << 4), }; /* ----------------------------------------------------- */ diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index b3c3a6a9840..8a699d8c9fb 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -164,7 +164,7 @@ typedef enum { /** outside window bounds */ V3D_PROJ_RET_CLIP_WIN = 4, /** outside range (mainly for short), (can't avoid) */ - V3D_PROJ_RET_OVERFLOW = 5 + V3D_PROJ_RET_OVERFLOW = 5, } eV3DProjStatus; /* some clipping tests are optional */ @@ -173,7 +173,7 @@ typedef enum { V3D_PROJ_TEST_CLIP_BB = (1 << 0), V3D_PROJ_TEST_CLIP_WIN = (1 << 1), V3D_PROJ_TEST_CLIP_NEAR = (1 << 2), - V3D_PROJ_TEST_CLIP_ZERO = (1 << 3) + V3D_PROJ_TEST_CLIP_ZERO = (1 << 3), } eV3DProjTest; #define V3D_PROJ_TEST_CLIP_DEFAULT \ diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index e0969ff07b8..1454b0c1690 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1033,7 +1033,7 @@ enum { UI_CNR_BOTTOM_LEFT = 1 << 3, /* just for convenience */ UI_CNR_NONE = 0, - UI_CNR_ALL = (UI_CNR_TOP_LEFT | UI_CNR_TOP_RIGHT | UI_CNR_BOTTOM_RIGHT | UI_CNR_BOTTOM_LEFT) + UI_CNR_ALL = (UI_CNR_TOP_LEFT | UI_CNR_TOP_RIGHT | UI_CNR_BOTTOM_RIGHT | UI_CNR_BOTTOM_LEFT), }; uiLayout *UI_block_layout(uiBlock *block, int dir, int type, int x, int y, int size, int em, int padding, struct uiStyle *style); @@ -1329,7 +1329,7 @@ uiBut *UI_region_active_but_get(struct ARegion *ar); typedef enum eFontStyle_Align { UI_STYLE_TEXT_LEFT = 0, UI_STYLE_TEXT_CENTER = 1, - UI_STYLE_TEXT_RIGHT = 2 + UI_STYLE_TEXT_RIGHT = 2, } eFontStyle_Align; struct uiFontStyleDraw_Params { diff --git a/source/blender/editors/lattice/editlattice_tools.c b/source/blender/editors/lattice/editlattice_tools.c index 8c57a21c375..59eb5fbb8d0 100644 --- a/source/blender/editors/lattice/editlattice_tools.c +++ b/source/blender/editors/lattice/editlattice_tools.c @@ -135,7 +135,7 @@ void LATTICE_OT_make_regular(wmOperatorType *ot) typedef enum eLattice_FlipAxes { LATTICE_FLIP_U = 0, LATTICE_FLIP_V = 1, - LATTICE_FLIP_W = 2 + LATTICE_FLIP_W = 2, } eLattice_FlipAxes; /** diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index 9adf4c802a2..74b7b1edb8d 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -464,7 +464,7 @@ enum { SLIDE_ACTION_POINT = 1, SLIDE_ACTION_HANDLE = 2, SLIDE_ACTION_FEATHER = 3, - SLIDE_ACTION_SPLINE = 4 + SLIDE_ACTION_SPLINE = 4, }; typedef struct SlidePointData { diff --git a/source/blender/editors/mesh/editmesh_rip.c b/source/blender/editors/mesh/editmesh_rip.c index ff522430e2a..1f82432ba9c 100644 --- a/source/blender/editors/mesh/editmesh_rip.c +++ b/source/blender/editors/mesh/editmesh_rip.c @@ -409,7 +409,7 @@ typedef struct UnorderedLoopPair { } UnorderedLoopPair; enum { ULP_FLIP_0 = (1 << 0), - ULP_FLIP_1 = (1 << 1) + ULP_FLIP_1 = (1 << 1), }; static UnorderedLoopPair *edbm_tagged_loop_pairs_to_fill(BMesh *bm) diff --git a/source/blender/editors/object/object_bake.c b/source/blender/editors/object/object_bake.c index b760514ef32..a9efef2ab53 100644 --- a/source/blender/editors/object/object_bake.c +++ b/source/blender/editors/object/object_bake.c @@ -285,7 +285,7 @@ static DerivedMesh *multiresbake_create_hiresdm(Scene *scene, Object *ob, int *l typedef enum ClearFlag { CLEAR_TANGENT_NORMAL = 1, - CLEAR_DISPLACEMENT = 2 + CLEAR_DISPLACEMENT = 2, } ClearFlag; diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 31faa00db43..1e0fe094e2e 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -3630,7 +3630,7 @@ static void vgroup_sort_bone_hierarchy(Object *ob, ListBase *bonebase) enum { SORT_TYPE_NAME = 0, - SORT_TYPE_BONEHIERARCHY = 1 + SORT_TYPE_BONEHIERARCHY = 1, }; static int vertex_group_sort_exec(bContext *C, wmOperator *op) diff --git a/source/blender/editors/sculpt_paint/paint_image_undo.c b/source/blender/editors/sculpt_paint/paint_image_undo.c index e26a4811afc..2baa793d807 100644 --- a/source/blender/editors/sculpt_paint/paint_image_undo.c +++ b/source/blender/editors/sculpt_paint/paint_image_undo.c @@ -98,7 +98,7 @@ void image_undo_end_locks(void) typedef enum { COPY = 0, RESTORE = 1, - RESTORE_COPY = 2 + RESTORE_COPY = 2, } CopyMode; static void undo_copy_tile(UndoImageTile *tile, ImBuf *tmpibuf, ImBuf *ibuf, CopyMode mode) diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index 80911cf202f..7ff9faef1f7 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -561,13 +561,13 @@ typedef enum { typedef enum { STENCIL_PRIMARY = 0, - STENCIL_SECONDARY = 1 + STENCIL_SECONDARY = 1, } StencilTextureMode; typedef enum { STENCIL_CONSTRAINT_X = 1, - STENCIL_CONSTRAINT_Y = 2 + STENCIL_CONSTRAINT_Y = 2, } StencilConstraint; typedef struct { diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c index fe4472c76fe..7100bf33a47 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c @@ -544,7 +544,7 @@ typedef struct WPGradient_vertStore { float weight_orig; enum { VGRAD_STORE_NOP = 0, - VGRAD_STORE_DW_EXIST = (1 << 0) + VGRAD_STORE_DW_EXIST = (1 << 0), } flag; } WPGradient_vertStore; diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 4081f46708d..53c7d4aebbd 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -171,7 +171,7 @@ static bool sculpt_brush_needs_rake_rotation(const Brush *brush) typedef enum StrokeFlags { CLIP_X = 1, CLIP_Y = 2, - CLIP_Z = 4 + CLIP_Z = 4, } StrokeFlags; /************** Access to original unmodified vertex data *************/ diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 07e223c4534..6fc14e59e31 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -108,7 +108,7 @@ static void file_deselect_all(SpaceFile *sfile, unsigned int flag) typedef enum FileSelect { FILE_SELECT_NOTHING = 0, FILE_SELECT_DIR = 1, - FILE_SELECT_FILE = 2 + FILE_SELECT_FILE = 2, } FileSelect; static void clamp_to_filelist(int numfiles, FileSelection *sel) diff --git a/source/blender/editors/space_file/filelist.h b/source/blender/editors/space_file/filelist.h index 6d898ee2fe9..c095925d185 100644 --- a/source/blender/editors/space_file/filelist.h +++ b/source/blender/editors/space_file/filelist.h @@ -47,13 +47,13 @@ struct FileDirEntry; typedef enum FileSelType { FILE_SEL_REMOVE = 0, FILE_SEL_ADD = 1, - FILE_SEL_TOGGLE = 2 + FILE_SEL_TOGGLE = 2, } FileSelType; typedef enum FileCheckType { CHECK_DIRS = 1, CHECK_FILES = 2, - CHECK_ALL = 3 + CHECK_ALL = 3, } FileCheckType; struct ListBase *folderlist_new(void); diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 9db5237fdef..741777282f2 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -2382,7 +2382,7 @@ void IMAGE_OT_reload(wmOperatorType *ot) enum { GEN_CONTEXT_NONE = 0, GEN_CONTEXT_PAINT_CANVAS = 1, - GEN_CONTEXT_PAINT_STENCIL = 2 + GEN_CONTEXT_PAINT_STENCIL = 2, }; typedef struct ImageNewData { diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index 875cb22fb16..1bd47951956 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -84,7 +84,7 @@ enum { COM_RECALC_COMPOSITE = 1, - COM_RECALC_VIEWER = 2 + COM_RECALC_VIEWER = 2, }; typedef struct CompoJob { diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 10d2e15505e..401f76947bb 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -311,7 +311,7 @@ static void outliner_do_libdata_operation( /* ******************************************** */ typedef enum eOutliner_PropSceneOps { - OL_SCENE_OP_DELETE = 1 + OL_SCENE_OP_DELETE = 1, } eOutliner_PropSceneOps; static const EnumPropertyItem prop_scene_op_types[] = { diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c index 69f32c8eada..319b79c43f4 100644 --- a/source/blender/editors/space_view3d/view3d_fly.c +++ b/source/blender/editors/space_view3d/view3d_fly.c @@ -98,7 +98,7 @@ typedef enum eFlyPanState { /* mouse moved and checking needed, * if no view altering is done its changed back to #FLY_AXISLOCK_STATE_IDLE */ - FLY_AXISLOCK_STATE_ACTIVE = 2 + FLY_AXISLOCK_STATE_ACTIVE = 2, } eFlyPanState; /* called in transform_ops.c, on each regeneration of keymaps */ diff --git a/source/blender/editors/space_view3d/view3d_gizmo_ruler.c b/source/blender/editors/space_view3d/view3d_gizmo_ruler.c index ed5a1ab7720..2b0f7727677 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_ruler.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_ruler.c @@ -82,7 +82,7 @@ static const char *view3d_gzgt_ruler_id = "VIEW3D_GGT_ruler"; /* Ruler Item (we can have many) */ enum { RULERITEM_USE_ANGLE = (1 << 0), /* use protractor */ - RULERITEM_USE_RAYCAST = (1 << 1) + RULERITEM_USE_RAYCAST = (1 << 1), }; enum { diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index 7a3d2618f07..dfb1f389d37 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -59,7 +59,7 @@ struct wmWindowManager; enum { DRAW_PICKING = (1 << 0), DRAW_CONSTCOLOR = (1 << 1), - DRAW_SCENESET = (1 << 2) + DRAW_SCENESET = (1 << 2), }; /* view3d_header.c */ diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index 530c03d56f8..cd5c7e31efd 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -928,7 +928,7 @@ void setNearestAxis(TransInfo *t); typedef enum { NO_GEARS = 0, BIG_GEARS = 1, - SMALL_GEARS = 2 + SMALL_GEARS = 2, } GearsType; bool transformModeUseSnap(const TransInfo *t); diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index 7a96bc60fd4..cc1336d0827 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.c +++ b/source/blender/editors/uvedit/uvedit_parametrizer.c @@ -72,7 +72,7 @@ #endif typedef enum PBool { P_TRUE = 1, - P_FALSE = 0 + P_FALSE = 0, } PBool; /* Special Purpose Hash */ @@ -155,7 +155,7 @@ enum PVertFlag { PVERT_SELECT = 2, PVERT_INTERIOR = 4, PVERT_COLLAPSE = 8, - PVERT_SPLIT = 16 + PVERT_SPLIT = 16, }; enum PEdgeFlag { @@ -167,7 +167,7 @@ enum PEdgeFlag { PEDGE_FILLED = 32, PEDGE_COLLAPSE = 64, PEDGE_COLLAPSE_EDGE = 128, - PEDGE_COLLAPSE_PAIR = 256 + PEDGE_COLLAPSE_PAIR = 256, }; /* for flipping faces */ @@ -176,7 +176,7 @@ enum PEdgeFlag { enum PFaceFlag { PFACE_CONNECTED = 1, PFACE_FILLED = 2, - PFACE_COLLAPSE = 4 + PFACE_COLLAPSE = 4, }; /* Chart */ @@ -208,7 +208,7 @@ typedef struct PChart { } PChart; enum PChartFlag { - PCHART_HAS_PINS = 1 + PCHART_HAS_PINS = 1, }; enum PHandleState { diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.h b/source/blender/editors/uvedit/uvedit_parametrizer.h index 1930e0a9e8e..b46064e6f81 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.h +++ b/source/blender/editors/uvedit/uvedit_parametrizer.h @@ -37,7 +37,7 @@ typedef void ParamHandle; /* handle to a set of charts */ typedef intptr_t ParamKey; /* (hash) key for identifying verts and faces */ typedef enum ParamBool { PARAM_TRUE = 1, - PARAM_FALSE = 0 + PARAM_FALSE = 0, } ParamBool; /* Chart construction: |