diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-20 03:00:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-20 05:02:59 +0400 |
commit | ea58918171e7135e146e6bb90d988908d7c1540f (patch) | |
tree | e87ce0f4ddcedee7e4354c2335eb9a08bf1fab39 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 5fb72b7ee55358f92fe965e5dae5de971c62bff8 (diff) |
NDOF: define 2 default navigation modes: free & orbit
After some discussion it seems both are valid defaults but useful for
very different purposes.
- 'free' lets you explore the scene with full 6dof (like fly mode)
- 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location.
This doesn't effect orbit/pan which are available with modifier keys.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 1705a0d16c5..4248efd0919 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -782,13 +782,10 @@ typedef enum eNdof_Flag { NDOF_SHOULD_ZOOM = (1 << 4), NDOF_SHOULD_ROTATE = (1 << 5), - /* orbit navigation modes - * only two options, so it's sort of a hybrid bool/enum - * if ((U.ndof_flag & NDOF_ORBIT_MODE) == NDOF_OM_OBJECT)... */ + /* orbit navigation modes */ - // NDOF_ORBIT_MODE = (1 << 6), - // #define NDOF_OM_TARGETCAMERA 0 - // #define NDOF_OM_OBJECT NDOF_ORBIT_MODE + /* exposed as Orbit|Explore in the UI */ + NDOF_MODE_ORBIT = (1 << 6), /* actually... users probably don't care about what the mode * is called, just that it feels right */ |