diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-20 12:32:59 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-20 12:56:59 +0300 |
commit | 67a6cb665ec9460c4401a4fc450f18a28556d982 (patch) | |
tree | ecb7c84925bf7722122c444818e8f36ef5d2ec2f /source/blender/makesdna/DNA_scene_types.h | |
parent | 12788906113c4f2b304b368001bd2ef68c4dc6b8 (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.h | 8 |
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 |