Cleanup: commas at the end of enums
authorCampbell Barton <ideasman42@gmail.com>
Tue, 15 Jan 2019 12:57:49 +0000 (23:57 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 15 Jan 2019 13:03:03 +0000 (00:03 +1100)
Without this clang-format may wrap them onto a single line.

106 files changed:
source/blender/blenkernel/BKE_action.h
source/blender/blenkernel/BKE_animsys.h
source/blender/blenkernel/BKE_fcurve.h
source/blender/blenkernel/BKE_gpencil.h
source/blender/blenkernel/BKE_image.h
source/blender/blenkernel/BKE_mask.h
source/blender/blenkernel/BKE_multires.h
source/blender/blenkernel/BKE_paint.h
source/blender/blenkernel/BKE_subsurf.h
source/blender/blenkernel/BKE_text.h
source/blender/blenkernel/intern/pbvh_intern.h
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/blenlib/BLI_task.h
source/blender/blenloader/BLO_readfile.h
source/blender/bmesh/bmesh_class.h
source/blender/bmesh/intern/bmesh_iterators.h
source/blender/bmesh/intern/bmesh_walkers.h
source/blender/bmesh/operators/bmo_extrude.c
source/blender/bmesh/operators/bmo_hull.c
source/blender/bmesh/tools/bmesh_decimate_collapse.c
source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c
source/blender/collada/AnimationImporter.h
source/blender/collada/Materials.h
source/blender/compositor/COM_defines.h
source/blender/compositor/intern/COM_ExecutionGroup.h
source/blender/compositor/intern/COM_MemoryBuffer.h
source/blender/compositor/intern/COM_NodeOperation.h
source/blender/compositor/intern/COM_SocketReader.h
source/blender/compositor/operations/COM_FastGaussianBlurOperation.h
source/blender/compositor/operations/COM_KeyingBlurOperation.h
source/blender/depsgraph/DEG_depsgraph_physics.h
source/blender/depsgraph/intern/nodes/deg_node_operation.h
source/blender/editors/animation/anim_channels_edit.c
source/blender/editors/armature/pose_slide.c
source/blender/editors/gpencil/drawgpencil.c
source/blender/editors/gpencil/gpencil_armature.c
source/blender/editors/gpencil/gpencil_data.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_intern.h
source/blender/editors/include/ED_anim_api.h
source/blender/editors/include/ED_keyframes_edit.h
source/blender/editors/include/ED_node.h
source/blender/editors/include/ED_screen_types.h
source/blender/editors/include/ED_view3d.h
source/blender/editors/include/UI_interface.h
source/blender/editors/lattice/editlattice_tools.c
source/blender/editors/mask/mask_ops.c
source/blender/editors/mesh/editmesh_rip.c
source/blender/editors/object/object_bake.c
source/blender/editors/object/object_vgroup.c
source/blender/editors/sculpt_paint/paint_image_undo.c
source/blender/editors/sculpt_paint/paint_ops.c
source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_file/filelist.h
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_outliner/outliner_tools.c
source/blender/editors/space_view3d/view3d_fly.c
source/blender/editors/space_view3d/view3d_gizmo_ruler.c
source/blender/editors/space_view3d/view3d_intern.h
source/blender/editors/transform/transform.h
source/blender/editors/uvedit/uvedit_parametrizer.c
source/blender/editors/uvedit/uvedit_parametrizer.h
source/blender/gpu/GPU_extensions.h
source/blender/gpu/GPU_material.h
source/blender/gpu/GPU_primitive.h
source/blender/gpu/intern/gpu_material.c
source/blender/ikplugin/intern/itasc_plugin.cpp
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/IMB_imbuf_types.h
source/blender/makesdna/DNA_action_types.h
source/blender/makesdna/DNA_anim_types.h
source/blender/makesdna/DNA_armature_types.h
source/blender/makesdna/DNA_brush_types.h
source/blender/makesdna/DNA_color_types.h
source/blender/makesdna/DNA_constraint_types.h
source/blender/makesdna/DNA_curve_types.h
source/blender/makesdna/DNA_customdata_types.h
source/blender/makesdna/DNA_genfile.h
source/blender/makesdna/DNA_gpencil_modifier_types.h
source/blender/makesdna/DNA_gpencil_types.h
source/blender/makesdna/DNA_image_types.h
source/blender/makesdna/DNA_key_types.h
source/blender/makesdna/DNA_mask_types.h
source/blender/makesdna/DNA_material_types.h
source/blender/makesdna/DNA_movieclip_types.h
source/blender/makesdna/DNA_nla_types.h
source/blender/makesdna/DNA_node_types.h
source/blender/makesdna/DNA_object_types.h
source/blender/makesdna/DNA_packedFile_types.h
source/blender/makesdna/DNA_rigidbody_types.h
source/blender/makesdna/DNA_scene_types.h
source/blender/makesdna/DNA_screen_types.h
source/blender/makesdna/DNA_sequence_types.h
source/blender/makesdna/DNA_shader_fx_types.h
source/blender/makesdna/DNA_sound_types.h
source/blender/makesdna/DNA_space_types.h
source/blender/makesdna/DNA_tracking_types.h
source/blender/makesdna/DNA_userdef_types.h
source/blender/modifiers/intern/MOD_skin.c
source/blender/render/intern/include/render_types.h
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_playanim.c
source/blender/windowmanager/intern/wm_window.c

index 7f4feb6c2d553e9bb886780bb621d7d865660063..4e5afde97e0922187378a8afc2980f2f710d2cf8 100644 (file)
@@ -90,7 +90,7 @@ typedef enum eAction_TransformFlags {
 
        /* all flags */
        ACT_TRANS_ONLY  = (ACT_TRANS_LOC | ACT_TRANS_ROT | ACT_TRANS_SCALE),
-       ACT_TRANS_ALL   = (ACT_TRANS_ONLY | ACT_TRANS_PROP)
+       ACT_TRANS_ALL   = (ACT_TRANS_ONLY | ACT_TRANS_PROP),
 } eAction_TransformFlags;
 
 /* Return flags indicating which transforms the given object/posechannel has
index b49eb1829814b7d645caa8fcd51a8d3979de44fb..0ed0339c5f8f9d602c50382d4e22109ddf00e1b8 100644 (file)
@@ -87,7 +87,7 @@ typedef enum eAnimData_MergeCopy_Modes {
        ADT_MERGECOPY_SRC_COPY = 1,
 
        /* Use src action (but just reference the existing version) */
-       ADT_MERGECOPY_SRC_REF  = 2
+       ADT_MERGECOPY_SRC_REF  = 2,
 } eAnimData_MergeCopy_Modes;
 
 void BKE_animdata_merge_copy(
index f64909305305eebad026c2e83524768e4a06aa21..fd39e735fd7d4d3c3411152923cfc46c8a2262eb 100644 (file)
@@ -183,7 +183,7 @@ typedef enum eFMI_Requirement_Flags {
        FMI_REQUIRES_RUNTIME_CHECK      = (1 << 2),
 
        /* Requires to store data shared between time and valua evaluation */
-       FMI_REQUIRES_STORAGE            = (1 << 3)
+       FMI_REQUIRES_STORAGE            = (1 << 3),
 } eFMI_Requirement_Flags;
 
 /* Function Prototypes for FModifierTypeInfo's */
index 02495f861ab7cf4c09571bdba89f14c008487654..8c680feb04cb00e1a28313eb26585d5634a7b1c9 100644 (file)
@@ -127,7 +127,7 @@ typedef enum eGP_GetFrame_Mode {
        /* Add a new empty/blank frame */
        GP_GETFRAME_ADD_NEW   = 1,
        /* Make a copy of the active frame */
-       GP_GETFRAME_ADD_COPY  = 2
+       GP_GETFRAME_ADD_COPY  = 2,
 } eGP_GetFrame_Mode;
 
 struct bGPDframe *BKE_gpencil_layer_getframe(struct bGPDlayer *gpl, int cframe, eGP_GetFrame_Mode addnew);
index 4bcb8e0c15dcf83ecc209135c4473ff658a052dc..0b21ecf8e0294cb40f49d4966e63d2acab887c35 100644 (file)
@@ -147,7 +147,7 @@ struct RenderResult;
 enum {
        IMA_GENTYPE_BLANK = 0,
        IMA_GENTYPE_GRID = 1,
-       IMA_GENTYPE_GRID_COLOR = 2
+       IMA_GENTYPE_GRID_COLOR = 2,
 };
 
 /* ima->ok */
index 976ee5b2691273227ab1d877dacf5c2c5ad4a930..e0383f7e5baadc3190e1adaef5d46000a7c5fc79 100644 (file)
@@ -99,7 +99,7 @@ struct BezTriple *BKE_mask_spline_point_next_bezt(struct MaskSpline *spline, str
 typedef enum {
        MASK_PROJ_NEG = -1,
        MASK_PROJ_ANY = 0,
-       MASK_PROJ_POS = 1
+       MASK_PROJ_POS = 1,
 } eMaskSign;
 float BKE_mask_spline_project_co(struct MaskSpline *spline, struct MaskSplinePoint *point,
                                  float start_u, const float co[2], const eMaskSign sign);
index bc01cc6b45c0cabbe8cf44ebc25445c0804f37c3..7cefda3330d18eff738973c0972845248276195d 100644 (file)
@@ -74,7 +74,7 @@ typedef enum {
        MULTIRES_USE_LOCAL_MMD = 1,
        MULTIRES_USE_RENDER_PARAMS = 2,
        MULTIRES_ALLOC_PAINT_MASK = 4,
-       MULTIRES_IGNORE_SIMPLIFY = 8
+       MULTIRES_IGNORE_SIMPLIFY = 8,
 } MultiresFlags;
 
 struct DerivedMesh *multires_make_derived_from_derived(struct DerivedMesh *dm,
index 00425de50e07f7ddd529295754ba8d3406b92477..4f9c0f4ee2e4af2990957469e7c462ffde0fae5d 100644 (file)
@@ -99,7 +99,7 @@ typedef enum eOverlayControlFlags {
        PAINT_OVERLAY_INVALID_CURVE = (1 << 3),
        PAINT_OVERLAY_OVERRIDE_CURSOR = (1 << 4),
        PAINT_OVERLAY_OVERRIDE_PRIMARY = (1 << 5),
-       PAINT_OVERLAY_OVERRIDE_SECONDARY = (1 << 6)
+       PAINT_OVERLAY_OVERRIDE_SECONDARY = (1 << 6),
 } eOverlayControlFlags;
 
 #define PAINT_OVERRIDE_MASK \
@@ -297,6 +297,6 @@ struct PBVH *BKE_sculpt_object_pbvh_ensure(struct Depsgraph *depsgraph, struct O
 
 enum {
        SCULPT_MASK_LAYER_CALC_VERT = (1 << 0),
-       SCULPT_MASK_LAYER_CALC_LOOP = (1 << 1)
+       SCULPT_MASK_LAYER_CALC_LOOP = (1 << 1),
 };
 #endif
index 6cb09ff8822e9056366c2ea12f221f8e37f7877c..ba367854c6bac88641e3206e9e02a98094011649 100644 (file)
@@ -97,7 +97,7 @@ typedef enum MultiresModifiedFlags {
         * have to be updated */
        MULTIRES_COORDS_MODIFIED = 1,
        /* indicates elements have been hidden or unhidden */
-       MULTIRES_HIDDEN_MODIFIED = 2
+       MULTIRES_HIDDEN_MODIFIED = 2,
 } MultiresModifiedFlags;
 
 /**************************** Internal *****************************/
index e7a8fb1c4a93516262b218f197377c89bffc70fe..41fca2af360611c9447ade3b65440393edc98a13 100644 (file)
@@ -127,7 +127,7 @@ extern int text_check_identifier_nodigit_unicode(const unsigned int ch);
 
 enum {
        TXT_MOVE_LINE_UP   = -1,
-       TXT_MOVE_LINE_DOWN =  1
+       TXT_MOVE_LINE_DOWN =  1,
 };
 
 typedef struct TextUndoBuf {
index ea8bd1933cd130ccfba7ed50f7e88e7f0680c3e9..12e353e7366095e2aa7eb308f75378b1d973593a 100644 (file)
@@ -112,7 +112,7 @@ struct PBVHNode {
 };
 
 typedef enum {
-       PBVH_DYNTOPO_SMOOTH_SHADING = 1
+       PBVH_DYNTOPO_SMOOTH_SHADING = 1,
 } PBVHFlags;
 
 typedef struct PBVHBMeshLog PBVHBMeshLog;
index bba3e97cad7e7c5c9e0a19fc5b6824114d312f0f..d51cde49072570785c16f986ff4e754b9829187a 100644 (file)
@@ -126,7 +126,7 @@ typedef enum {
        CCG_CALC_NORMALS = 4,
        /* add an extra four bytes for a mask layer */
        CCG_ALLOC_MASK = 8,
-       CCG_SIMPLE_SUBDIV = 16
+       CCG_SIMPLE_SUBDIV = 16,
 } CCGFlags;
 
 static CCGSubSurf *_getSubSurf(CCGSubSurf *prevSS, int subdivLevels,
index 8300f6242db2ec8c4e6acfd6dd255c16d844d670..fe322a18c73d316baabbdadf771a14828ae7d17a 100644 (file)
@@ -52,7 +52,7 @@ typedef struct TaskScheduler TaskScheduler;
 
 enum {
        TASK_SCHEDULER_AUTO_THREADS = 0,
-       TASK_SCHEDULER_SINGLE_THREAD = 1
+       TASK_SCHEDULER_SINGLE_THREAD = 1,
 };
 
 TaskScheduler *BLI_task_scheduler_create(int num_threads);
index 99226b57fe2adc798f293dd0137edb9d57e83013..0a4832ef6041e3ea2f05015e6c8816741dd1e9e5 100644 (file)
@@ -57,7 +57,7 @@ typedef struct BlendHandle BlendHandle;
 typedef enum eBlenFileType {
        BLENFILETYPE_BLEND = 1,
        BLENFILETYPE_PUB = 2,
-       BLENFILETYPE_RUNTIME = 3
+       BLENFILETYPE_RUNTIME = 3,
 } eBlenFileType;
 
 typedef struct BlendFileData {
index 70884454ce5f7c6e2aba7ebbc9330b3a0ee886a2..7300615659be49542bbc10970fd4b200042abee7 100644 (file)
@@ -265,7 +265,7 @@ enum {
        BM_VERT = 1,
        BM_EDGE = 2,
        BM_LOOP = 4,
-       BM_FACE = 8
+       BM_FACE = 8,
 };
 
 typedef struct BMLoopNorEditData {
index ab0666820817909a6039aa9453b2bc1e8fb9712b..0ae7e1f805b3ad1f18a4d2175a7252038b85d291 100644 (file)
@@ -75,7 +75,7 @@ typedef enum BMIterType {
         * from the other faces in the radial cycle surrounding the
         * input loop's edge.*/
        BM_LOOPS_OF_LOOP = 12,
-       BM_LOOPS_OF_EDGE = 13
+       BM_LOOPS_OF_EDGE = 13,
 } BMIterType;
 
 #define BM_ITYPE_MAX 14
index b2373a069dbc639287c70cc02398556f6ac48261..08b3f87bd1a31bf589116620121de433eca7a99c 100644 (file)
@@ -38,7 +38,7 @@ typedef enum {
 
 typedef enum {
        BMW_FLAG_NOP = 0,
-       BMW_FLAG_TEST_HIDDEN = (1 << 0)
+       BMW_FLAG_TEST_HIDDEN = (1 << 0),
 } BMWFlag;
 
 /*Walkers*/
index a13024d8793f2ceb024d8862801f41e630742330..33b15f1772a166f5abff9d96917a59cd7eb8cac6 100644 (file)
@@ -44,7 +44,7 @@
 enum {
        EXT_INPUT   = 1,
        EXT_KEEP    = 2,
-       EXT_DEL     = 4
+       EXT_DEL     = 4,
 };
 
 #define VERT_MARK 1
index ca727de575667dfd3902feefd1c18d746d928a8d..259bb0f5a9c24bdca0553901478a4883a80c3179 100644 (file)
@@ -51,7 +51,7 @@ typedef enum {
        HULL_FLAG_OUTPUT_GEOM =     (1 << 2),
 
        HULL_FLAG_DEL =             (1 << 3),
-       HULL_FLAG_HOLE =            (1 << 4)
+       HULL_FLAG_HOLE =            (1 << 4),
 } HullFlags;
 
 /* Store hull triangles separate from BMesh faces until the end; this
index 7dc68e0d31ff2d805c12972b2f9246aa47403a69..66b726f946c8b95b36e3044e7bda82aa4e47af9c 100644 (file)
@@ -77,7 +77,7 @@
 typedef enum CD_UseFlag {
        CD_DO_VERT = (1 << 0),
        CD_DO_EDGE = (1 << 1),
-       CD_DO_LOOP = (1 << 2)
+       CD_DO_LOOP = (1 << 2),
 } CD_UseFlag;
 
 
index 63000b1b4dbf220165b2cd7d50b8ae6ace857ecd..81fea51a9ba378f90d640621f868e94670ca1697 100644 (file)
@@ -168,7 +168,7 @@ static bool bm_vert_dissolve_fan(BMesh *bm, BMVert *v)
 enum {
        VERT_INDEX_DO_COLLAPSE  = -1,
        VERT_INDEX_INIT         =  0,
-       VERT_INDEX_IGNORE       =  1
+       VERT_INDEX_IGNORE       =  1,
 };
 
 // #define USE_WALKER  /* gives uneven results, disable for now */
index d6d5ad03a88a0509bfcf9e63c12f3666db80af06..1116ebbfca123532978f12e8f70d43c144dfd226 100644 (file)
@@ -100,7 +100,7 @@ private:
 //             INANIMATE = 0,
                LIGHT_COLOR     = 2,
                LIGHT_FOA = 4,
-               LIGHT_FOE = 8
+               LIGHT_FOE = 8,
        };
 
        enum cameraAnim
@@ -111,7 +111,7 @@ private:
                CAMERA_YFOV = 8,
                CAMERA_YMAG = 16,
                CAMERA_ZFAR = 32,
-               CAMERA_ZNEAR = 64
+               CAMERA_ZNEAR = 64,
        };
 
        enum matAnim
@@ -120,13 +120,13 @@ private:
                MATERIAL_SPEC_COLOR = 4,
                MATERIAL_DIFF_COLOR = 1 << 3,
                MATERIAL_TRANSPARENCY = 1 << 4,
-               MATERIAL_IOR = 1 << 5
+               MATERIAL_IOR = 1 << 5,
        };
 
        enum AnimationType
                {
                        BC_INANIMATE = 0,
-                       BC_NODE_TRANSFORM = 1
+                       BC_NODE_TRANSFORM = 1,
                };
 
        struct AnimMix
index 69f64a6280df4bf4f85d54affb37050531be77f5..925158e52fab1595b8b6d13c369dd71c0bd835fe 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
 typedef enum BC_pbr_inputs {
        BC_PBR_DIFFUSE = 0,
        BC_PBR_METALLIC = 4,
-       BC_PBR_IOR = 14
+       BC_PBR_IOR = 14,
 } BC_pbr_inputs;
 
 typedef std::map<std::string, bNode *> NodeMap;
index 34cbaf9db37194b5bf0f2b6c23d2aa5f7c28a74f..096d9e734f9b75608cd598f9815b457df9458e6e 100644 (file)
@@ -33,7 +33,7 @@ typedef enum DataType {
        /** \brief Vector data type */
        COM_DT_VECTOR  = 2,
        /** \brief Color data type */
-       COM_DT_COLOR   = 4
+       COM_DT_COLOR   = 4,
 } DataType;
 
 /**
@@ -47,7 +47,7 @@ typedef enum CompositorQuality {
        /** \brief Medium quality setting */
        COM_QUALITY_MEDIUM = 1,
        /** \brief Low quality setting */
-       COM_QUALITY_LOW    = 2
+       COM_QUALITY_LOW    = 2,
 } CompositorQuality;
 
 /**
@@ -60,7 +60,7 @@ typedef enum CompositorPriority {
        /** \brief Medium quality setting */
        COM_PRIORITY_MEDIUM = 1,
        /** \brief Low quality setting */
-       COM_PRIORITY_LOW    = 0
+       COM_PRIORITY_LOW    = 0,
 } CompositorPriority;
 
 // configurable items
@@ -98,7 +98,7 @@ typedef enum OrderOfChunks {
        /** \brief no ordering */
        COM_TO_TOP_DOWN = 2,
        /** \brief experimental ordering with 9 hotspots */
-       COM_TO_RULE_OF_THIRDS = 3
+       COM_TO_RULE_OF_THIRDS = 3,
 } OrderOfChunks;
 
 #define COM_ORDER_OF_CHUNKS_DEFAULT COM_TO_CENTER_OUT
index 8f170aab2fb4c81d82e6dcbce85c8e9f85fd7036..d3f7df04a944cdb785525521af3a28ac3331e28a 100644 (file)
@@ -54,7 +54,7 @@ typedef enum ChunkExecutionState {
        /**
         * \brief chunk is executed.
         */
-       COM_ES_EXECUTED = 2
+       COM_ES_EXECUTED = 2,
 } ChunkExecutionState;
 
 /**
index 17ee17316fb1e01ec67462abd5a4db642b135de6..c5d8bfcc6b4675ab93389b4f175c55d400e7bf5a 100644 (file)
@@ -44,7 +44,7 @@ typedef enum MemoryBufferState {
        /** \brief memory is available for use, content has been created */
        COM_MB_AVAILABLE = 2,
        /** \brief chunk is consolidated from other chunks. special state.*/
-       COM_MB_TEMPORARILY = 6
+       COM_MB_TEMPORARILY = 6,
 } MemoryBufferState;
 
 typedef enum MemoryBufferExtend {
index ad9842caa74c1d72b1ddcc100593da91491463c2..6ec74392b7143dfee79ead9c89a0bb5908f1e61a 100644 (file)
@@ -68,7 +68,7 @@ typedef enum InputResizeMode {
        /** \brief Fit the width or the height of the input image to the width or height of the working area of the node, image will be larger than the working area */
        COM_SC_FIT = NS_CR_FIT,
        /** \brief Fit the width and the height of the input image to the width and height of the working area of the node, image will be equally larger than the working area */
-       COM_SC_STRETCH = NS_CR_STRETCH
+       COM_SC_STRETCH = NS_CR_STRETCH,
 } InputResizeMode;
 
 /**
index ec1c200fd81d4236fe1203790da8c6e17b9858e0..5d2c075f7e7441c7f1b1d1c87a1eb80514d7d126 100644 (file)
@@ -32,7 +32,7 @@
 typedef enum PixelSampler {
        COM_PS_NEAREST = 0,
        COM_PS_BILINEAR = 1,
-       COM_PS_BICUBIC = 2
+       COM_PS_BICUBIC = 2,
 } PixelSampler;
 
 class MemoryBuffer;
index e5d3835e8cdb3165444618e745520f36998c2480..d015729238eb96d7bf5829ce1b5f00c7d940605d 100644 (file)
@@ -45,7 +45,7 @@ public:
 enum {
        FAST_GAUSS_OVERLAY_MIN  = -1,
        FAST_GAUSS_OVERLAY_NONE =  0,
-       FAST_GAUSS_OVERLAY_MAX  =  1
+       FAST_GAUSS_OVERLAY_MAX  =  1,
 };
 
 class FastGaussianBlurValueOperation : public NodeOperation {
index a15f3f697c27a699ae5443b64daeba164698e660..43d9df62ce930b9e51a7fc57062f56d6e44b2c95 100644 (file)
@@ -37,7 +37,7 @@ protected:
 public:
        enum BlurAxis {
                BLUR_AXIS_X = 0,
-               BLUR_AXIS_Y = 1
+               BLUR_AXIS_Y = 1,
        };
 
        KeyingBlurOperation();
index 642b3cbfc304a092cf4fac470ef9deb27be930a3..a76134e080b6e0d411a69574a4e919d8c787e087 100644 (file)
@@ -48,7 +48,7 @@ typedef enum ePhysicsRelationType {
        DEG_PHYSICS_COLLISION       = 1,
        DEG_PHYSICS_SMOKE_COLLISION = 2,
        DEG_PHYSICS_DYNAMIC_BRUSH   = 3,
-       DEG_PHYSICS_RELATIONS_NUM   = 4
+       DEG_PHYSICS_RELATIONS_NUM   = 4,
 } ePhysicsRelationType;
 
 /* Get collision/effector relations from collection or entire scene. These
index 9ba3a0b4864a68d472c8ab2db9e1ded1d85724e1..578a0d2712bfc3a9a8e7312eb7863bad10420519 100644 (file)
@@ -50,7 +50,7 @@ typedef enum eDepsOperation_Flag {
        DEPSOP_FLAG_USER_MODIFIED      = (1 << 2),
 
        /* Set of flags which gets flushed along the relations. */
-       DEPSOP_FLAG_FLUSH = (DEPSOP_FLAG_USER_MODIFIED)
+       DEPSOP_FLAG_FLUSH = (DEPSOP_FLAG_USER_MODIFIED),
 } eDepsOperation_Flag;
 
 /* Atomic Operation - Base type for all operations */
index af730036c9f8b93de60ac165ba3f8ead6847fae9..45928355f3003fc54b060f8802459de31e3086c7 100644 (file)
@@ -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 */
index 7ba22fca2f64049491761def28d38cc0292560d5..9f188c7c4c3229a33b1c3fda16650c88019ef360 100644 (file)
@@ -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 */
index 87c7017c677d7373c4bd1e3ba44197adb44ed8fe..72660c9083701917ae57f0ff26396399622b5186 100644 (file)
@@ -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;
 
 
index 21715d7ba93bdd10aeb500e6b819ef2bdc3e2db6..78152f1d86bfd2c6946d73429647b88b9051e3a1 100644 (file)
@@ -79,7 +79,7 @@
 
 enum {
        GP_ARMATURE_NAME = 0,
-       GP_ARMATURE_AUTO = 1
+       GP_ARMATURE_AUTO = 1,
 };
 
 #define DEFAULT_RATIO 0.10f
index 33521d7b53e6a3c0f84e37b28eede0399cfa8438..b2ceacf9398094dae55072f0dc3a201a60fdb0f2 100644 (file)
@@ -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)
index a71545cf3925bf4e2f76e880616df77215d19a50..a601e0635edd986c7848bec627c8600e7dafb882 100644 (file)
@@ -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)
index 0ccc8791667404db70a8bfc1bf99ba9706f6cf09..dd7b2c0d8bd6022fbfdc7af15e540b4192e30584 100644 (file)
@@ -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);
index ec7c5f989d052c569a42044c04c4705202af57c0..6e5746301be5183a8d381f1afa0541904f966e1e 100644 (file)
@@ -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 */
index 8a398c97506a5d77911ad99bc267202348d18e76..0f477505f8128c061903710f4ced95c21b5821d1 100644 (file)
@@ -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 */
index 8d652609fbc8b564a524f68043f6ab3bdbaeabc8..e3a62f871a20920bab44e4df72cf847630345aa3 100644 (file)
@@ -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
index e53f303ea396c18dc4bf2dd23b336707e77c263b..9fe76512ad2862c84b642e14fca14afba3c900de 100644 (file)
@@ -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),
 };
 
 /* ----------------------------------------------------- */
index b3c3a6a98407d2b8531848b0724bb997ab0e03d2..8a699d8c9fba756a6d39b2cc2c7e1b44899b4c1e 100644 (file)
@@ -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 \
index e0969ff07b8772847abdd80662bfed8accf8a51b..1454b0c16909906372c3806f8cab9c33d8d7fd6e 100644 (file)
@@ -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 {
index 8c57a21c3755b314e1b3656529451c1e3158b522..59eb5fbb8d0e8cfcf01cf1bfad1b17777da72dea 100644 (file)
@@ -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;
 
 /**
index 9adf4c802a213613db78163e24067cd59445e1f1..74b7b1edb8d6774ba6be7b37060fe3bba358c074 100644 (file)
@@ -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 {
index ff522430e2a3cfdd8a3423b971f366b7f47a9d48..1f82432ba9cc03f96616560479bc5c743f8965e4 100644 (file)
@@ -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)
index b760514ef3252423be78efab44dca5aaf404158d..a9efef2ab53e5c3273fef5fa6ba451403ceb5f6f 100644 (file)
@@ -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;
 
 
index 31faa00db43e12dbcba95ffbcc6d803fca10c4a3..1e0fe094e2ebc3b750dff38aa428474845331372 100644 (file)
@@ -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)
index e26a4811afc213d3e174e254471c9701c33b9221..2baa793d807b04bac2e10160bfd23d9ff42193af 100644 (file)
@@ -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)
index 80911cf202fefbbdb6a395270da0862d65ab2b24..7ff9faef1f768791c6fe3c79f3f186be011ce9d2 100644 (file)
@@ -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 {
index fe4472c76fe24eeec54cc10d9b6ede7fb9f0b757..7100bf33a474d0325fe526a74a69bd9470a72265 100644 (file)
@@ -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;
 
index 4081f46708dcdcc45bd3d36aae56fe2f22217cb2..53c7d4aebbdbffe9f3b3b922db139343ccefd656 100644 (file)
@@ -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 *************/
index 07e223c4534d394f1dee8077e27dd324ad8ab9c8..6fc14e59e31119f3bab1e7dcb2784a0631fab5cc 100644 (file)
@@ -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)
index 6d898ee2fe96d101c4bbf824551108fe38b3d922..c095925d1852b7ebf5c0e4335c4097f4cad1d27b 100644 (file)
@@ -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);
index 9db5237fdef669a2468bdac9641a7b74315f7956..741777282f22082586ac94d87990dcd14a43dee1 100644 (file)
@@ -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 {
index 875cb22fb167ac39c7af86a6cd0c1f63a48bef4e..1bd479519568216af2d8d952242df2b6265d10a0 100644 (file)
@@ -84,7 +84,7 @@
 
 enum {
        COM_RECALC_COMPOSITE = 1,
-       COM_RECALC_VIEWER    = 2
+       COM_RECALC_VIEWER    = 2,
 };
 
 typedef struct CompoJob {
index 10d2e15505e644ce79767c5903d5d7976e08db45..401f76947bb133039cf06c3ebe87b05d672e05dc 100644 (file)
@@ -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[] = {
index 69f32c8eadad3105c18393900554ea0e67394eaa..319b79c43f460160a0f2195e63404aff415877a8 100644 (file)
@@ -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  */
index ed5a1ab7720d5cd9d906cdecdcd2f0a87fceea1a..2b0f7727677348d92b77a953f00efbc1ed511c3d 100644 (file)
@@ -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 {
index 7a3d2618f078ef8698ab9b62c0ddf0ebaa48a12b..dfb1f389d37cf4f97232e6097cad28ea840c4619 100644 (file)
@@ -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 */
index 530c03d56f89b2f56ca07fe6e62a0dd42b50b58e..cd5c7e31efd8ebb853066e0830a44cc96b4e3141 100644 (file)
@@ -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);
index 7a96bc60fd406e7f8e8c59d730ae99cc65e74931..cc1336d0827df6c1effba7126ce9fb55ea8b3714 100644 (file)
@@ -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 {
index 1930e0a9e8e929cc60880204c6e9abd9c20bd8bf..b46064e6f8104125d5be0bf6d0391ed0e97abecf 100644 (file)
@@ -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:
index 22eb917f0bd4608fc160ad8286fbf1c37d729012..b51363a69411f66a728380b6105ae811a5e61079 100644 (file)
@@ -70,21 +70,21 @@ typedef enum GPUDeviceType {
        GPU_DEVICE_INTEL_UHD =  (1 << 3),
        GPU_DEVICE_SOFTWARE =   (1 << 4),
        GPU_DEVICE_UNKNOWN =    (1 << 5),
-       GPU_DEVICE_ANY =        (0xff)
+       GPU_DEVICE_ANY =        (0xff),
 } GPUDeviceType;
 
 typedef enum GPUOSType {
        GPU_OS_WIN =            (1 << 8),
        GPU_OS_MAC =            (1 << 9),
        GPU_OS_UNIX =           (1 << 10),
-       GPU_OS_ANY =            (0xff00)
+       GPU_OS_ANY =            (0xff00),
 } GPUOSType;
 
 typedef enum GPUDriverType {
        GPU_DRIVER_OFFICIAL =   (1 << 16),
        GPU_DRIVER_OPENSOURCE = (1 << 17),
        GPU_DRIVER_SOFTWARE =   (1 << 18),
-       GPU_DRIVER_ANY =        (0xff0000)
+       GPU_DRIVER_ANY =        (0xff0000),
 } GPUDriverType;
 
 bool GPU_type_matches(GPUDeviceType device, GPUOSType os, GPUDriverType driver);
index c2e8dcd2ab6e967b106fa2873ea894a5fd4aa527..7e201cd1ebcc76b1b2b5eeb1e9cd929b2b57be98 100644 (file)
@@ -90,7 +90,7 @@ typedef enum GPUType {
        GPU_CLOSURE = 1006,
 
        /* Opengl Attributes */
-       GPU_ATTRIB = 3001
+       GPU_ATTRIB = 3001,
 } GPUType;
 
 typedef enum GPUBuiltin {
@@ -130,7 +130,7 @@ typedef enum GPUBlendMode {
        GPU_BLEND_ALPHA = 2,
        GPU_BLEND_CLIP = 4,
        GPU_BLEND_ALPHA_SORT = 8,
-       GPU_BLEND_ALPHA_TO_COVERAGE = 16
+       GPU_BLEND_ALPHA_TO_COVERAGE = 16,
 } GPUBlendMode;
 
 typedef struct GPUNodeStack {
index bcedfa56ab18ae09e8a5cdf1c90d1f977a76a10d..1fb81253c4d13e7accc3cf29fd31edc34d95d2c3 100644 (file)
@@ -56,7 +56,7 @@ typedef enum {
        GPU_PRIM_CLASS_POINT   = (1 << 0),
        GPU_PRIM_CLASS_LINE    = (1 << 1),
        GPU_PRIM_CLASS_SURFACE = (1 << 2),
-       GPU_PRIM_CLASS_ANY     = GPU_PRIM_CLASS_POINT | GPU_PRIM_CLASS_LINE | GPU_PRIM_CLASS_SURFACE
+       GPU_PRIM_CLASS_ANY     = GPU_PRIM_CLASS_POINT | GPU_PRIM_CLASS_LINE | GPU_PRIM_CLASS_SURFACE,
 } GPUPrimClass;
 
 GPUPrimClass GPU_primtype_class(GPUPrimType);
index e4a5594399983d2bbc738b16d8a2c8c4ae5a8963..1137c382593d78db8e51048c32df438ab5c8211e 100644 (file)
@@ -133,7 +133,7 @@ struct GPUMaterial {
 enum {
        GPU_DOMAIN_SURFACE    = (1 << 0),
        GPU_DOMAIN_VOLUME     = (1 << 1),
-       GPU_DOMAIN_SSS        = (1 << 2)
+       GPU_DOMAIN_SSS        = (1 << 2),
 };
 
 /* Functions */
index 4a71b36bfef57703078a96a4974d41d90e98d553..360997bd073a9d0a8103d431e771090c17ebcb27 100644 (file)
@@ -233,7 +233,7 @@ enum IK_SegmentAxis {
        IK_Z = 2,
        IK_TRANS_X = 3,
        IK_TRANS_Y = 4,
-       IK_TRANS_Z = 5
+       IK_TRANS_Z = 5,
 };
 
 static int initialize_chain(Object *ob, bPoseChannel *pchan_tip, bConstraint *con)
index 1dfbae382139406971128696c7e4de919013babe..4c531c40d16c1c4a98ba2447a7aca57c4477e7cd 100644 (file)
@@ -209,7 +209,7 @@ typedef enum IMB_BlendMode {
 
        IMB_BLEND_COPY = 1000,
        IMB_BLEND_COPY_RGB = 1001,
-       IMB_BLEND_COPY_ALPHA = 1002
+       IMB_BLEND_COPY_ALPHA = 1002,
 } IMB_BlendMode;
 
 void IMB_blend_color_byte(unsigned char dst[4], unsigned char src1[4],
@@ -249,7 +249,7 @@ typedef enum IMB_Timecode_Type {
                                                    * device (*every* consumer camcorder can do
                                                    * that :) )*/
        IMB_TC_RECORD_RUN_NO_GAPS = 8,
-       IMB_TC_MAX_SLOT   = 4
+       IMB_TC_MAX_SLOT   = 4,
 } IMB_Timecode_Type;
 
 typedef enum IMB_Proxy_Size {
@@ -258,7 +258,7 @@ typedef enum IMB_Proxy_Size {
        IMB_PROXY_50 = 2,
        IMB_PROXY_75 = 4,
        IMB_PROXY_100 = 8,
-       IMB_PROXY_MAX_SLOT = 4
+       IMB_PROXY_MAX_SLOT = 4,
 } IMB_Proxy_Size;
 
 /* defaults to BL_proxy within the directory of the animation */
index c71bbc3ecd538fc7299df7615a2451074a9e8115..948358467deb7578b96c53d45825951be13f1372 100644 (file)
@@ -352,7 +352,7 @@ extern const char *imb_ext_image_filepath_only[];
  * \{ */
 
 enum {
-       IMB_COLORMANAGE_IS_DATA = (1 << 0)
+       IMB_COLORMANAGE_IS_DATA = (1 << 0),
 };
 
 /** \} */
index c9c86e13202083c946d004093f12737f6c8420a8..807dbe5be25cea6dc35d788f00850f7b57a29fef 100644 (file)
@@ -106,7 +106,7 @@ typedef enum eMotionPath_Flag {
        /* Custom colors */
        MOTIONPATH_FLAG_CUSTOM      = (1 << 2),
        /* Draw lines or only points */
-       MOTIONPATH_FLAG_LINES       = (1 << 3)
+       MOTIONPATH_FLAG_LINES       = (1 << 3),
 } eMotionPath_Flag;
 
 /* Visualization General --------------------------- */
@@ -153,7 +153,7 @@ typedef struct bAnimVizSettings {
 /* bAnimVizSettings->recalc */
 typedef enum eAnimViz_RecalcFlags {
        /* motionpaths need recalculating */
-       ANIMVIZ_RECALC_PATHS    = (1 << 0)
+       ANIMVIZ_RECALC_PATHS    = (1 << 0),
 } eAnimViz_RecalcFlags;
 
 
@@ -166,13 +166,13 @@ typedef enum eOnionSkin_Types {
        /* show ghosts within the specified frame range */
        GHOST_TYPE_RANGE = 2,
        /* show ghosts on keyframes within the specified range only */
-       GHOST_TYPE_KEYS = 3
+       GHOST_TYPE_KEYS = 3,
 } eOnionSkin_Types;
 
 /* bAnimVizSettings->ghost_flag */
 typedef enum eOnionSkin_Flag {
        /* only show selected bones in ghosts */
-       GHOST_FLAG_ONLYSEL  = (1 << 0)
+       GHOST_FLAG_ONLYSEL  = (1 << 0),
 } eOnionSkin_Flag;
 
 
@@ -195,7 +195,7 @@ typedef enum eMotionPaths_ViewFlag {
        /* find keyframes in whole action (instead of just in matching group name) */
        MOTIONPATH_VIEW_KFACT       = (1 << 3),
        /* draw lines on path */
-       MOTIONPATH_VIEW_LINES       = (1 << 4)
+       MOTIONPATH_VIEW_LINES       = (1 << 4),
 } eMotionPath_ViewFlag;
 
 /* bAnimVizSettings->path_bakeflag */
@@ -206,7 +206,7 @@ typedef enum eMotionPaths_BakeFlag {
        MOTIONPATH_BAKE_HEADS           = (1 << 1),
        /** motion paths exist for AnimVizSettings instance - set when calc for first time,
         * and unset when clearing */
-       MOTIONPATH_BAKE_HAS_PATHS       = (1 << 2)
+       MOTIONPATH_BAKE_HAS_PATHS       = (1 << 2),
 } eMotionPath_BakeFlag;
 
 /* runtime */
@@ -406,7 +406,7 @@ typedef enum ePchan_Flag {
        POSE_HAS_IKS    =   (1 << 14),
 #endif
        /* spline IK solving */
-       POSE_IKSPLINE   =   (1 << 15)
+       POSE_IKSPLINE   =   (1 << 15),
 } ePchan_Flag;
 
 /* PoseChannel constflag (constraint detection) */
@@ -419,7 +419,7 @@ typedef enum ePchan_ConstFlag {
        /* only for drawing Posemode too */
        PCHAN_HAS_STRIDE    = (1 << 4),
        /* spline IK */
-       PCHAN_HAS_SPLINEIK  = (1 << 5)
+       PCHAN_HAS_SPLINEIK  = (1 << 5),
 } ePchan_ConstFlag;
 
 /* PoseChannel->ikflag */
@@ -437,7 +437,7 @@ typedef enum ePchan_IkFlag {
 
        BONE_IK_NO_XDOF_TEMP = (1 << 10),
        BONE_IK_NO_YDOF_TEMP = (1 << 11),
-       BONE_IK_NO_ZDOF_TEMP = (1 << 12)
+       BONE_IK_NO_ZDOF_TEMP = (1 << 12),
 } ePchan_IkFlag;
 
 /* PoseChannel->drawflag */
@@ -480,7 +480,7 @@ typedef enum eRotationModes {
        ROT_MODE_AXISANGLE = -1,
 
        ROT_MODE_MIN = ROT_MODE_AXISANGLE,  /* sentinel for Py API */
-       ROT_MODE_MAX = ROT_MODE_ZYX
+       ROT_MODE_MAX = ROT_MODE_ZYX,
 } eRotationModes;
 
 /* Pose ------------------------------------ */
@@ -557,7 +557,7 @@ typedef enum ePose_Flags {
 /* bPose->iksolver and bPose->ikparam->iksolver */
 typedef enum ePose_IKSolverType {
        IKSOLVER_STANDARD = 0,
-       IKSOLVER_ITASC = 1
+       IKSOLVER_ITASC = 1,
 } ePose_IKSolverType;
 
 /* header for all bPose->ikparam structures */
@@ -589,7 +589,7 @@ typedef enum eItasc_Flags {
        ITASC_AUTO_STEP           = (1 << 0),
        ITASC_INITIAL_REITERATION = (1 << 1),
        ITASC_REITERATION         = (1 << 2),
-       ITASC_SIMULATION          = (1 << 3)
+       ITASC_SIMULATION          = (1 << 3),
 } eItasc_Flags;
 
 /* bItasc->solver */
@@ -662,7 +662,7 @@ typedef enum eActionGroup_Flag {
        AGRP_MODIFIERS_OFF = (1 << 7),
 
        AGRP_TEMP       = (1 << 30),
-       AGRP_MOVED      = (1u << 31)
+       AGRP_MOVED      = (1u << 31),
 } eActionGroup_Flag;
 
 
@@ -714,7 +714,7 @@ typedef enum eAction_Flags {
        /* flags for evaluation/editing */
        ACT_MUTED       = (1 << 9),
        ACT_PROTECTED   = (1 << 10),
-       ACT_DISABLED    = (1 << 11)
+       ACT_DISABLED    = (1 << 11),
 } eAction_Flags;
 
 
@@ -800,7 +800,7 @@ typedef enum eDopeSheet_FilterFlag {
        ADS_FILTER_GP_3DONLY        = (1 << 29),
 
        /** combination filters (some only used at runtime) */
-       ADS_FILTER_NOOBDATA = (ADS_FILTER_NOCAM | ADS_FILTER_NOMAT | ADS_FILTER_NOLAM | ADS_FILTER_NOCUR | ADS_FILTER_NOPART | ADS_FILTER_NOARM | ADS_FILTER_NOSPK | ADS_FILTER_NOMODIFIERS)
+       ADS_FILTER_NOOBDATA = (ADS_FILTER_NOCAM | ADS_FILTER_NOMAT | ADS_FILTER_NOLAM | ADS_FILTER_NOCUR | ADS_FILTER_NOPART | ADS_FILTER_NOARM | ADS_FILTER_NOSPK | ADS_FILTER_NOMODIFIERS),
 } eDopeSheet_FilterFlag;
 
 /* DopeSheet general flags */
@@ -929,7 +929,7 @@ typedef enum eAnimEdit_AutoSnap {
        /* snap to actual seconds (nla-action time) */
        SACTSNAP_SECOND = 4,
        /* snap to 1.0 second increments */
-       SACTSNAP_TSTEP = 5
+       SACTSNAP_TSTEP = 5,
 } eAnimEdit_AutoSnap;
 
 /* SAction->cache_display */
@@ -985,7 +985,7 @@ typedef enum eActionChannelFlag {
        ACHAN_EXPANDED  = (1 << 4),
        ACHAN_SHOWIPO   = (1 << 5),
        ACHAN_SHOWCONS  = (1 << 6),
-       ACHAN_MOVED     = (1u << 31)
+       ACHAN_MOVED     = (1u << 31),
 } eActionChannelFlag;
 
 #endif  /* __DNA_ACTION_TYPES_H__ */
index cd9d0ab472e3373f4d8eed66d8331d0b322ec9d4..4fb0a19dfc8ddcb67aeb285caac2a388e9a73722 100644 (file)
@@ -112,7 +112,7 @@ typedef enum eFModifier_Flags {
                /* restrict range that F-Modifier can be considered over */
        FMODIFIER_FLAG_RANGERESTRICT = (1<<4),
                /* use influence control */
-       FMODIFIER_FLAG_USEINFLUENCE  = (1<<5)
+       FMODIFIER_FLAG_USEINFLUENCE  = (1<<5),
 } eFModifier_Flags;
 
 /* --- */
@@ -138,7 +138,7 @@ typedef struct FMod_Generator {
 /* generator modes */
 typedef enum eFMod_Generator_Modes {
        FCM_GENERATOR_POLYNOMIAL        = 0,
-       FCM_GENERATOR_POLYNOMIAL_FACTORISED = 1
+       FCM_GENERATOR_POLYNOMIAL_FACTORISED = 1,
 } eFMod_Generator_Modes;
 
 
@@ -147,7 +147,7 @@ typedef enum eFMod_Generator_Modes {
  */
 typedef enum eFMod_Generator_Flags {
        /* generator works in conjunction with other modifiers (i.e. doesn't replace those before it) */
-       FCM_GENERATOR_ADDITIVE  = (1<<0)
+       FCM_GENERATOR_ADDITIVE  = (1<<0),
 } eFMod_Generator_Flags;
 
 
@@ -181,7 +181,7 @@ typedef enum eFMod_Generator_Functions {
        FCM_GENERATOR_FN_TAN    = 2,
        FCM_GENERATOR_FN_SQRT   = 3,
        FCM_GENERATOR_FN_LN     = 4,
-       FCM_GENERATOR_FN_SINC   = 5
+       FCM_GENERATOR_FN_SINC   = 5,
 } eFMod_Generator_Functions;
 
 
@@ -261,7 +261,7 @@ typedef enum eFMod_Limit_Flags {
        FCM_LIMIT_XMIN          = (1<<0),
        FCM_LIMIT_XMAX          = (1<<1),
        FCM_LIMIT_YMIN          = (1<<2),
-       FCM_LIMIT_YMAX          = (1<<3)
+       FCM_LIMIT_YMAX          = (1<<3),
 } eFMod_Limit_Flags;
 
 
@@ -628,7 +628,7 @@ typedef enum eFCurve_Flags {
        FCURVE_DISCRETE_VALUES  = (1<<12),
 
        /** temporary tag for editing */
-       FCURVE_TAGGED                   = (1<<15)
+       FCURVE_TAGGED                   = (1<<15),
 } eFCurve_Flags;
 
 /* extrapolation modes (only simple value 'extending') */
@@ -745,7 +745,7 @@ typedef enum eNlaStrip_Extrapolate_Mode {
        /* only hold+extend last frame */
        NLASTRIP_EXTEND_HOLD_FORWARD = 1,
        /* don't contribute at all */
-       NLASTRIP_EXTEND_NOTHING = 2
+       NLASTRIP_EXTEND_NOTHING = 2,
 } eNlaStrip_Extrapolate_Mode;
 
 /* NLA Strip Settings */
@@ -786,7 +786,7 @@ typedef enum eNlaStrip_Flag {
        NLASTRIP_FLAG_NO_TIME_MAP   = (1<<29),
                /* NLA-Strip is really just a temporary meta used to facilitate easier transform code */
        NLASTRIP_FLAG_TEMP_META     = (1<<30),
-       NLASTRIP_FLAG_EDIT_TOUCHED  = (1u << 31)
+       NLASTRIP_FLAG_EDIT_TOUCHED  = (1u << 31),
 } eNlaStrip_Flag;
 
 /* NLA Strip Type */
@@ -843,7 +843,7 @@ typedef enum eNlaTrack_Flag {
 
        /** track is not allowed to execute,
         * usually as result of tweaking being enabled (internal flag) */
-       NLATRACK_DISABLED       = (1<<10)
+       NLATRACK_DISABLED       = (1<<10),
 } eNlaTrack_Flag;
 
 
@@ -888,7 +888,7 @@ typedef struct KS_Path {
 /* KS_Path->flag */
 typedef enum eKSP_Settings {
                /* entire array (not just the specified index) gets keyframed */
-       KSP_FLAG_WHOLE_ARRAY    = (1<<0)
+       KSP_FLAG_WHOLE_ARRAY    = (1<<0),
 } eKSP_Settings;
 
 /* KS_Path->groupmode */
@@ -951,7 +951,7 @@ typedef enum eKS_Settings {
                /* keyingset cannot be removed (and doesn't need to be freed) */
        KEYINGSET_BUILTIN               = (1<<0),
                /* keyingset does not depend on context info (i.e. paths are absolute) */
-       KEYINGSET_ABSOLUTE              = (1<<1)
+       KEYINGSET_ABSOLUTE              = (1<<1),
 } eKS_Settings;
 
 /* Flags for use by keyframe creation/deletion calls */
@@ -1104,7 +1104,7 @@ typedef enum eAnimData_Flag {
 typedef enum eAnimData_Recalc {
        ADT_RECALC_DRIVERS      = (1 << 0),
        ADT_RECALC_ANIM         = (1 << 1),
-       ADT_RECALC_ALL          = (ADT_RECALC_DRIVERS | ADT_RECALC_ANIM)
+       ADT_RECALC_ALL          = (ADT_RECALC_DRIVERS | ADT_RECALC_ANIM),
 } eAnimData_Recalc;
 
 /* Base Struct for Anim ------------------------------------- */
index aa4f1280915402478d4ad952c0645d7cf4ed26b6..c5c548f04fdd037a63f09e26b0f0b44c38160702 100644 (file)
@@ -184,13 +184,13 @@ typedef enum eArmature_Drawtype {
        ARM_LINE = 1,
        ARM_B_BONE = 2,
        ARM_ENVELOPE = 3,
-       ARM_WIRE = 4
+       ARM_WIRE = 4,
 } eArmature_Drawtype;
 
 /* armature->gevertdeformer */
 typedef enum eArmature_VertDeformer {
        ARM_VDEF_BLENDER = 0,
-       ARM_VDEF_BGE_CPU = 1
+       ARM_VDEF_BGE_CPU = 1,
 } eArmature_VertDeformer;
 
 /* armature->deformflag */
@@ -201,7 +201,7 @@ typedef enum eArmature_DeformFlag {
 #ifdef DNA_DEPRECATED
        ARM_DEF_B_BONE_REST             = (1<<3),       /* deprecated */
 #endif
-       ARM_DEF_INVERT_VGROUP   = (1<<4)
+       ARM_DEF_INVERT_VGROUP   = (1<<4),
 } eArmature_DeformFlag;
 
 /* armature->pathflag */
@@ -212,7 +212,7 @@ typedef enum eArmature_PathFlag {
        ARM_PATH_KFRAS          = (1<<1),
        ARM_PATH_HEADS          = (1<<2),
        ARM_PATH_ACFRA          = (1<<3),
-       ARM_PATH_KFNOS          = (1<<4)
+       ARM_PATH_KFNOS          = (1<<4),
 } eArmature_PathFlag;
 #endif
 
@@ -221,7 +221,7 @@ typedef enum eArmature_PathFlag {
 typedef enum eArmature_GhostType {
        ARM_GHOST_CUR = 0,
        ARM_GHOST_RANGE = 1,
-       ARM_GHOST_KEYS = 2
+       ARM_GHOST_KEYS = 2,
 } eArmature_GhostType;
 
 /* bone->flag */
@@ -271,7 +271,7 @@ typedef enum eBone_Flag {
        /** object child will use relative transform (like deform) */
        BONE_RELATIVE_PARENTING     = (1 << 23),
        /** it will add the parent end roll to the inroll */
-       BONE_ADD_PARENT_END_ROLL    = (1 << 24)
+       BONE_ADD_PARENT_END_ROLL    = (1 << 24),
 
 } eBone_Flag;
 
index 3c91e8be8b7b8ca43420000a98ae91b78b1eb5d8..c980fa79d40297801455635ca45425b55d9b9402 100644 (file)
@@ -182,7 +182,7 @@ typedef enum eGP_BrushIcons {
        GP_BRUSH_ICON_FILL = 7,
        GP_BRUSH_ICON_ERASE_SOFT = 8,
        GP_BRUSH_ICON_ERASE_HARD = 9,
-       GP_BRUSH_ICON_ERASE_STROKE = 10
+       GP_BRUSH_ICON_ERASE_STROKE = 10,
 } eGP_BrushIcons;
 
 typedef struct Brush {
@@ -389,12 +389,12 @@ typedef enum eBrushFlags {
        BRUSH_CUSTOM_ICON = (1 << 28),
        BRUSH_LINE = (1 << 29),
        BRUSH_ABSOLUTE_JITTER = (1 << 30),
-       BRUSH_CURVE = (1u << 31)
+       BRUSH_CURVE = (1u << 31),
 } eBrushFlags;
 
 typedef enum {
        BRUSH_MASK_PRESSURE_RAMP = (1 << 1),
-       BRUSH_MASK_PRESSURE_CUTOFF = (1 << 2)
+       BRUSH_MASK_PRESSURE_CUTOFF = (1 << 2),
 } BrushMaskPressureFlags;
 
 /* Brush.overlay_flags */
@@ -404,7 +404,7 @@ typedef enum eOverlayFlags {
        BRUSH_OVERLAY_SECONDARY = (1 << 2),
        BRUSH_OVERLAY_CURSOR_OVERRIDE_ON_STROKE = (1 << 3),
        BRUSH_OVERLAY_PRIMARY_OVERRIDE_ON_STROKE = (1 << 4),
-       BRUSH_OVERLAY_SECONDARY_OVERRIDE_ON_STROKE = (1 << 5)
+       BRUSH_OVERLAY_SECONDARY_OVERRIDE_ON_STROKE = (1 << 5),
 } eOverlayFlags;
 
 #define BRUSH_OVERLAY_OVERRIDE_MASK (BRUSH_OVERLAY_CURSOR_OVERRIDE_ON_STROKE | \
@@ -431,7 +431,7 @@ typedef enum eBrushSculptTool {
        SCULPT_TOOL_CREASE = 16,
        SCULPT_TOOL_BLOB = 17,
        SCULPT_TOOL_CLAY_STRIPS = 18,
-       SCULPT_TOOL_MASK = 19
+       SCULPT_TOOL_MASK = 19,
 } eBrushSculptTool;
 
 /** When #BRUSH_ACCUMULATE is used */
@@ -476,7 +476,7 @@ typedef enum eBrushImagePaintTool {
        PAINT_TOOL_SMEAR = 2,
        PAINT_TOOL_CLONE = 3,
        PAINT_TOOL_FILL = 4,
-       PAINT_TOOL_MASK = 5
+       PAINT_TOOL_MASK = 5,
 } eBrushImagePaintTool;
 
 typedef enum eBrushVertexPaintTool {
@@ -507,12 +507,12 @@ enum {
        SCULPT_DISP_DIR_VIEW = 1,
        SCULPT_DISP_DIR_X = 2,
        SCULPT_DISP_DIR_Y = 3,
-       SCULPT_DISP_DIR_Z = 4
+       SCULPT_DISP_DIR_Z = 4,
 };
 
 typedef enum {
        BRUSH_MASK_DRAW = 0,
-       BRUSH_MASK_SMOOTH = 1
+       BRUSH_MASK_SMOOTH = 1,
 } BrushMaskTool;
 
 /* blur kernel types, Brush.blur_mode */
index 5a78b72419fe9a2e13bb95f244052b2226f1da77..ff9c1040c4feb6b9f4b20fd7dba4b2eab86784c8 100644 (file)
@@ -133,12 +133,12 @@ enum {
        HISTO_MODE_R      = 2,
        HISTO_MODE_G      = 3,
        HISTO_MODE_B      = 4,
-       HISTO_MODE_ALPHA  = 5
+       HISTO_MODE_ALPHA  = 5,
 };
 
 enum {
        HISTO_FLAG_LINE        = (1 << 0),
-       HISTO_FLAG_SAMPLELINE  = (1 << 1)
+       HISTO_FLAG_SAMPLELINE  = (1 << 1),
 };
 
 typedef struct Histogram {
@@ -216,7 +216,7 @@ typedef struct ColorManagedColorspaceSettings {
 
 /* ColorManagedViewSettings->flag */
 enum {
-       COLORMANAGE_VIEW_USE_CURVES = (1 << 0)
+       COLORMANAGE_VIEW_USE_CURVES = (1 << 0),
 };
 
 #endif
index a5bd0890200fab48395c8211e7c247f06c786658..c8e55cc15a17df5529fc4da8da928993edd9708e 100644 (file)
@@ -122,7 +122,7 @@ typedef struct bConstraintTarget {
 /* bConstraintTarget -> flag */
 typedef enum eConstraintTargetFlag {
        /** temporary target-struct that needs to be freed after use */
-       CONSTRAINT_TAR_TEMP = (1<<0)
+       CONSTRAINT_TAR_TEMP = (1<<0),
 } eConstraintTargetFlag;
 
 /* bConstraintTarget/bConstraintOb -> type */
@@ -134,7 +134,7 @@ typedef enum eConstraintObType {
        /** string is vertex-group name */
        CONSTRAINT_OBTYPE_VERT   = 3,
        /** string is vertex-group name - is not available until curves get vgroups */
-       CONSTRAINT_OBTYPE_CV     = 4
+       CONSTRAINT_OBTYPE_CV     = 4,
 } eConstraintObType;
 
 
@@ -209,7 +209,7 @@ typedef enum eConstraint_IK_Type {
        /** 'standard' IK constraint: match position and/or orientation of target */
        CONSTRAINT_IK_COPYPOSE = 0,
        /** maintain distance with target */
-       CONSTRAINT_IK_DISTANCE = 1
+       CONSTRAINT_IK_DISTANCE = 1,
 } eConstraint_IK_Type;
 
 
@@ -719,7 +719,7 @@ typedef enum eBConstraint_SpaceTypes {
 // XXX deprecated... old AnimSys
 typedef enum eConstraintChannel_Flags {
        CONSTRAINT_CHANNEL_SELECT =             (1<<0),
-       CONSTRAINT_CHANNEL_PROTECTED =  (1<<1)
+       CONSTRAINT_CHANNEL_PROTECTED =  (1<<1),
 } eConstraintChannel_Flags;
 
 /* -------------------------------------- */
@@ -732,7 +732,7 @@ typedef enum eCopyRotation_Flags {
        ROTLIKE_X_INVERT        = (1<<4),
        ROTLIKE_Y_INVERT        = (1<<5),
        ROTLIKE_Z_INVERT        = (1<<6),
-       ROTLIKE_OFFSET          = (1<<7)
+       ROTLIKE_OFFSET          = (1<<7),
 } eCopyRotation_Flags;
 
 /* bLocateLikeConstraint.flag */
@@ -745,7 +745,7 @@ typedef enum eCopyLocation_Flags {
        LOCLIKE_X_INVERT        = (1<<4),
        LOCLIKE_Y_INVERT        = (1<<5),
        LOCLIKE_Z_INVERT        = (1<<6),
-       LOCLIKE_OFFSET          = (1<<7)
+       LOCLIKE_OFFSET          = (1<<7),
 } eCopyLocation_Flags;
 
 /* bSizeLikeConstraint.flag */
@@ -768,7 +768,7 @@ typedef enum eTransform_ToFrom {
 typedef enum eSameVolume_Modes {
        SAMEVOL_X               = 0,
        SAMEVOL_Y               = 1,
-       SAMEVOL_Z               = 2
+       SAMEVOL_Z               = 2,
 } eSameVolume_Modes;
 
 /* bActionConstraint.flag */
@@ -781,14 +781,14 @@ typedef enum eActionConstraint_Flags {
 typedef enum eLockAxis_Modes {
        LOCK_X = 0,
        LOCK_Y = 1,
-       LOCK_Z = 2
+       LOCK_Z = 2,
 } eLockAxis_Modes;
 
 /* Up-Axis Values (TrackTo and Locked Track) */
 typedef enum eUpAxis_Modes {
        UP_X = 0,
        UP_Y = 1,
-       UP_Z = 2
+       UP_Z = 2,
 } eUpAxis_Modes;
 
 /* Tracking axis (TrackTo, Locked Track, Damped Track) and minmax (floor) constraint */
@@ -822,12 +822,12 @@ typedef enum eShrinkwrap_Flags {
 typedef enum eFollowPath_Flags {
        FOLLOWPATH_FOLLOW       = (1<<0),
        FOLLOWPATH_STATIC       = (1<<1),
-       FOLLOWPATH_RADIUS       = (1<<2)
+       FOLLOWPATH_RADIUS       = (1<<2),
 } eFollowPath_Flags;
 
 /* bTrackToConstraint->flags */
 typedef enum eTrackTo_Flags {
-       TARGET_Z_UP     = (1<<0)
+       TARGET_Z_UP     = (1<<0),
 } eTrackTo_Flags;
 
 /* Stretch To Constraint -> volmode */
@@ -835,14 +835,14 @@ typedef enum eStretchTo_VolMode {
        VOLUME_XZ       = 0,
        VOLUME_X        = 1,
        VOLUME_Z        = 2,
-       NO_VOLUME       = 3
+       NO_VOLUME       = 3,
 } eStretchTo_VolMode;
 
 /* Stretch To Constraint -> plane mode */
 typedef enum eStretchTo_PlaneMode {
        PLANE_X         = 0,
        PLANE_Y         = 1,
-       PLANE_Z         = 2
+       PLANE_Z         = 2,
 } eStretchTo_PlaneMode;
 
 /* Clamp-To Constraint ->flag */
@@ -850,12 +850,12 @@ typedef enum eClampTo_Modes {
        CLAMPTO_AUTO = 0,
        CLAMPTO_X    = 1,
        CLAMPTO_Y    = 2,
-       CLAMPTO_Z    = 3
+       CLAMPTO_Z    = 3,
 } eClampTo_Modes;
 
 /* ClampTo Constraint ->flag2 */
 typedef enum eClampTo_Flags {
-       CLAMPTO_CYCLIC  = (1<<0)
+       CLAMPTO_CYCLIC  = (1<<0),
 } eClampTo_Flags;
 
 /* bKinematicConstraint->flag */
@@ -878,7 +878,7 @@ typedef enum eKinematic_Flags {
        CONSTRAINT_IK_NO_ROT_Y          = (1<<12),
        CONSTRAINT_IK_NO_ROT_Z          = (1<<13),
        /* axis relative to target */
-       CONSTRAINT_IK_TARGETAXIS        = (1<<14)
+       CONSTRAINT_IK_TARGETAXIS        = (1<<14),
 } eKinematic_Flags;
 
 /* bSplineIKConstraint->flag */
@@ -908,7 +908,7 @@ typedef enum eSplineIK_XZScaleModes {
        /* x/z scales are the inverse of the y-scale */
        CONSTRAINT_SPLINEIK_XZS_INVERSE                 = 2,
        /* x/z scales are computed using a volume preserving technique (from Stretch To constraint) */
-       CONSTRAINT_SPLINEIK_XZS_VOLUMETRIC              = 3
+       CONSTRAINT_SPLINEIK_XZS_VOLUMETRIC              = 3,
 } eSplineIK_XZScaleModes;
 
 /* bArmatureConstraint -> flag */
@@ -925,7 +925,7 @@ typedef enum eArmature_Flags {
 typedef enum eFloor_Flags {
        MINMAX_STICKY   = (1<<0),
        MINMAX_STUCK    = (1<<1),
-       MINMAX_USEROT   = (1<<2)
+       MINMAX_USEROT   = (1<<2),
 } eFloor_Flags;
 
 /* transform limiting constraints -> flag2 */
@@ -933,7 +933,7 @@ typedef enum eTransformLimits_Flags2 {
        /* not used anymore - for older Limit Location constraints only */
        LIMIT_NOPARENT  = (1<<0),
        /* for all Limit constraints - allow to be used during transform? */
-       LIMIT_TRANSFORM = (1<<1)
+       LIMIT_TRANSFORM = (1<<1),
 } eTransformLimits_Flags2;
 
 /* transform limiting constraints -> flag (own flags)  */
@@ -943,14 +943,14 @@ typedef enum eTransformLimits_Flags {
        LIMIT_YMIN = (1<<2),
        LIMIT_YMAX = (1<<3),
        LIMIT_ZMIN = (1<<4),
-       LIMIT_ZMAX = (1<<5)
+       LIMIT_ZMAX = (1<<5),
 } eTransformLimits_Flags;
 
 /* limit rotation constraint -> flag (own flags) */
 typedef enum eRotLimit_Flags {
        LIMIT_XROT = (1<<0),
        LIMIT_YROT = (1<<1),
-       LIMIT_ZROT = (1<<2)
+       LIMIT_ZROT = (1<<2),
 } eRotLimit_Flags;
 
 /* distance limit constraint */
@@ -959,20 +959,20 @@ typedef enum eDistLimit_Flag {
        /* "soft" cushion effect when reaching the limit sphere */ // NOT IMPLEMENTED!
        LIMITDIST_USESOFT       = (1<<0),
        /* as for all Limit constraints - allow to be used during transform? */
-       LIMITDIST_TRANSFORM = (1<<1)
+       LIMITDIST_TRANSFORM = (1<<1),
 } eDistLimit_Flag;
 
        /* bDistLimitConstraint->mode */
 typedef enum eDistLimit_Modes {
        LIMITDIST_INSIDE    = 0,
        LIMITDIST_OUTSIDE   = 1,
-       LIMITDIST_ONSURFACE = 2
+       LIMITDIST_ONSURFACE = 2,
 } eDistLimit_Modes;
 
 /* python constraint -> flag */
 typedef enum ePyConstraint_Flags {
        PYCON_USETARGETS        = (1<<0),
-       PYCON_SCRIPTERROR       = (1<<1)
+       PYCON_SCRIPTERROR       = (1<<1),
 } ePyConstraint_Flags;
 
 /* ChildOf Constraint -> flag */
@@ -986,7 +986,7 @@ typedef enum eChildOf_Flags {
        CHILDOF_SIZEX   = (1<<6),
        CHILDOF_SIZEY   = (1<<7),
        CHILDOF_SIZEZ   = (1<<8),
-       CHILDOF_ALL             = 511
+       CHILDOF_ALL             = 511,
 } eChildOf_Flags;
 
 /* Pivot Constraint */
@@ -1007,7 +1007,7 @@ typedef enum ePivotConstraint_Axis {
        /* consider +ve y-axis rotations */
        PIVOTCON_AXIS_Y = 4,
        /* consider +ve z-axis rotations */
-       PIVOTCON_AXIS_Z = 5
+       PIVOTCON_AXIS_Z = 5,
 } ePivotConstraint_Axis;
 
        /* settings for Pivot Constraint in general */
@@ -1015,29 +1015,29 @@ typedef enum ePivotConstraint_Flag {
        /* offset is to be interpreted as being a fixed-point in space */
        PIVOTCON_FLAG_OFFSET_ABS        = (1<<0),
        /* rotation-based activation uses negative rotation to drive result */
-       PIVOTCON_FLAG_ROTACT_NEG        = (1<<1)
+       PIVOTCON_FLAG_ROTACT_NEG        = (1<<1),
 } ePivotConstraint_Flag;
 
 typedef enum eFollowTrack_Flags {
        FOLLOWTRACK_ACTIVECLIP  = (1<<0),
        FOLLOWTRACK_USE_3D_POSITION     = (1<<1),
-       FOLLOWTRACK_USE_UNDISTORTION    = (1<<2)
+       FOLLOWTRACK_USE_UNDISTORTION    = (1<<2),
 } eFollowTrack_Flags;
 
 typedef enum eFollowTrack_FrameMethod {
        FOLLOWTRACK_FRAME_STRETCH = 0,
        FOLLOWTRACK_FRAME_FIT = 1,
-       FOLLOWTRACK_FRAME_CROP = 2
+       FOLLOWTRACK_FRAME_CROP = 2,
 } eFollowTrack_FrameMethod;
 
 /* CameraSolver Constraint -> flag */
 typedef enum eCameraSolver_Flags {
-       CAMERASOLVER_ACTIVECLIP = (1<<0)
+       CAMERASOLVER_ACTIVECLIP = (1<<0),
 } eCameraSolver_Flags;
 
 /* ObjectSolver Constraint -> flag */
 typedef enum eObjectSolver_Flags {
-       OBJECTSOLVER_ACTIVECLIP = (1<<0)
+       OBJECTSOLVER_ACTIVECLIP = (1<<0),
 } eObjectSolver_Flags;
 
 /* ObjectSolver Constraint -> flag */
index b080cbd9a641b89fc859fabac5860741f4c30c46..3437c1a4a4d0f8407a59716ec4062e89108c5e9b 100644 (file)
@@ -446,7 +446,7 @@ typedef enum eBezTriple_Handle {
 /* f5 (beztriple) */
 typedef enum eBezTriple_Auto_Type {
        HD_AUTOTYPE_NORMAL = 0,
-       HD_AUTOTYPE_SPECIAL = 1
+       HD_AUTOTYPE_SPECIAL = 1,
 } eBezTriple_Auto_Type;
 
 /* interpolation modes (used only for BezTriple->ipo) */
index 7085dafbf729abb9bcc06e38afd85c5b01759b8f..2793f82af09583bbb2b92b5cff601ff108bb5df4 100644 (file)
@@ -149,7 +149,7 @@ typedef enum CustomDataType {
        CD_TESSLOOPNORMAL   = 40,
        CD_CUSTOMLOOPNORMAL = 41,
 
-       CD_NUMTYPES         = 42
+       CD_NUMTYPES         = 42,
 } CustomDataType;
 
 /* Bits for CustomDataMask */
index 4f14d5c0174e4dc3d04c896cb3daea5ca5d53b70..c9b53698d807fac7c69fc3881bcc1dd14a44ba69 100644 (file)
@@ -65,7 +65,7 @@ typedef enum eSDNA_Type {
 /* define so switch statements don't complain */
 #define SDNA_TYPE_VOID 9
        SDNA_TYPE_INT64    = 10,
-       SDNA_TYPE_UINT64   = 11
+       SDNA_TYPE_UINT64   = 11,
 } eSDNA_Type;
 
 /**
index 35873efd7308c71332aea69abf70c8d354afebec..aaafc897739af866b3c9cd87f270c234741ea32d 100644 (file)
@@ -194,14 +194,14 @@ typedef enum eTimeGpencil_Flag {
 typedef enum eTimeGpencil_Mode {
        GP_TIME_MODE_NORMAL  = 0,
        GP_TIME_MODE_REVERSE = 1,
-       GP_TIME_MODE_FIX     = 2
+       GP_TIME_MODE_FIX     = 2,
 } eTimeGpencil_Mode;
 
 
 typedef enum eModifyColorGpencil_Flag {
        GP_MODIFY_COLOR_BOTH = 0,
        GP_MODIFY_COLOR_STROKE = 1,
-       GP_MODIFY_COLOR_FILL = 2
+       GP_MODIFY_COLOR_FILL = 2,
 } eModifyColorGpencil_Flag;
 
 typedef struct TintGpencilModifierData {
index 2f85549cc5ee946f28de875e80d4f8be334ebd8a..93a375bf1dcef32c3abe34e4fb13874353321660 100644 (file)
@@ -136,7 +136,7 @@ typedef enum eGPDpalettecolor_Flag {
        /* do onion skinning */
        PC_COLOR_ONIONSKIN = (1 << 3),
        /* "volumetric" strokes */
-       PC_COLOR_VOLUMETRIC = (1 << 4)
+       PC_COLOR_VOLUMETRIC = (1 << 4),
 } eGPDpalettecolor_Flag;
 
 /* palette of colors */
@@ -155,7 +155,7 @@ typedef struct bGPDpalette {
 /* bGPDpalette->flag */
 typedef enum eGPDpalette_Flag {
        /* palette is active */
-       PL_PALETTE_ACTIVE = (1 << 0)
+A,     PL_PALETTE_ACTIVE = (1 << 0)
 } eGPDpalette_Flag;
 
 /* ***************************************** */
@@ -232,7 +232,7 @@ typedef enum eGPDstroke_Flag {
         * fill color for stroke and no fill area */
        GP_STROKE_NOFILL = (1 << 8),
        /* only for use with stroke-buffer (while drawing eraser) */
-       GP_STROKE_ERASER                = (1 << 15)
+       GP_STROKE_ERASER                = (1 << 15),
 } eGPDstroke_Flag;
 
 /* bGPDstroke->caps */
@@ -278,7 +278,7 @@ typedef enum eGPDframe_Flag {
        /* frame is being painted on */
        GP_FRAME_PAINT          = (1 << 0),
        /* for editing in Action Editor */
-       GP_FRAME_SELECT         = (1 << 1)
+       GP_FRAME_SELECT         = (1 << 1),
 } eGPDframe_Flag;
 
 /* ***************************************** */
@@ -619,7 +619,7 @@ typedef enum eGP_OnionModes {
 typedef enum eGP_DepthOrdering {
        GP_XRAY_FRONT = 0,
        GP_XRAY_3DSPACE = 1,
-       GP_XRAY_BACK  = 2
+       GP_XRAY_BACK  = 2,
 } eGP_DepthOrdering;
 
 /* ***************************************** */
index 2ca5856796c40a27f3d69bf97f688280104113b3..8bca051739d8aac74a4b864ff2efa3e3b0c548c8 100644 (file)
@@ -106,7 +106,7 @@ typedef struct RenderSlot {
 enum {
        TEXTARGET_TEXTURE_2D = 0,
        TEXTARGET_TEXTURE_CUBE_MAP = 1,
-       TEXTARGET_COUNT = 2
+       TEXTARGET_COUNT = 2,
 };
 
 typedef struct Image {
index 740d8b274b4e76c723deae90126ec7c3191538ae..2f03bd6cfd27e816ba3f6fc413cb1c7dd70b7df5 100644 (file)
@@ -135,12 +135,12 @@ enum {
        KEY_NORMAL      = 0,
 
        /* States to blend between (default) */
-       KEY_RELATIVE    = 1
+       KEY_RELATIVE    = 1,
 };
 
 /* Key->flag */
 enum {
-       KEY_DS_EXPAND   = 1
+       KEY_DS_EXPAND   = 1,
 };
 
 /* KeyBlock->type */
@@ -155,7 +155,7 @@ enum {
 enum {
        KEYBLOCK_MUTE       = (1 << 0),
        KEYBLOCK_SEL        = (1 << 1),
-       KEYBLOCK_LOCKED     = (1 << 2)
+       KEYBLOCK_LOCKED     = (1 << 2),
 };
 
 #define KEYELEM_FLOAT_LEN_COORD 3
index 1b834cb6ee2476d1a5874d26d177c1321295cf3f..48861e60f0becb5de2eb893e9c719bcbdd7300ee 100644 (file)
@@ -199,19 +199,19 @@ enum {
 enum {
        MASK_SPLINE_CYCLIC  = (1 << 1),
        MASK_SPLINE_NOFILL  = (1 << 2),
-       MASK_SPLINE_NOINTERSECT = (1 << 3)
+       MASK_SPLINE_NOINTERSECT = (1 << 3),
 };
 
 /* MaskSpline->weight_interp */
 enum {
        MASK_SPLINE_INTERP_LINEAR  = 1,
-       MASK_SPLINE_INTERP_EASE    = 2
+       MASK_SPLINE_INTERP_EASE    = 2,
 };
 
 /* MaskSpline->offset_mode */
 enum {
        MASK_SPLINE_OFFSET_EVEN   = 0,
-       MASK_SPLINE_OFFSET_SMOOTH = 1
+       MASK_SPLINE_OFFSET_SMOOTH = 1,
 };
 
 
@@ -230,13 +230,13 @@ enum {
        MASK_DT_OUTLINE = 0,
        MASK_DT_DASH    = 1,
        MASK_DT_BLACK   = 2,
-       MASK_DT_WHITE   = 3
+       MASK_DT_WHITE   = 3,
 };
 
 /* MaskSpaceInfo->overlay_mode */
 enum {
        MASK_OVERLAY_ALPHACHANNEL = 0,
-       MASK_OVERLAY_COMBINED     = 1
+       MASK_OVERLAY_COMBINED     = 1,
 };
 
 /* masklay->blend */
@@ -249,12 +249,12 @@ enum {
        MASK_BLEND_REPLACE         = 5,
        MASK_BLEND_DIFFERENCE      = 6,
        MASK_BLEND_MERGE_ADD       = 7,
-       MASK_BLEND_MERGE_SUBTRACT  = 8
+       MASK_BLEND_MERGE_SUBTRACT  = 8,
 };
 
 /* masklay->blend_flag */
 enum {
-       MASK_BLENDFLAG_INVERT = (1 << 0)
+       MASK_BLENDFLAG_INVERT = (1 << 0),
 };
 
 /* masklay->flag */
@@ -269,13 +269,13 @@ enum {
 
 /* masklay_shape->flag */
 enum {
-       MASK_SHAPE_SELECT = (1 << 0)
+       MASK_SHAPE_SELECT = (1 << 0),
 };
 
 
 /* mask->flag */
 enum {
-       MASK_ANIMF_EXPAND = (1 << 4)
+       MASK_ANIMF_EXPAND = (1 << 4),
 };
 
 #endif  /* __DNA_MASK_TYPES_H__ */
index 41146a77e7b586de059e48951350c82ed561711c..144f1dfd6d1cfc3b3b2e72d724f0dcf62dfab855 100644 (file)
@@ -128,7 +128,7 @@ typedef enum eMaterialGPencilStyle_Flag {
        /* Stroke show main switch */
        GP_STYLE_STROKE_SHOW = (1 << 8),
        /* Fill  show main switch */
-       GP_STYLE_FILL_SHOW = (1 << 9)
+       GP_STYLE_FILL_SHOW = (1 << 9),
 } eMaterialGPencilStyle_Flag;
 
 typedef enum eMaterialGPencilStyle_Mode {
index 58041284d84ffeedd3e643be70a1d4d8636ddfc1..18676eb207dfe9ae9cb6d7a4a54eef5e476a5577 100644 (file)
@@ -164,19 +164,19 @@ enum {
        MCLIP_PROXY_UNDISTORTED_SIZE_25  = (1 << 4),
        MCLIP_PROXY_UNDISTORTED_SIZE_50  = (1 << 5),
        MCLIP_PROXY_UNDISTORTED_SIZE_75  = (1 << 6),
-       MCLIP_PROXY_UNDISTORTED_SIZE_100 = (1 << 7)
+       MCLIP_PROXY_UNDISTORTED_SIZE_100 = (1 << 7),
 };
 
 /* MovieClip->source */
 enum {
        MCLIP_SRC_SEQUENCE = 1,
-       MCLIP_SRC_MOVIE    = 2
+       MCLIP_SRC_MOVIE    = 2,
 };
 
 /* MovieClip->selection types */
 enum {
        MCLIP_SEL_NONE  = 0,
-       MCLIP_SEL_TRACK = 1
+       MCLIP_SEL_TRACK = 1,
 };
 
 /* MovieClip->flag */
@@ -186,7 +186,7 @@ enum {
        /* MCLIP_CUSTOM_START_FRAME    = (1<<2), */ /* UNUSED */
        MCLIP_DATA_EXPAND             = (1 << 3),
 
-       MCLIP_TIMECODE_FLAGS          =  (MCLIP_USE_PROXY | MCLIP_USE_PROXY_CUSTOM_DIR)
+       MCLIP_TIMECODE_FLAGS          =  (MCLIP_USE_PROXY | MCLIP_USE_PROXY_CUSTOM_DIR),
 };
 
 /* MovieClip->render_size */
@@ -195,12 +195,12 @@ enum {
        MCLIP_PROXY_RENDER_SIZE_25   = 1,
        MCLIP_PROXY_RENDER_SIZE_50   = 2,
        MCLIP_PROXY_RENDER_SIZE_75   = 3,
-       MCLIP_PROXY_RENDER_SIZE_100  = 4
+       MCLIP_PROXY_RENDER_SIZE_100  = 4,
 };
 
 /* MovieClip->render_flag */
 enum {
-       MCLIP_PROXY_RENDER_UNDISTORT = 1
+       MCLIP_PROXY_RENDER_UNDISTORT = 1,
 };
 
 #endif
index a10504e6b3ecd876aee544d1ffecdbbc1856034f..eadbb339bcaa534bf5071f17557e2048705dc7e2 100644 (file)
@@ -115,7 +115,7 @@ typedef enum eActStrip_Flag {
        ACTSTRIP_CYCLIC_USEX    = (1<<8),
        ACTSTRIP_CYCLIC_USEY    = (1<<9),
        ACTSTRIP_CYCLIC_USEZ    = (1<<10),
-       ACTSTRIP_AUTO_BLENDS    = (1<<11)
+       ACTSTRIP_AUTO_BLENDS    = (1<<11),
 } eActStrip_Flag;
 
 #endif
index 45d8b544ad4326401faed716ad8c95c3d4183336..ddf7175ba40ce4038d63ec7a7c4ffff504533ab5 100644 (file)
@@ -162,20 +162,20 @@ typedef enum eNodeSocketDatatype {
        SOCK_BOOLEAN            = 4,
        __SOCK_MESH                     = 5,    /* deprecated */
        SOCK_INT                        = 6,
-       SOCK_STRING                     = 7
+       SOCK_STRING                     = 7,
 } eNodeSocketDatatype;
 
 /* socket shape */
 typedef enum eNodeSocketDrawShape {
        SOCK_DRAW_SHAPE_CIRCLE = 0,
        SOCK_DRAW_SHAPE_SQUARE = 1,
-       SOCK_DRAW_SHAPE_DIAMOND = 2
+       SOCK_DRAW_SHAPE_DIAMOND = 2,
 } eNodeSocketDrawShape;
 
 /* socket side (input/output) */
 typedef enum eNodeSocketInOut {
        SOCK_IN = 1,
-       SOCK_OUT = 2
+       SOCK_OUT = 2,
 } eNodeSocketInOut;
 
 /* sock->flag, first bit is select */
@@ -531,7 +531,7 @@ typedef enum eNodeTreeUpdate {
        NTREE_UPDATE_GROUP_IN   = (1 << 4),             /* group inputs have changed */
        NTREE_UPDATE_GROUP_OUT  = (1 << 5),             /* group outputs have changed */
        /* group has changed (generic flag including all other group flags) */
-       NTREE_UPDATE_GROUP      = (NTREE_UPDATE_GROUP_IN | NTREE_UPDATE_GROUP_OUT)
+       NTREE_UPDATE_GROUP      = (NTREE_UPDATE_GROUP_IN | NTREE_UPDATE_GROUP_OUT),
 } eNodeTreeUpdate;
 
 
@@ -581,25 +581,25 @@ enum {
        CMP_NODE_MASKTYPE_ADD         = 0,
        CMP_NODE_MASKTYPE_SUBTRACT    = 1,
        CMP_NODE_MASKTYPE_MULTIPLY    = 2,
-       CMP_NODE_MASKTYPE_NOT         = 3
+       CMP_NODE_MASKTYPE_NOT         = 3,
 };
 
 enum {
        CMP_NODE_LENSFLARE_GHOST   = (1 << 0),
        CMP_NODE_LENSFLARE_GLOW    = (1 << 1),
        CMP_NODE_LENSFLARE_CIRCLE  = (1 << 2),
-       CMP_NODE_LENSFLARE_STREAKS = (1 << 3)
+       CMP_NODE_LENSFLARE_STREAKS = (1 << 3),
 };
 
 enum {
        CMP_NODE_DILATEERODE_STEP             = 0,
        CMP_NODE_DILATEERODE_DISTANCE_THRESH  = 1,
        CMP_NODE_DILATEERODE_DISTANCE         = 2,
-       CMP_NODE_DILATEERODE_DISTANCE_FEATHER = 3
+       CMP_NODE_DILATEERODE_DISTANCE_FEATHER = 3,
 };
 
 enum {
-       CMP_NODE_INPAINT_SIMPLE               = 0
+       CMP_NODE_INPAINT_SIMPLE               = 0,
 };
 
 enum {
@@ -609,7 +609,7 @@ enum {
 
        /* we may want multiple aspect options, exposed as an rna enum */
        CMP_NODEFLAG_MASK_FIXED       = (1 << 8),
-       CMP_NODEFLAG_MASK_FIXED_SCENE = (1 << 9)
+       CMP_NODEFLAG_MASK_FIXED_SCENE = (1 << 9),
 };
 
 enum {
index 512d85ad694837283587e880b5ddc18fe14bc20a..4bb639661e97e773136518017b61a73bf22f02f6 100644 (file)
@@ -581,7 +581,7 @@ enum {
 enum {
        GP_EMPTY = 0,
        GP_STROKE = 1,
-       GP_MONKEY = 2
+       GP_MONKEY = 2,
 };
 
 /* boundtype */
index d2e0dd92cbc7fe6d2f90f1887ac7eebfc902977b..22e8d477abd532d96deed56809fcdb4c5040bfd9 100644 (file)
@@ -53,7 +53,7 @@ enum ePF_FileStatus {
        PF_REMOVE = 8,
        PF_NOOP = 9,
 
-       PF_ASK = 10
+       PF_ASK = 10,
 };
 
 #endif /* PACKEDFILE_TYPES_H */
index d22e195732d2e8d2c7af9f4cf218c38fe0e9d5b7..10d99199c65c68d108d6fcb7fb58181537b2fbf4 100644 (file)
@@ -101,7 +101,7 @@ typedef enum eRigidBodyWorld_Flag {
        /* sim data needs to be rebuilt */
        RBW_FLAG_NEEDS_REBUILD          = (1 << 1),
        /* usse split impulse when stepping the simulation */
-       RBW_FLAG_USE_SPLIT_IMPULSE      = (1 << 2)
+       RBW_FLAG_USE_SPLIT_IMPULSE      = (1 << 2),
 } eRigidBodyWorld_Flag;
 
 /* ******************************** */
@@ -200,7 +200,7 @@ typedef enum eRigidBodyOb_Flag {
        /* collision margin is not embedded (only used by convex hull shapes for now) */
        RBO_FLAG_USE_MARGIN                     = (1 << 6),
        /* collision shape deforms during simulation (only for passive triangle mesh shapes) */
-       RBO_FLAG_USE_DEFORM                     = (1 << 7)
+       RBO_FLAG_USE_DEFORM                     = (1 << 7),
 } eRigidBodyOb_Flag;
 
 /* RigidBody Collision Shape */
@@ -374,7 +374,7 @@ typedef enum eRigidBodyCon_Flag {
        /* angular springs */
        RBC_FLAG_USE_SPRING_ANG_X                       = (1 << 16),
        RBC_FLAG_USE_SPRING_ANG_Y                       = (1 << 17),
-       RBC_FLAG_USE_SPRING_ANG_Z                       = (1 << 18)
+       RBC_FLAG_USE_SPRING_ANG_Z                       = (1 << 18),
 } eRigidBodyCon_Flag;
 
 /* ******************************** */
index 2858221cee1e5e88a288ecdc465af4304e751ab4..869531bf963bf797cc4d0389ceadf5687b3f48b5 100644 (file)
@@ -1024,7 +1024,7 @@ typedef struct VPaint {
 /* VPaint.flag */
 enum {
        /* weight paint only */
-       VP_FLAG_VGROUP_RESTRICT     = (1 << 7)
+       VP_FLAG_VGROUP_RESTRICT     = (1 << 7),
 };
 
 /* ------------------------------------------- */
@@ -1056,7 +1056,7 @@ typedef enum eGP_Lockaxis_Types {
        GP_LOCKAXIS_VIEW = 0,
        GP_LOCKAXIS_X = 1,
        GP_LOCKAXIS_Y = 2,
-       GP_LOCKAXIS_Z = 3
+       GP_LOCKAXIS_Z = 3,
 } eGP_Lockaxis_Types;
 
 /* Settings for a GPencil Stroke Sculpting Brush */
@@ -1306,7 +1306,7 @@ typedef enum {
 
        /* only used if unified alpha is enabled, mirrors the brush flag
         * BRUSH_ALPHA_PRESSURE */
-       UNIFIED_PAINT_BRUSH_ALPHA_PRESSURE  = (1 << 4)
+       UNIFIED_PAINT_BRUSH_ALPHA_PRESSURE  = (1 << 4),
 } eUnifiedPaintSettingsFlags;
 
 
@@ -2111,7 +2111,7 @@ enum {
 enum {
        OB_DRAW_GROUPUSER_NONE      = 0,
        OB_DRAW_GROUPUSER_ACTIVE    = 1,
-       OB_DRAW_GROUPUSER_ALL       = 2
+       OB_DRAW_GROUPUSER_ALL       = 2,
 };
 
 /* toolsettings->face_strength */
@@ -2128,7 +2128,7 @@ typedef enum eVGroupSelect {
        WT_VGROUP_ACTIVE = 1,
        WT_VGROUP_BONE_SELECT = 2,
        WT_VGROUP_BONE_DEFORM = 3,
-       WT_VGROUP_BONE_DEFORM_OFF = 4
+       WT_VGROUP_BONE_DEFORM_OFF = 4,
 } eVGroupSelect;
 
 #define WT_VGROUP_MASK_ALL \
@@ -2173,7 +2173,7 @@ typedef enum ePaintFlags {
        PAINT_SHOW_BRUSH = (1 << 0),
        PAINT_FAST_NAVIGATE = (1 << 1),
        PAINT_SHOW_BRUSH_ON_SURFACE = (1 << 2),
-       PAINT_USE_CAVITY_MASK = (1 << 3)
+       PAINT_USE_CAVITY_MASK = (1 << 3),
 } ePaintFlags;
 
 /* Paint.symmetry_flags
@@ -2344,7 +2344,7 @@ typedef enum eGPencil_Placement_Flags {
 typedef enum eGPencil_Selectmode_types {
        GP_SELECTMODE_POINT   = 0,
        GP_SELECTMODE_STROKE  = 1,
-       GP_SELECTMODE_SEGMENT = 2
+       GP_SELECTMODE_SEGMENT = 2,
 } eGPencil_Selectmode_types;
 
 /* ToolSettings.gpencil_guide_types */
index 71b05a2bffaf5ae4af642907ce7abc4d141dd655..9f598d1ba9a95a7a5483b12bfd4b14f9a9d6d040 100644 (file)
@@ -563,7 +563,7 @@ enum {
        /** Special flag to indicate that order is locked (not user-changeable). */
        UILST_FLT_SORT_LOCK       = 1u << 30,
        /** Special value, bitflag used to reverse order! */
-       UILST_FLT_SORT_REVERSE      = 1u << 31
+       UILST_FLT_SORT_REVERSE      = 1u << 31,
 };
 
 #define UILST_FLT_SORT_MASK (((unsigned int)(UILST_FLT_SORT_REVERSE | UILST_FLT_SORT_LOCK)) - 1)
index cce4b41fde2d8f39c03b85e52346712ec46bcbdd..bfaff95addcdfb40bc1955fd968fe6ddacb735d8 100644 (file)
@@ -543,7 +543,7 @@ enum {
 /* seq->alpha_mode */
 enum {
        SEQ_ALPHA_STRAIGHT = 0,
-       SEQ_ALPHA_PREMUL   = 1
+       SEQ_ALPHA_PREMUL   = 1,
 };
 
 /* seq->type WATCH IT: SEQ_TYPE_EFFECT BIT is used to determine if this is an effect strip!!! */
@@ -598,7 +598,7 @@ enum {
        SEQ_TYPE_DIFFERENCE  = 59,
        SEQ_TYPE_EXCLUSION   = 60,
 
-       SEQ_TYPE_MAX         = 60
+       SEQ_TYPE_MAX         = 60,
 };
 
 #define SEQ_MOVIECLIP_RENDER_UNDISTORTED (1 << 0)
@@ -636,7 +636,7 @@ enum {
 
 enum {
        SEQUENCE_MASK_INPUT_STRIP   = 0,
-       SEQUENCE_MASK_INPUT_ID      = 1
+       SEQUENCE_MASK_INPUT_ID      = 1,
 };
 
 enum {
index 613c4641d16a2b385a97687c7391564b530178fa..7701950f98c9e485e1d20281a0d0ad9a2f460b15 100644 (file)
@@ -98,7 +98,7 @@ typedef struct BlurShaderFxData {
 } BlurShaderFxData;
 
 typedef enum eBlurShaderFx_Flag {
-       FX_BLUR_DOF_MODE = (1 << 0)
+       FX_BLUR_DOF_MODE = (1 << 0),
 } eBlurShaderFx_Flag;
 
 typedef struct ColorizeShaderFxData {
index f8b5fc819ae2700993b083d9901fc8badef15c77..9edf5ef747571d91be39cf67d395f4878c13719d 100644 (file)
@@ -110,7 +110,7 @@ typedef enum eSound_Type {
        SOUND_TYPE_INVALID = -1,
        SOUND_TYPE_FILE = 0,
        SOUND_TYPE_BUFFER = 1,
-       SOUND_TYPE_LIMITER = 2
+       SOUND_TYPE_LIMITER = 2,
 } eSound_Type;
 #endif
 
index 6e523235426b55a1d9c5a7ea9fdbc40c59e8ed15..4ffd6c4842edd2196fb364732abd15ce748974fc 100644 (file)
@@ -631,7 +631,7 @@ typedef enum eSpaceSeq_Proxy_RenderSize {
        SEQ_PROXY_RENDER_SIZE_50        =  50,
        SEQ_PROXY_RENDER_SIZE_75        =  75,
        SEQ_PROXY_RENDER_SIZE_100       =  99,
-       SEQ_PROXY_RENDER_SIZE_FULL      = 100
+       SEQ_PROXY_RENDER_SIZE_FULL      = 100,
 } eSpaceSeq_Proxy_RenderSize;
 
 typedef struct MaskSpaceInfo {
@@ -648,7 +648,7 @@ typedef struct MaskSpaceInfo {
 typedef enum eSpaceSeq_OverlayType {
        SEQ_DRAW_OVERLAY_RECT = 0,
        SEQ_DRAW_OVERLAY_REFERENCE = 1,
-       SEQ_DRAW_OVERLAY_CURRENT = 2
+       SEQ_DRAW_OVERLAY_CURRENT = 2,
 } eSpaceSeq_OverlayType;
 
 /** \} */
@@ -758,7 +758,7 @@ enum eFileDisplayType {
        FILE_DEFAULTDISPLAY = 0,
        FILE_SHORTDISPLAY = 1,
        FILE_LONGDISPLAY = 2,
-       FILE_IMGDISPLAY = 3
+       FILE_IMGDISPLAY = 3,
 };
 
 /* FileSelectParams.sort */
@@ -767,7 +767,7 @@ enum eFileSortType {
        FILE_SORT_ALPHA = 1,
        FILE_SORT_EXTENSION = 2,
        FILE_SORT_TIME = 3,
-       FILE_SORT_SIZE = 4
+       FILE_SORT_SIZE = 4,
 };
 
 /* these values need to be hardcoded in structs, dna does not recognize defines */
@@ -1385,7 +1385,7 @@ typedef enum eConsoleLine_Type {
        CONSOLE_LINE_OUTPUT = 0,
        CONSOLE_LINE_INPUT = 1,
        CONSOLE_LINE_INFO = 2, /* autocomp feedback */
-       CONSOLE_LINE_ERROR = 3
+       CONSOLE_LINE_ERROR = 3,
 } eConsoleLine_Type;
 
 
@@ -1627,7 +1627,7 @@ typedef enum eSpace_Type {
        SPACE_TOPBAR   = 21,
        SPACE_STATUSBAR = 22,
 
-       SPACE_TYPE_LAST = SPACE_STATUSBAR
+       SPACE_TYPE_LAST = SPACE_STATUSBAR,
 } eSpace_Type;
 
 /* use for function args */
index fea6e5caeb9f693ed6e754820a23fcf8cc8837a0..6aad815435c61f556554adb351d378500fdcf79c 100644 (file)
@@ -463,13 +463,13 @@ typedef struct MovieTracking {
 /* MovieTrackingCamera->distortion_model */
 enum {
        TRACKING_DISTORTION_MODEL_POLYNOMIAL = 0,
-       TRACKING_DISTORTION_MODEL_DIVISION = 1
+       TRACKING_DISTORTION_MODEL_DIVISION = 1,
 };
 
 /* MovieTrackingCamera->units */
 enum {
        CAMERA_UNITS_PX = 0,
-       CAMERA_UNITS_MM = 1
+       CAMERA_UNITS_MM = 1,
 };
 
 /* MovieTrackingMarker->flag */
@@ -478,7 +478,7 @@ enum {
        MARKER_TRACKED     = (1 << 1),
        MARKER_GRAPH_SEL_X = (1 << 2),
        MARKER_GRAPH_SEL_Y = (1 << 3),
-       MARKER_GRAPH_SEL   = (MARKER_GRAPH_SEL_X | MARKER_GRAPH_SEL_Y)
+       MARKER_GRAPH_SEL   = (MARKER_GRAPH_SEL_X | MARKER_GRAPH_SEL_Y),
 };
 
 /* MovieTrackingTrack->flag */
@@ -494,7 +494,7 @@ enum {
        TRACK_PREVIEW_GRAYSCALE = (1 << 9),
        TRACK_DOPE_SEL          = (1 << 10),
        TRACK_PREVIEW_ALPHA     = (1 << 11),
-       TRACK_USE_2D_STAB_ROT   = (1 << 12)
+       TRACK_USE_2D_STAB_ROT   = (1 << 12),
 };
 
 /* MovieTrackingTrack->motion_model */
@@ -504,33 +504,33 @@ enum {
        TRACK_MOTION_MODEL_TRANSLATION_SCALE           = 2,
        TRACK_MOTION_MODEL_TRANSLATION_ROTATION_SCALE  = 3,
        TRACK_MOTION_MODEL_AFFINE                      = 4,
-       TRACK_MOTION_MODEL_HOMOGRAPHY                  = 5
+       TRACK_MOTION_MODEL_HOMOGRAPHY                  = 5,
 };
 
 /* MovieTrackingTrack->algorithm_flag */
 enum {
        TRACK_ALGORITHM_FLAG_USE_BRUTE                  = (1 << 0),
        TRACK_ALGORITHM_FLAG_USE_NORMALIZATION  = (1 << 2),
-       TRACK_ALGORITHM_FLAG_USE_MASK                   = (1 << 3)
+       TRACK_ALGORITHM_FLAG_USE_MASK                   = (1 << 3),
 };
 
 /* MovieTrackingTrack->adjframes */
 enum {
        TRACK_MATCH_KEYFRAME  = 0,
-       TRACK_MATCH_PREVFRAME = 1
+       TRACK_MATCH_PREVFRAME = 1,
 };
 
 /* MovieTrackingSettings->flag */
 enum {
        TRACKING_SETTINGS_SHOW_DEFAULT_EXPANDED = (1 << 0),
-       TRACKING_SETTINGS_SHOW_EXTRA_EXPANDED = (1 << 1)
+       TRACKING_SETTINGS_SHOW_EXTRA_EXPANDED = (1 << 1),
 };
 
 /* MovieTrackingSettings->motion_flag */
 enum {
        TRACKING_MOTION_TRIPOD = (1 << 0),
 
-       TRACKING_MOTION_MODAL  = (TRACKING_MOTION_TRIPOD)
+       TRACKING_MOTION_MODAL  = (TRACKING_MOTION_TRIPOD),
 };
 
 /* MovieTrackingSettings->speed */
@@ -539,13 +539,13 @@ enum {
        TRACKING_SPEED_REALTIME = 1,
        TRACKING_SPEED_HALF     = 2,
        TRACKING_SPEED_QUARTER  = 4,
-       TRACKING_SPEED_DOUBLE   = 5
+       TRACKING_SPEED_DOUBLE   = 5,
 };
 
 /* MovieTrackingSettings->reconstruction_flag */
 enum {
        /* TRACKING_USE_FALLBACK_RECONSTRUCTION = (1 << 0), */  /* DEPRECATED */
-       TRACKING_USE_KEYFRAME_SELECTION      = (1 << 1)
+       TRACKING_USE_KEYFRAME_SELECTION      = (1 << 1),
 };
 
 /* MovieTrackingSettings->refine_camera_intrinsics */
@@ -553,7 +553,7 @@ enum {
        REFINE_FOCAL_LENGTH         = (1 << 0),
        REFINE_PRINCIPAL_POINT      = (1 << 1),
        REFINE_RADIAL_DISTORTION_K1 = (1 << 2),
-       REFINE_RADIAL_DISTORTION_K2 = (1 << 4)
+       REFINE_RADIAL_DISTORTION_K2 = (1 << 4),
 };
 
 /* MovieTrackingStrabilization->flag */
@@ -562,30 +562,30 @@ enum {
        TRACKING_AUTOSCALE          = (1 << 1),
        TRACKING_STABILIZE_ROTATION = (1 << 2),
        TRACKING_STABILIZE_SCALE    = (1 << 3),
-       TRACKING_SHOW_STAB_TRACKS   = (1 << 5)
+       TRACKING_SHOW_STAB_TRACKS   = (1 << 5),
 };
 
 /* MovieTrackingStrabilization->filter */
 enum {
        TRACKING_FILTER_NEAREST  = 0,
        TRACKING_FILTER_BILINEAR = 1,
-       TRACKING_FILTER_BICUBIC  = 2
+       TRACKING_FILTER_BICUBIC  = 2,
 };
 
 /* MovieTrackingReconstruction->flag */
 enum {
-       TRACKING_RECONSTRUCTED = (1 << 0)
+       TRACKING_RECONSTRUCTED = (1 << 0),
 };
 
 /* MovieTrackingObject->flag */
 enum {
-       TRACKING_OBJECT_CAMERA = (1 << 0)
+       TRACKING_OBJECT_CAMERA = (1 << 0),
 };
 
 enum {
        TRACKING_CLEAN_SELECT         = 0,
        TRACKING_CLEAN_DELETE_TRACK   = 1,
-       TRACKING_CLEAN_DELETE_SEGMENT = 2
+       TRACKING_CLEAN_DELETE_SEGMENT = 2,
 };
 
 /* MovieTrackingDopesheet->sort_method */
@@ -593,21 +593,21 @@ enum {
        TRACKING_DOPE_SORT_NAME          = 0,
        TRACKING_DOPE_SORT_LONGEST       = 1,
        TRACKING_DOPE_SORT_TOTAL         = 2,
-       TRACKING_DOPE_SORT_AVERAGE_ERROR = 3
+       TRACKING_DOPE_SORT_AVERAGE_ERROR = 3,
 };
 
 /* MovieTrackingDopesheet->flag */
 enum {
        TRACKING_DOPE_SORT_INVERSE  = (1 << 0),
        TRACKING_DOPE_SELECTED_ONLY = (1 << 1),
-       TRACKING_DOPE_SHOW_HIDDEN   = (1 << 2)
+       TRACKING_DOPE_SHOW_HIDDEN   = (1 << 2),
 };
 
 /* MovieTrackingDopesheetCoverageSegment->trackness */
 enum {
        TRACKING_COVERAGE_BAD        = 0,
        TRACKING_COVERAGE_ACCEPTABLE = 1,
-       TRACKING_COVERAGE_OK         = 2
+       TRACKING_COVERAGE_OK         = 2,
 };
 
 /* MovieTrackingPlaneMarker->flag */
index 3d7ec9ea3314cedbadbb8f5f09541c866b7b4401..996cfeb76b479bb2ae2ab5c87e717f78658ae3c3 100644 (file)
@@ -61,7 +61,7 @@ typedef enum eUIFont_ID {
 
        /* free slots */
        UIFONT_CUSTOM1  = 2,
-       UIFONT_CUSTOM2  = 3
+       UIFONT_CUSTOM2  = 3,
 } eUIFont_ID;
 
 /* default fonts to load/initialize */
@@ -862,7 +862,7 @@ typedef enum ePathCompare_Flag {
 typedef enum eViewZoom_Style {
        USER_ZOOM_CONT                  = 0,
        USER_ZOOM_SCALE                 = 1,
-       USER_ZOOM_DOLLY                 = 2
+       USER_ZOOM_DOLLY                 = 2,
 } eViewZoom_Style;
 
 /* UserDef.navigation_mode */
@@ -909,7 +909,7 @@ typedef enum eUserpref_UI_Flag {
        USER_HIDE_RECENT            = (1 << 28),
        USER_SHOW_THUMBNAILS        = (1 << 29),
        USER_QUIT_PROMPT            = (1 << 30),
-       USER_HIDE_SYSTEM_BOOKMARKS  = (1u << 31)
+       USER_HIDE_SYSTEM_BOOKMARKS  = (1u << 31),
 } eUserpref_UI_Flag;
 
 /* UserDef.uiflag2 */
@@ -940,7 +940,7 @@ typedef enum eAutokey_Mode {
        /** AUTOKEY_ON + 2**n...  (i.e. AUTOKEY_MODE_NORMAL = AUTOKEY_ON + 2)
         * to preserve setting, even when autokey turned off  */
        AUTOKEY_MODE_NORMAL    = 3,
-       AUTOKEY_MODE_EDITKEYS  = 5
+       AUTOKEY_MODE_EDITKEYS  = 5,
 } eAutokey_Mode;
 
 /* Zoom to frame mode.
@@ -948,7 +948,7 @@ typedef enum eAutokey_Mode {
 typedef enum eZoomFrame_Mode {
        ZOOM_FRAME_MODE_KEEP_RANGE = 0,
        ZOOM_FRAME_MODE_SECONDS = 1,
-       ZOOM_FRAME_MODE_KEYFRAMES = 2
+       ZOOM_FRAME_MODE_KEYFRAMES = 2,
 } eZoomFrame_Mode;
 
 /* Auto-Keying flag
@@ -994,14 +994,14 @@ typedef enum eDupli_ID_Flags {
        USER_DUP_TEX                    = (1 << 8),
        USER_DUP_ARM                    = (1 << 9),
        USER_DUP_ACT                    = (1 << 10),
-       USER_DUP_PSYS                   = (1 << 11)
+       USER_DUP_PSYS                   = (1 << 11),
 } eDupli_ID_Flags;
 
 /* selection method for opengl gpu_select_method */
 typedef enum eOpenGL_SelectOptions {
        USER_SELECT_AUTO = 0,
        USER_SELECT_USE_OCCLUSION_QUERY = 1,
-       USER_SELECT_USE_SELECT_RENDERMODE = 2
+       USER_SELECT_USE_SELECT_RENDERMODE = 2,
 } eOpenGL_SelectOptions;
 
 /* max anti alias draw method UserDef.gpu_viewport_antialias */
@@ -1077,7 +1077,7 @@ typedef enum eTheme_DrawTypes {
        TH_ROUNDSHADED  = 1,
        TH_ROUNDED      = 2,
        TH_OLDSKOOL     = 3,
-       TH_SHADED       = 4
+       TH_SHADED       = 4,
 } eTheme_DrawTypes;
 
 /* UserDef.ndof_flag (3D mouse options) */
index 586a0b573504fbd0e3978558c9436120a3097e1c..7e21df71e46fba1ddb3ff570973ee4ff3acec1b2 100644 (file)
@@ -92,7 +92,7 @@ typedef enum {
        CAP_START = 1,
        CAP_END = 2,
        SEAM_FRAME = 4,
-       ROOT = 8
+       ROOT = 8,
 } SkinNodeFlag;
 
 typedef struct Frame {
index 1467f8d9804de72c4fa78839f19490af9be974cd..0f42fff94fe448c33cee10f8e518626e18ad0c1e 100644 (file)
@@ -66,7 +66,7 @@ enum {
        PART_STATUS_NONE        = 0,
        PART_STATUS_IN_PROGRESS = 1,
        PART_STATUS_RENDERED    = 2,
-       PART_STATUS_MERGED      = 3
+       PART_STATUS_MERGED      = 3,
 };
 
 /* controls state of render, everything that's read-only during render stage */
index 9daed32ee33f7d79a1c4088b12a7959298761dec..4f73e731457db3b996c6d3093f451a9446173d1f 100644 (file)
@@ -515,7 +515,7 @@ enum {
        WM_JOB_PRIORITY     = (1 << 0),
        WM_JOB_EXCL_RENDER  = (1 << 1),
        WM_JOB_PROGRESS     = (1 << 2),
-       WM_JOB_SUSPEND      = (1 << 3)
+       WM_JOB_SUSPEND      = (1 << 3),
 };
 
 /* identifying jobs by owner alone is unreliable, this isnt saved, order can change (keep 0 for 'any') */
index 6317cca8094c2e97138668221dac77ea393eb670..17e3f643a403934f882a7597895c01a45cd0f2b6 100644 (file)
@@ -181,7 +181,7 @@ typedef enum eWS_Qual {
        WS_QUAL_LMOUSE  = (1 << 16),
        WS_QUAL_MMOUSE  = (1 << 17),
        WS_QUAL_RMOUSE  = (1 << 18),
-       WS_QUAL_MOUSE   = (WS_QUAL_LMOUSE | WS_QUAL_MMOUSE | WS_QUAL_RMOUSE)
+       WS_QUAL_MOUSE   = (WS_QUAL_LMOUSE | WS_QUAL_MMOUSE | WS_QUAL_RMOUSE),
 } eWS_Qual;
 
 static struct WindowStateGlobal {
index 0b1a3bcede85aaf22e4e13309eb3d8864a2bdd65..1362a37ee257b7bccd630b5f09c47530be5e1636 100644 (file)
@@ -104,7 +104,7 @@ static GHOST_SystemHandle g_system = NULL;
 
 typedef enum WinOverrideFlag {
        WIN_OVERRIDE_GEOM     = (1 << 0),
-       WIN_OVERRIDE_WINSTATE = (1 << 1)
+       WIN_OVERRIDE_WINSTATE = (1 << 1),
 } WinOverrideFlag;
 
 /* set by commandline */