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-05-21 04:13:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-21 04:15:26 +0300
commita08fb46700a347ffcde77469ec8a0905acd54bc5 (patch)
tree06a3c1db29d871b3230d63ccc9bc2bb327be325d /source/blender/makesdna
parente78770039397d98e8fa60281e42c8f15ed63e9ab (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')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h11
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 */