diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-27 05:54:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-27 05:54:25 +0300 |
commit | 1c1659eb286b369ffe6ba99207c42611159f24bb (patch) | |
tree | 02eaa19cedf10a01978db892e89d585dcce1707e /source/blender/makesdna/DNA_view3d_types.h | |
parent | 641072a769cc7bff4d69945c71f536c5b0394bc9 (diff) |
- Right click menu can open links directly to API reference docs (rna and operators)
- Generated and uploaded api docs - http://www.blender.org/documentation/250PythonDoc
- Added Edit docs menu item & operators as discussed with Mindrones, Brecht, Stani & Letterip @ bconf, needs some web backend. python operator can aparently use xml/rpc to upload docstrings.
- Added operator invoke function - context.manager.invoke_props_popup(self.__operator__, event)
this calls a popup for invoke by default (which intern calls execute())
- Own recent commit to game framing applied to non-camera views too.
- v3d->persp is deprecated but still used in some places.
- Transforming strips could overlap 1 frame if moving them below frame 0
- Transforming overlapping strips could go into an eternal loop (though overlapping strips should not exist)
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index f67a242b469..564d6749c16 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -202,6 +202,11 @@ typedef struct View3D { #define V3D_GLOBAL_STATS 8192 #define V3D_DRAW_CENTERS 32768 +/* RegionView3d->persp */ +#define RV3D_ORTHO 0 +#define RV3D_PERSP 1 +#define RV3D_CAMOB 2 + /* RegionView3d->rflag */ #define RV3D_FLYMODE 2 #define RV3D_CLIPPING 4 @@ -211,6 +216,16 @@ typedef struct View3D { #define RV3D_BOXVIEW 2 #define RV3D_BOXCLIP 4 +/* RegionView3d->view */ +#define RV3D_VIEW_FRONT 1 +#define RV3D_VIEW_BACK 2 +#define RV3D_VIEW_LEFT 3 +#define RV3D_VIEW_RIGHT 4 +#define RV3D_VIEW_TOP 5 +#define RV3D_VIEW_BOTTOM 6 +#define RV3D_VIEW_PERSPORTHO 7 +#define RV3D_VIEW_CAMERA 8 + /* View3d->flag2 (short) */ #define V3D_SOLID_TEX 8 #define V3D_DISPGP 16 @@ -222,28 +237,15 @@ typedef struct View3D { #define V3D_LOCAL 2 #define V3D_ACTIVE 4 -/*View3D view types*/ -#define V3D_VIEW_FRONT 1 -#define V3D_VIEW_BACK 2 -#define V3D_VIEW_LEFT 3 -#define V3D_VIEW_RIGHT 4 -#define V3D_VIEW_TOP 5 -#define V3D_VIEW_BOTTOM 6 -#define V3D_VIEW_PERSPORTHO 7 -#define V3D_VIEW_CAMERA 8 -#define V3D_VIEW_STEPLEFT 9 -#define V3D_VIEW_STEPRIGHT 10 -#define V3D_VIEW_STEPDOWN 11 -#define V3D_VIEW_STEPUP 12 -#define V3D_VIEW_PANLEFT 13 -#define V3D_VIEW_PANRIGHT 14 -#define V3D_VIEW_PANDOWN 15 -#define V3D_VIEW_PANUP 16 - -/* View3d->persp */ -#define V3D_ORTHO 0 -#define V3D_PERSP 1 -#define V3D_CAMOB 2 +/*View3D types (only used in tools, not actually saved)*/ +#define V3D_VIEW_STEPLEFT 1 +#define V3D_VIEW_STEPRIGHT 2 +#define V3D_VIEW_STEPDOWN 3 +#define V3D_VIEW_STEPUP 4 +#define V3D_VIEW_PANLEFT 5 +#define V3D_VIEW_PANRIGHT 6 +#define V3D_VIEW_PANDOWN 7 +#define V3D_VIEW_PANUP 8 /* View3d->gridflag */ #define V3D_SHOW_FLOOR 1 |