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-25 16:58:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-25 17:37:49 +0300
commit86c0ee80209cdd52e4b360ffcf854144922ac2e6 (patch)
tree722f7ddcfaa702cf834d4fe2b8d63f1a2638398c /source/blender/makesdna/DNA_view3d_types.h
parent213ac7b1aceea3b5a210e86a07402d4415c9a6b6 (diff)
3D View: support for editing cursor rotation
Add buttons for editing the cursor rotation as well as rotation modes, similar to object and pose bones.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 32f22ead652..78bebd0b654 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -136,8 +136,13 @@ typedef struct RegionView3D {
typedef struct View3DCursor {
float location[3];
- float rotation[4];
- char _pad[4];
+
+ float rotation_quaternion[4];
+ float rotation_euler[3];
+ float rotation_axis[3], rotation_angle;
+ short rotation_mode;
+
+ char _pad[6];
} View3DCursor;
/* 3D Viewport Shading settings */