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>2018-08-10 14:04:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-10 14:04:06 +0300
commit98c304e865f87a658778781f4280107ed449091c (patch)
tree2fa2082396992d640a98e57ed2e343436b0725fb /source/blender/makesdna/DNA_scene_types.h
parente18a2c4ed7b311fef620ac8faa09c9ce1490abc7 (diff)
Gizmo: add option to catch all mouse clicks
This was previously default behavior, now it's default.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 13de7f9829e..262c24164df 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -2053,9 +2053,13 @@ typedef enum eImagePaintMode {
#define EDGE_MODE_TAG_FREESTYLE 5
/* ToolSettings.gizmo_flag */
-#define SCE_MANIP_TRANSLATE 1
-#define SCE_MANIP_ROTATE 2
-#define SCE_MANIP_SCALE 4
+enum {
+ SCE_MANIP_TRANSLATE = (1 << 0),
+ SCE_MANIP_ROTATE = (1 << 1),
+ SCE_MANIP_SCALE = (1 << 2),
+
+ SCE_MANIP_DISABLE_APRON = (1 << 3),
+};
/* ToolSettings.gpencil_flags */
typedef enum eGPencil_Flags {