diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-21 04:13:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-21 04:15:26 +0300 |
commit | a08fb46700a347ffcde77469ec8a0905acd54bc5 (patch) | |
tree | 06a3c1db29d871b3230d63ccc9bc2bb327be325d /source/blender/makesdna/DNA_scene_types.h | |
parent | e78770039397d98e8fa60281e42c8f15ed63e9ab (diff) |
UI: move edge-tag option from the scene into the operator
This was a very specific option to display in global tool settings.
Now this is exposed in the operator when edge-select mode is enabled.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 611a52774c7..0973405ce7b 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1443,8 +1443,9 @@ typedef struct ToolSettings { /* Multires */ char multires_subdiv_type; - /* Alt+RMB option */ + /* Edge tagging, store operator settings (no UI access). */ char edge_mode; + char edge_mode_live_unwrap; char _pad1[1]; @@ -2240,14 +2241,6 @@ enum { #define UV_SELECT_FACE 4 #define UV_SELECT_ISLAND 8 -/* ToolSettings.edge_mode */ -#define EDGE_MODE_SELECT 0 -#define EDGE_MODE_TAG_SEAM 1 -#define EDGE_MODE_TAG_SHARP 2 -#define EDGE_MODE_TAG_CREASE 3 -#define EDGE_MODE_TAG_BEVEL 4 -#define EDGE_MODE_TAG_FREESTYLE 5 - /* ToolSettings.gpencil_flags */ typedef enum eGPencil_Flags { /* When creating new frames, the last frame gets used as the basis for the new one */ |