diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2008-03-22 04:39:11 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2008-03-22 04:39:11 +0300 |
commit | 126ab7974d304804971c32c2df534b726cd89835 (patch) | |
tree | 47b1cbaba2f07fc5d3783b17fa8d5b8ff17f19e2 /source/blender/makesdna | |
parent | 1930a925c870e746c4fdba161a8af2c097eace74 (diff) | |
parent | 32b5138e6459df5298ca50865dafab4d22a4aeed (diff) |
NDOF support added to trunk from ndof branch.
The latter is now obsolete and will be soon
removed.
Some tiny build tweaks for darwin committed
in preparation of bigger changes for proper
SDK suport both on intel and ppc
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 3 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 8f3d571f878..70a22618a15 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -200,6 +200,9 @@ typedef struct UserDef { short recent_files; /* maximum number of recently used files to remember */ short smooth_viewtx; /* miliseconds to spend spinning the view */ short glreslimit; + short ndof_pan, ndof_rotate; + short pads[2]; +// char pad[8]; char versemaster[160]; char verseuser[160]; float glalphaclip; diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 06db6d099de..df9ea872caa 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -139,7 +139,8 @@ typedef struct View3D { short pad3; - short pad2; + char ndofmode; /* mode of transform for 6DOF devices -1 not found, 0 normal, 1 fly, 2 ob transform */ + char ndoffilter; /*filter for 6DOF devices 0 normal, 1 dominant */ void *properties_storage; /* Nkey panel stores stuff here, not in file */ |