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:
authorCampbell Barton <ideasman42@gmail.com>2013-05-08 17:01:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-08 17:01:05 +0400
commit13ddfa921e66440f2e2013de1a1f9cc06411bb87 (patch)
tree848e172d5c883dda21f411e6e41f6d4732569a28 /source/blender/makesdna
parent562ed2b42e7ad8298bd5f041124ed2208c3a7a7c (diff)
fix [#30862] "Lock" and "Box" Quad View options won't stay put when toggling
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 294c47aa9db..e961ab67fc9 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -129,7 +129,8 @@ typedef struct RegionView3D {
char persp;
char view;
char viewlock;
- char pad[4];
+ char viewlock_quad; /* options for quadview (store while out of quad view) */
+ char pad[3];
short twdrawflag;
short rflag;
@@ -246,9 +247,11 @@ typedef struct View3D {
#define RV3D_GPULIGHT_UPDATE 16
/* RegionView3d->viewlock */
-#define RV3D_LOCKED 1
-#define RV3D_BOXVIEW 2
-#define RV3D_BOXCLIP 4
+#define RV3D_LOCKED (1 << 0)
+#define RV3D_BOXVIEW (1 << 1)
+#define RV3D_BOXCLIP (1 << 2)
+/* RegionView3d->viewlock_quad */
+#define RV3D_VIEWLOCK_INIT (1 << 7)
/* RegionView3d->view */
#define RV3D_VIEW_USER 0