diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 17:40:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 17:40:47 +0300 |
commit | dbc058301bf516a53b92b9c45b5c4f3ecc33ecf4 (patch) | |
tree | d93fb65825e40300f68707ae75718773bc73678f /source/blender/makesdna | |
parent | d217b23f735cb9232d86c7730ed0a0aa45e3074e (diff) |
Cleanup: trailing commas
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 18 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_boid_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_constraint_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_object_force_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_rigidbody_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_shader_fx_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 2 |
12 files changed, 31 insertions, 31 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index c2f69093137..9125d8e6b60 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -90,7 +90,7 @@ typedef enum eFModifier_Types { FMODIFIER_TYPE_STEPPED = 9, /* NOTE: all new modifiers must be added above this line */ - FMODIFIER_NUM_TYPES + FMODIFIER_NUM_TYPES, } eFModifier_Types; /** F-Curve Modifier Settings. */ @@ -227,7 +227,7 @@ typedef enum eFMod_Cycling_Modes { /** repeat keyframe range, but with offset based on gradient between values */ FCM_EXTRAPOLATE_CYCLIC_OFFSET, /** alternate between forward and reverse playback of keyframe range */ - FCM_EXTRAPOLATE_MIRROR + FCM_EXTRAPOLATE_MIRROR, } eFMod_Cycling_Modes; @@ -278,7 +278,7 @@ typedef enum eFMod_Noise_Modifications { /** Subtract noise from the curve. */ FCM_NOISE_MODIF_SUBTRACT, /** Multiply the curve by noise. */ - FCM_NOISE_MODIF_MULTIPLY + FCM_NOISE_MODIF_MULTIPLY, } eFMod_Noise_Modifications; @@ -366,7 +366,7 @@ typedef enum eDriverTarget_TransformChannels { DTAR_TRANSCHAN_SCALEY, DTAR_TRANSCHAN_SCALEZ, - MAX_DTAR_TRANSCHAN_TYPES + MAX_DTAR_TRANSCHAN_TYPES, } eDriverTarget_TransformChannels; /* --- */ @@ -422,7 +422,7 @@ typedef enum eDriverVar_Types { * \note This must always be th last item in this list, * so add new types above this line. */ - MAX_DVAR_TYPES + MAX_DVAR_TYPES, } eDriverVar_Types; /* Driver Variable Flags */ @@ -513,7 +513,7 @@ typedef enum eDriver_Types { /** smallest value. */ DRIVER_TYPE_MIN, /** largest value. */ - DRIVER_TYPE_MAX + DRIVER_TYPE_MAX, } eDriver_Types; /** Driver flags. */ @@ -636,7 +636,7 @@ typedef enum eFCurve_Extend { /** just extend min/max keyframe value */ FCURVE_EXTRAPOLATE_CONSTANT = 0, /** just extend gradient of segment between first segment keyframes */ - FCURVE_EXTRAPOLATE_LINEAR + FCURVE_EXTRAPOLATE_LINEAR, } eFCurve_Extend; /* curve coloring modes */ @@ -800,7 +800,7 @@ typedef enum eNlaStrip_Type { NLASTRIP_TYPE_META, /* 'emit sound' - a strip which is used for timing when speaker emits sounds */ - NLASTRIP_TYPE_SOUND + NLASTRIP_TYPE_SOUND, } eNlaStrip_Type; /* NLA Tracks ------------------------------------- */ @@ -904,7 +904,7 @@ typedef enum eKSP_Grouping { KSP_GROUP_KSNAME, /** Path should be grouped using name of inner-most context item from templates * - this is most useful for relative KeyingSets only. */ - KSP_GROUP_TEMPLATE_ITEM + KSP_GROUP_TEMPLATE_ITEM, } eKSP_Grouping; /* ---------------- */ diff --git a/source/blender/makesdna/DNA_boid_types.h b/source/blender/makesdna/DNA_boid_types.h index 6c68ca69363..b9ea97ca27f 100644 --- a/source/blender/makesdna/DNA_boid_types.h +++ b/source/blender/makesdna/DNA_boid_types.h @@ -54,7 +54,7 @@ typedef enum eBoidRuleType { /** move next to a deflector object's in direction of it's tangent */ eBoidRuleType_FollowWall = 12, #endif - NUM_BOID_RULE_TYPES + NUM_BOID_RULE_TYPES, } eBoidRuleType; /* boidrule->flag */ @@ -108,7 +108,7 @@ typedef enum eBoidMode { eBoidMode_Climbing = 2, eBoidMode_Falling = 3, eBoidMode_Liftoff = 4, - NUM_BOID_MODES + NUM_BOID_MODES, } eBoidMode; @@ -150,7 +150,7 @@ typedef enum eBoidRulesetType { eBoidRulesetType_Fuzzy = 0, eBoidRulesetType_Random = 1, eBoidRulesetType_Average = 2, - NUM_BOID_RULESET_TYPES + NUM_BOID_RULESET_TYPES, } eBoidRulesetType; #define BOIDSTATE_CURRENT 1 typedef struct BoidState { diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 9aa6ff8c1c8..63203b70f42 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -353,12 +353,12 @@ typedef struct PaintCurve { typedef enum eBrushGradientSourceStroke { BRUSH_GRADIENT_PRESSURE = 0, /* gradient from pressure */ BRUSH_GRADIENT_SPACING_REPEAT = 1, /* gradient from spacing */ - BRUSH_GRADIENT_SPACING_CLAMP = 2 /* gradient from spacing */ + BRUSH_GRADIENT_SPACING_CLAMP = 2, /* gradient from spacing */ } eBrushGradientSourceStroke; typedef enum eBrushGradientSourceFill { BRUSH_GRADIENT_LINEAR = 0, /* gradient from pressure */ - BRUSH_GRADIENT_RADIAL = 1 /* gradient from spacing */ + BRUSH_GRADIENT_RADIAL = 1, /* gradient from spacing */ } eBrushGradientSourceFill; /* Brush.flag */ @@ -531,7 +531,7 @@ typedef enum { /* blur kernel types, Brush.blur_mode */ typedef enum eBlurKernelType { KERNEL_GAUSSIAN, - KERNEL_BOX + KERNEL_BOX, } eBlurKernelType; /* Brush.falloff_shape */ diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index 51ff301abf2..a7e44bea149 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -662,7 +662,7 @@ typedef enum eBConstraint_Types { CONSTRAINT_TYPE_ARMATURE = 30, /* NOTE: no constraints are allowed to be added after this */ - NUM_CONSTRAINT_TYPES + NUM_CONSTRAINT_TYPES, } eBConstraint_Types; /* bConstraint->flag */ @@ -704,7 +704,7 @@ typedef enum eBConstraint_SpaceTypes { /** For posechannels - local with parent. */ CONSTRAINT_SPACE_PARLOCAL = 3, /** For files from between 2.43-2.46 (should have been parlocal). */ - CONSTRAINT_SPACE_INVALID = 4 /* do not exchange for anything! */ + CONSTRAINT_SPACE_INVALID = 4, /* do not exchange for anything! */ } eBConstraint_SpaceTypes; /* bConstraintChannel.flag */ @@ -790,7 +790,7 @@ typedef enum eTrackToAxis_Modes { TRACK_Z = 2, TRACK_nX = 3, TRACK_nY = 4, - TRACK_nZ = 5 + TRACK_nZ = 5, } eTrackToAxis_Modes; /* Shrinkwrap flags */ diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 9e930ddec57..cbaae451756 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -48,7 +48,7 @@ typedef enum GpencilModifierType { eGpencilModifierType_Mirror = 14, eGpencilModifierType_Armature = 15, eGpencilModifierType_Time = 16, - NUM_GREASEPENCIL_MODIFIER_TYPES + NUM_GREASEPENCIL_MODIFIER_TYPES, } GpencilModifierType; typedef enum GpencilModifierMode { diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index dc752cc0bc9..6ac48c72505 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -241,7 +241,7 @@ typedef enum eGPDstroke_Caps { GP_STROKE_CAP_ROUND = 0, GP_STROKE_CAP_FLAT = 1, - GP_STROKE_CAP_MAX + GP_STROKE_CAP_MAX, } GPDstroke_Caps; /* ***************************************** */ @@ -626,7 +626,7 @@ typedef enum eGP_DepthOrdering { /* draw modes (Use 2D or 3D position) */ typedef enum eGP_DrawMode { GP_DRAWMODE_2D = 0, - GP_DRAWMODE_3D = 1 + GP_DRAWMODE_3D = 1, } eGP_DrawMode; /* ***************************************** */ diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index fcdfb4fcf44..0ee58b5397b 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -88,7 +88,7 @@ typedef enum ModifierType { eModifierType_MeshSequenceCache = 52, eModifierType_SurfaceDeform = 53, eModifierType_WeightedNormal = 54, - NUM_MODIFIER_TYPES + NUM_MODIFIER_TYPES, } ModifierType; typedef enum ModifierMode { @@ -99,7 +99,7 @@ typedef enum ModifierMode { eModifierMode_Expanded = (1 << 4), eModifierMode_Virtual = (1 << 5), eModifierMode_ApplyOnSpline = (1 << 6), - eModifierMode_DisableTemporary = (1u << 31) + eModifierMode_DisableTemporary = (1u << 31), } ModifierMode; typedef struct ModifierData { diff --git a/source/blender/makesdna/DNA_object_force_types.h b/source/blender/makesdna/DNA_object_force_types.h index edd5d305683..df77bbc5744 100644 --- a/source/blender/makesdna/DNA_object_force_types.h +++ b/source/blender/makesdna/DNA_object_force_types.h @@ -62,7 +62,7 @@ typedef enum ePFieldType { /** Force based on smoke simulation air flow. */ PFIELD_SMOKEFLOW = 13, - NUM_PFIELD_TYPES + NUM_PFIELD_TYPES, } ePFieldType; typedef struct PartDeflect { diff --git a/source/blender/makesdna/DNA_rigidbody_types.h b/source/blender/makesdna/DNA_rigidbody_types.h index a3a2a0e0124..4859bf6eda9 100644 --- a/source/blender/makesdna/DNA_rigidbody_types.h +++ b/source/blender/makesdna/DNA_rigidbody_types.h @@ -172,7 +172,7 @@ typedef enum eRigidBodyOb_Type { /* active geometry participant in simulation. is directly controlled by sim */ RBO_TYPE_ACTIVE = 0, /* passive geometry participant in simulation. is directly controlled by animsys */ - RBO_TYPE_PASSIVE + RBO_TYPE_PASSIVE, } eRigidBodyOb_Type; /* Flags for RigidBodyOb */ @@ -223,7 +223,7 @@ typedef enum eRigidBody_MeshSource { /* only deformations */ RBO_MESH_DEFORM, /* final derived mesh */ - RBO_MESH_FINAL + RBO_MESH_FINAL, } eRigidBody_MeshSource; /* ******************************** */ diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 49ebc9b9bac..9f81eb854ea 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1053,7 +1053,7 @@ typedef enum eGP_Lockaxis_Types { GP_LOCKAXIS_X = 1, GP_LOCKAXIS_Y = 2, GP_LOCKAXIS_Z = 3, - GP_LOCKAXIS_CURSOR = 4 + GP_LOCKAXIS_CURSOR = 4, } eGP_Lockaxis_Types; /* Settings for a GPencil Stroke Sculpting Brush */ @@ -2331,14 +2331,14 @@ typedef enum eGPencil_GuideTypes { GP_GUIDE_CIRCULAR = 0, GP_GUIDE_RADIAL, GP_GUIDE_PARALLEL, - GP_GUIDE_GRID + GP_GUIDE_GRID, } eGPencil_GuideTypes; /* ToolSettings.gpencil_guide_references */ typedef enum eGPencil_Guide_Reference { GP_GUIDE_REF_CURSOR = 0, GP_GUIDE_REF_CUSTOM, - GP_GUIDE_REF_OBJECT + GP_GUIDE_REF_OBJECT, } eGPencil_Guide_Reference; /* ToolSettings.particle flag */ diff --git a/source/blender/makesdna/DNA_shader_fx_types.h b/source/blender/makesdna/DNA_shader_fx_types.h index 54922d78fae..2b12d522245 100644 --- a/source/blender/makesdna/DNA_shader_fx_types.h +++ b/source/blender/makesdna/DNA_shader_fx_types.h @@ -42,7 +42,7 @@ typedef enum ShaderFxType { eShaderFxType_Colorize = 8, eShaderFxType_Shadow = 9, eShaderFxType_Glow = 10, - NUM_SHADER_FX_TYPES + NUM_SHADER_FX_TYPES, } ShaderFxType; typedef enum ShaderFxMode { diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 2b1a6adb344..919afef4b32 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -198,7 +198,7 @@ typedef enum eSpaceButtons_Context { BCONTEXT_OUTPUT = 16, /* always as last... */ - BCONTEXT_TOT + BCONTEXT_TOT, } eSpaceButtons_Context; /* SpaceProperties.flag */ |