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>2019-04-13 16:20:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-13 16:24:28 +0300
commitf7e35d61f826c8e3581b34eea36b8fc39c572bee (patch)
tree9becbfddc4e0e2df92ec8cd65d3073063b6add47 /source/blender/makesdna/DNA_view3d_types.h
parent70cbd0a6bdb99001c779412771d9b1ae28f32017 (diff)
Cleanup: add View3D_Runtime struct
Also remove 'matcap_icon'
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 075ea50c13b..cced70b0109 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -223,6 +223,11 @@ typedef struct View3DOverlay {
} View3DOverlay;
+typedef struct View3D_Runtime {
+ /** Nkey panel stores stuff here. */
+ void *properties_storage;
+} View3D_Runtime;
+
/* 3D ViewPort Struct */
typedef struct View3D {
struct SpaceLink *next, *prev;
@@ -275,10 +280,7 @@ typedef struct View3D {
float clip_start, clip_end;
float ofs[3] DNA_DEPRECATED;
- char _pad[4];
-
- /** Icon id. */
- short matcap_icon;
+ char _pad[6];
short gridlines;
/** Number of subdivisions in the grid between each highlighted grid line. */
@@ -295,9 +297,6 @@ typedef struct View3D {
* instead set (temporarily) from camera */
struct GPUFXSettings fx_settings;
- /** Nkey panel stores stuff here (runtime only!). */
- void *properties_storage;
-
/* XXX deprecated? */
/** Grease-Pencil Data (annotation layers). */
struct bGPdata *gpd DNA_DEPRECATED;
@@ -316,6 +315,9 @@ typedef struct View3D {
View3DShading shading;
View3DOverlay overlay;
+
+ /** Runtime evaluation data (keep last). */
+ View3D_Runtime runtime;
} View3D;