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-10-31 23:24:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-31 23:55:53 +0300
commiteb8ddaee4cd2cd93a6590e4ba73652628961df57 (patch)
treea065f5bd72859df0828f0ba6adf9737a28cbecb5 /source/blender/makesdna/DNA_view3d_types.h
parent798cd8a7230dba1a0aead06bb82857b881a42f95 (diff)
Transform: support for custom matrix property
Needed for situations when we can't use the orientation. With extrude the initial extrusion recalculates normals for edges and vertices which then don't give a useful axis.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index d5bacd1f4a4..6796c9d4d00 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -507,6 +507,7 @@ enum {
#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
/* View3d.mpr_flag (also) */