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-02-08 07:14:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-08 07:22:15 +0300
commit46ac288a930673af3cf2a253a933f2663566295d (patch)
tree81a88134e8404977ef3d60b2e31f89c74e841600 /source/blender/makesdna/DNA_view3d_types.h
parentd86894b9e43a44ed7f9d937325e74859f254ebf2 (diff)
Cleanup: rename V3D_MANIP_* -> V3D_ORIENT_*
Wasn't obvious it's related to orientation, also term manipulator is no longer in use.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h19
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 {