diff options
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 90cc48e810a..f8d207cbe34 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -550,14 +550,17 @@ enum { #define V3D_SHOW_Z (1 << 3) /** #TransformOrientationSlot.type */ -#define V3D_MANIP_GLOBAL 0 -#define V3D_MANIP_LOCAL 1 -#define V3D_MANIP_NORMAL 2 -#define V3D_MANIP_VIEW 3 -#define V3D_MANIP_GIMBAL 4 -#define V3D_MANIP_CURSOR 5 -#define V3D_MANIP_CUSTOM_MATRIX (V3D_MANIP_CUSTOM - 1) /* Runtime only, never saved to DNA. */ -#define V3D_MANIP_CUSTOM 1024 +enum { + V3D_ORIENT_GLOBAL = 0, + V3D_ORIENT_LOCAL = 1, + V3D_ORIENT_NORMAL = 2, + V3D_ORIENT_VIEW = 3, + V3D_ORIENT_GIMBAL = 4, + V3D_ORIENT_CURSOR = 5, + V3D_ORIENT_CUSTOM = 1024, + /** Runtime only, never saved to DNA. */ + V3D_ORIENT_CUSTOM_MATRIX = (V3D_ORIENT_CUSTOM - 1), +}; /* View3d.mpr_flag (also) */ enum { |