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:
authorAntonioya <blendergit@gmail.com>2018-12-30 15:08:04 +0300
committerAntonioya <blendergit@gmail.com>2018-12-30 15:08:04 +0300
commitd273e84c41bb0de9395458436bf2fc192585d398 (patch)
treea82616d024347c254792dd205e6116c64c784ea1 /source/blender/editors/gpencil/gpencil_intern.h
parent543ddbe6bfa8072b4c09ccc9abe27237d3598db5 (diff)
GP: Mew Merge Strokes operator
This operator allows to create a new stroke joining several selected points of different strokes. The new stroke will use the current material. To use, first select the points to be merged. Optionally can remove the old points and strokes. The operator is available in Edit mode in the Specials menu and Stroke menu.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index aaeb2603acc..6ce1d71db83 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -388,6 +388,10 @@ enum {
GP_STROKE_CURVE = 4
};
+enum {
+ GP_MERGE_STROKE = -1,
+ GP_MERGE_POINT = 1
+};
void GPENCIL_OT_stroke_arrange(struct wmOperatorType *ot);
void GPENCIL_OT_stroke_change_color(struct wmOperatorType *ot);
@@ -402,6 +406,7 @@ void GPENCIL_OT_stroke_simplify_fixed(struct wmOperatorType *ot);
void GPENCIL_OT_stroke_separate(struct wmOperatorType *ot);
void GPENCIL_OT_stroke_split(struct wmOperatorType *ot);
void GPENCIL_OT_stroke_smooth(struct wmOperatorType *ot);
+void GPENCIL_OT_stroke_merge(struct wmOperatorType *ot);
void GPENCIL_OT_brush_presets_create(struct wmOperatorType *ot);