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-09-20 12:32:59 +0300
committerAntonioya <blendergit@gmail.com>2018-09-20 12:56:59 +0300
commit67a6cb665ec9460c4401a4fc450f18a28556d982 (patch)
treeecb7c84925bf7722122c444818e8f36ef5d2ec2f /source/blender/makesdna/DNA_scene_types.h
parent12788906113c4f2b304b368001bd2ef68c4dc6b8 (diff)
GP: New select mode
Now it's possible select points or strokes
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 1aff0ae877d..597f6096acc 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1276,7 +1276,7 @@ typedef struct ToolSettings {
char annotate_v3d_align; /* stroke placement settings - 3D View */
short annotate_thickness; /* default stroke thickness for annotation strokes */
- char _pad3[2];
+ short gpencil_selectmode; /* stroke selection mode */
/* Grease Pencil Sculpt */
struct GP_BrushEdit_Settings gp_sculpt;
@@ -2106,6 +2106,12 @@ typedef enum eGPencil_Placement_Flags {
GP_PROJECT_CURSOR = (1 << 5),
} eGPencil_Placement_Flags;
+/* ToolSettings.gpencil_selectmode */
+typedef enum eGPencil_Selectmode_types {
+ GP_SELECTMODE_POINT = 0,
+ GP_SELECTMODE_STROKE = 1
+} eGPencil_Selectmode_types;
+
/* ToolSettings.particle flag */
#define PE_KEEP_LENGTHS 1
#define PE_LOCK_FIRST 2