Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-15 15:57:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-15 16:03:03 +0300
commit88a80fcec8672b5bb67041456dc7f7101aae3d55 (patch)
treee1b93fd997bba2e0481395bb51b51058eb9aa990 /source/blender/editors/gpencil
parent2d98dce7ee29b7e5d685ee5de9aa1e4eebe46a01 (diff)
Cleanup: commas at the end of enums
Without this clang-format may wrap them onto a single line.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/drawgpencil.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_armature.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c10
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c6
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h4
5 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index 87c7017c677..72660c90837 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -107,7 +107,7 @@ typedef enum eDrawStrokeFlags {
/** draw strokes as "volumetric" circular billboards */
GP_DRAWDATA_VOLUMETRIC = (1 << 7),
/** fill insides/bounded-regions of strokes */
- GP_DRAWDATA_FILL = (1 << 8)
+ GP_DRAWDATA_FILL = (1 << 8),
} eDrawStrokeFlags;
diff --git a/source/blender/editors/gpencil/gpencil_armature.c b/source/blender/editors/gpencil/gpencil_armature.c
index 21715d7ba93..78152f1d86b 100644
--- a/source/blender/editors/gpencil/gpencil_armature.c
+++ b/source/blender/editors/gpencil/gpencil_armature.c
@@ -79,7 +79,7 @@
enum {
GP_ARMATURE_NAME = 0,
- GP_ARMATURE_AUTO = 1
+ GP_ARMATURE_AUTO = 1,
};
#define DEFAULT_RATIO 0.10f
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 33521d7b53e..b2ceacf9398 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -335,7 +335,7 @@ void GPENCIL_OT_layer_remove(wmOperatorType *ot)
enum {
GP_LAYER_MOVE_UP = -1,
- GP_LAYER_MOVE_DOWN = 1
+ GP_LAYER_MOVE_DOWN = 1,
};
static int gp_layer_move_exec(bContext *C, wmOperator *op)
@@ -426,7 +426,7 @@ void GPENCIL_OT_layer_duplicate(wmOperatorType *ot)
/* ********************* Duplicate Layer in a new object ************************** */
enum {
GP_LAYER_COPY_OBJECT_ALL_FRAME = 0,
- GP_LAYER_COPY_OBJECT_ACT_FRAME = 1
+ GP_LAYER_COPY_OBJECT_ACT_FRAME = 1,
};
static bool gp_layer_duplicate_object_poll(bContext *C)
@@ -563,7 +563,7 @@ void GPENCIL_OT_layer_duplicate_object(wmOperatorType *ot)
/* ********************* Duplicate Frame ************************** */
enum {
GP_FRAME_DUP_ACTIVE = 0,
- GP_FRAME_DUP_ALL = 1
+ GP_FRAME_DUP_ALL = 1,
};
static int gp_frame_duplicate_exec(bContext *C, wmOperator *op)
@@ -623,7 +623,7 @@ void GPENCIL_OT_frame_duplicate(wmOperatorType *ot)
/* ********************* Clean Fill Boundaries on Frame ************************** */
enum {
GP_FRAME_CLEAN_FILL_ACTIVE = 0,
- GP_FRAME_CLEAN_FILL_ALL = 1
+ GP_FRAME_CLEAN_FILL_ALL = 1,
};
static int gp_frame_clean_fill_exec(bContext *C, wmOperator *op)
@@ -1218,7 +1218,7 @@ enum {
GP_STROKE_MOVE_UP = -1,
GP_STROKE_MOVE_DOWN = 1,
GP_STROKE_MOVE_TOP = 2,
- GP_STROKE_MOVE_BOTTOM = 3
+ GP_STROKE_MOVE_BOTTOM = 3,
};
static int gp_stroke_arrange_exec(bContext *C, wmOperator *op)
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index a71545cf392..a601e0635ed 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -1012,7 +1012,7 @@ static bool gp_strokes_paste_poll(bContext *C)
typedef enum eGP_PasteMode {
GP_COPY_ONLY = -1,
- GP_COPY_MERGE = 1
+ GP_COPY_MERGE = 1,
} eGP_PasteMode;
static int gp_strokes_paste_exec(bContext *C, wmOperator *op)
@@ -2431,7 +2431,7 @@ void GPENCIL_OT_stroke_apply_thickness(wmOperatorType *ot)
enum {
GP_STROKE_CYCLIC_CLOSE = 1,
GP_STROKE_CYCLIC_OPEN = 2,
- GP_STROKE_CYCLIC_TOGGLE = 3
+ GP_STROKE_CYCLIC_TOGGLE = 3,
};
static int gp_stroke_cyclical_set_exec(bContext *C, wmOperator *op)
@@ -2524,7 +2524,7 @@ enum {
GP_STROKE_CAPS_TOGGLE_BOTH = 0,
GP_STROKE_CAPS_TOGGLE_START = 1,
GP_STROKE_CAPS_TOGGLE_END = 2,
- GP_STROKE_CAPS_TOGGLE_DEFAULT = 3
+ GP_STROKE_CAPS_TOGGLE_DEFAULT = 3,
};
static int gp_stroke_caps_set_exec(bContext *C, wmOperator *op)
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index 0ccc8791667..dd7b2c0d8bd 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -439,7 +439,7 @@ void GPENCIL_OT_convert(struct wmOperatorType *ot);
enum {
GP_STROKE_JOIN = -1,
- GP_STROKE_JOINCOPY = 1
+ GP_STROKE_JOINCOPY = 1,
};
enum {
@@ -452,7 +452,7 @@ enum {
enum {
GP_MERGE_STROKE = -1,
- GP_MERGE_POINT = 1
+ GP_MERGE_POINT = 1,
};
void GPENCIL_OT_stroke_arrange(struct wmOperatorType *ot);