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:
authorTon Roosendaal <ton@blender.org>2009-01-20 17:23:32 +0300
committerTon Roosendaal <ton@blender.org>2009-01-20 17:23:32 +0300
commit81763d8cf0f7cfc3aeb6f189a8dc0611bbd61bfd (patch)
tree77d4abb657589b68803378370cf72e7ba8706488 /source/blender/makesdna/DNA_view3d_types.h
parentb8df9948ab6b470a766946a07629644efd8270f4 (diff)
2.5
Couldn't leave to finish this; four-split 3d view now syncs the ortho views to a box-view. Brings back good old Amiga Sculpt4D feeling! :) What's not done is to use the box to clip away invisible stuff. Note that it still allows to switch top-bottom, left-right or front-back. The 4th window is entirely free. Test: use shift+alt+ctrl+S. In due time will all go the headermenu, configurable, of course.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index ee50854f05c..df69a897fdf 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -87,7 +87,7 @@ typedef struct RegionView3D {
short camzoom, viewbut;
int pad1;
- short rflag, pad2;
+ short rflag, viewlock;
short persp;
short view;
@@ -199,10 +199,13 @@ typedef struct View3D {
#define V3D_DRAW_CENTERS 32768
/* RegionView3d->rflag */
-#define RV3D_OPP_DIRECTION_NAME 1
#define RV3D_FLYMODE 2
#define RV3D_CLIPPING 4
+/* RegionView3d->viewlock */
+#define RV3D_LOCKED 1
+#define RV3D_BOXVIEW 2
+
/* View3d->flag2 (short) */
#define V3D_SOLID_TEX 8
#define V3D_DISPGP 16