diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 04:52:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 04:52:28 +0300 |
commit | b45c3363fd65a734a87d0917988fda6ae9d9df3c (patch) | |
tree | 71a86ce7388b6b1829d06a48547943890363325a /source/blender/editors/include | |
parent | 9e5577db47c8b9c85d49bec0e0b8050dcae0b513 (diff) |
fix for some pedantic warnings.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_anim_api.h | 14 | ||||
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 2 | ||||
-rw-r--r-- | source/blender/editors/include/ED_keyframes_edit.h | 10 | ||||
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 | ||||
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 6 |
5 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index ce2d6044e1a..82f84a8d62f 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -88,7 +88,7 @@ typedef enum eAnimCont_Types { ANIMCONT_DOPESHEET, /* dopesheet (bDopesheet) */ ANIMCONT_FCURVES, /* animation F-Curves (bDopesheet) */ ANIMCONT_DRIVERS, /* drivers (bDopesheet) */ - ANIMCONT_NLA, /* nla (bDopesheet) */ + ANIMCONT_NLA /* nla (bDopesheet) */ } eAnimCont_Types; /* --------------- Channels -------------------- */ @@ -163,7 +163,7 @@ typedef enum eAnim_ChannelType { ANIMTYPE_NLAACTION, /* always as last item, the total number of channel types... */ - ANIMTYPE_NUM_TYPES, + ANIMTYPE_NUM_TYPES } eAnim_ChannelType; /* types of keyframe data in bAnimListElem */ @@ -177,7 +177,7 @@ typedef enum eAnim_KeyType { ALE_SCE, /* Scene summary */ ALE_OB, /* Object summary */ ALE_ACT, /* Action summary */ - ALE_GROUP, /* Action Group summary */ + ALE_GROUP /* Action Group summary */ } eAnim_KeyType; /* ----------------- Filtering -------------------- */ @@ -327,7 +327,7 @@ typedef enum eAnimChannels_SetFlag { ACHANNEL_SETFLAG_CLEAR = 0, /* turn off */ ACHANNEL_SETFLAG_ADD, /* turn on */ ACHANNEL_SETFLAG_INVERT, /* on->off, off->on */ - ACHANNEL_SETFLAG_TOGGLE, /* some on -> all off // all on */ + ACHANNEL_SETFLAG_TOGGLE /* some on -> all off // all on */ } eAnimChannels_SetFlag; /* types of settings for AnimChannels */ @@ -337,7 +337,7 @@ typedef enum eAnimChannel_Settings { ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_VISIBLE, /* only for Graph Editor */ - ACHANNEL_SETTING_SOLO, /* only for NLA Tracks */ + ACHANNEL_SETTING_SOLO /* only for NLA Tracks */ } eAnimChannel_Settings; @@ -444,7 +444,7 @@ enum { /* time indication in seconds or frames */ DRAWCFRA_UNIT_SECONDS = (1<<1), /* show time-offset line */ - DRAWCFRA_SHOW_TIMEOFS = (1<<2), + DRAWCFRA_SHOW_TIMEOFS = (1<<2) } eAnimEditDraw_CurrentFrame; /* main call to draw current-frame indicator in an Animation Editor */ @@ -519,7 +519,7 @@ typedef enum eAnimUnitConv_Flags { /* only touch selected BezTriples */ ANIM_UNITCONV_ONLYSEL = (1<<2), /* only touch selected vertices */ - ANIM_UNITCONV_SELVERTS = (1<<3), + ANIM_UNITCONV_SELVERTS = (1<<3) } eAnimUnitConv_Flags; /* Get unit conversion factor for given ID + F-Curve */ diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index b59ac68e328..55d4c2db3f6 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -65,7 +65,7 @@ int mouse_nurb (struct bContext *C, short mval[2], int extend); struct Nurb *add_nurbs_primitive(struct bContext *C, float mat[4][4], int type, int newob); -int isNurbsel (struct Nurb *nu);; +int isNurbsel (struct Nurb *nu); int join_curve_exec (struct bContext *C, struct wmOperator *op); diff --git a/source/blender/editors/include/ED_keyframes_edit.h b/source/blender/editors/include/ED_keyframes_edit.h index 60f2526191c..5ea9287a71e 100644 --- a/source/blender/editors/include/ED_keyframes_edit.h +++ b/source/blender/editors/include/ED_keyframes_edit.h @@ -53,7 +53,7 @@ typedef enum eEditKeyframes_Validate { BEZT_OK_SELECTED, BEZT_OK_VALUE, BEZT_OK_VALUERANGE, - BEZT_OK_REGION, + BEZT_OK_REGION } eEditKeyframes_Validate; /* ------------ */ @@ -67,13 +67,13 @@ 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 */ typedef enum eEditKeyframes_SelMap { SELMAP_MORE = 0, - SELMAP_LESS, + SELMAP_LESS } eEditKeyframes_SelMap; /* snapping tools */ @@ -83,7 +83,7 @@ typedef enum eEditKeyframes_Snap { SNAP_KEYS_NEARSEC, SNAP_KEYS_NEARMARKER, SNAP_KEYS_HORIZONTAL, - SNAP_KEYS_VALUE, + SNAP_KEYS_VALUE } eEditKeyframes_Snap; /* mirroring tools */ @@ -92,7 +92,7 @@ typedef enum eEditKeyframes_Mirror { MIRROR_KEYS_YAXIS, MIRROR_KEYS_XAXIS, MIRROR_KEYS_MARKER, - MIRROR_KEYS_VALUE, + MIRROR_KEYS_VALUE } eEditKeyframes_Mirror; /* ************************************************ */ diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index c0b2843d62b..8e5b4ee3abd 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -338,7 +338,7 @@ enum { UI_BLOCK_BOUNDS_TEXT, UI_BLOCK_BOUNDS_POPUP_MOUSE, UI_BLOCK_BOUNDS_POPUP_MENU, - UI_BLOCK_BOUNDS_POPUP_CENTER, + UI_BLOCK_BOUNDS_POPUP_CENTER } eBlockBoundsCalc; void uiBoundsBlock(struct uiBlock *block, int addval); diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index 9afa7dd012a..d44e74ff54d 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -57,7 +57,7 @@ enum { /* headers (this is basically the same as listview, but no y-panning) */ V2D_COMMONVIEW_HEADER, /* ui region containing panels */ - V2D_COMMONVIEW_PANELS_UI, + V2D_COMMONVIEW_PANELS_UI } eView2D_CommonViewTypes; /* ---- Defines for Scroller/Grid Arguments ----- */ @@ -76,13 +76,13 @@ enum { V2D_UNIT_VALUES, V2D_UNIT_DEGREES, V2D_UNIT_TIME, - V2D_UNIT_SECONDSSEQ, + V2D_UNIT_SECONDSSEQ } eView2D_Units; /* clamping of grid values to whole numbers */ enum { V2D_GRID_NOCLAMP = 0, - V2D_GRID_CLAMP, + V2D_GRID_CLAMP } eView2D_Clamp; /* flags for grid-lines to draw */ |