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:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-08-31 20:27:19 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-08-31 20:53:32 +0300
commit883706395ee37188900e3ac2c00070c9a43246d2 (patch)
tree82032ccdfc7e845ccc63ecce80b85efc071b6e64 /source/blender/makesdna
parenta5b1231de790e4cbf0d4dd62e30afcbc5d8a95f5 (diff)
Drivers: support accessing Quaternion rotation channels.
After adding the Euler order option, it's an easy addition to the enum. The list of channels had of course to be expanded too.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_anim_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h
index 8c25d470a36..be4850d6779 100644
--- a/source/blender/makesdna/DNA_anim_types.h
+++ b/source/blender/makesdna/DNA_anim_types.h
@@ -362,6 +362,7 @@ typedef enum eDriverTarget_TransformChannels {
DTAR_TRANSCHAN_SCALEY,
DTAR_TRANSCHAN_SCALEZ,
DTAR_TRANSCHAN_SCALE_AVG,
+ DTAR_TRANSCHAN_ROTW,
MAX_DTAR_TRANSCHAN_TYPES,
} eDriverTarget_TransformChannels;
@@ -379,6 +380,8 @@ typedef enum eDriverTarget_RotationMode {
DTAR_ROTMODE_EULER_ZXY,
DTAR_ROTMODE_EULER_ZYX,
+ DTAR_ROTMODE_QUATERNION,
+
DTAR_ROTMODE_EULER_MIN = DTAR_ROTMODE_EULER_XYZ,
DTAR_ROTMODE_EULER_MAX = DTAR_ROTMODE_EULER_ZYX,
} eDriverTarget_RotationMode;