diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-18 19:34:04 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-18 19:46:46 +0300 |
commit | 740f33d8a20eac253696b20f9e6477dfd649ab43 (patch) | |
tree | 5e4184c980cd93926629b32e12aeedcde942c924 /source/blender/makesdna | |
parent | ec774fdb481808368e4ada01241fce907ce673ec (diff) |
Remove "Modern Viewport"
The "Modern Viewport" was an option in the Viewport panel that would use
the new fancy wire frame code and some depth debugging functionality.
This was introduced as a quick and dirty way to get the new drawing
system showing in the viewport.
Overtime we built a complete Draw Manager system, leaving this original
approach deprecated which adds clutter to Blender code since it would be
removed sooner or later.
Note: The new fancy wireframes and related shaders (white out other
objects) are still in Blender code, though you can't use them anymore.
If we are to have any of those drawing options they should be integrated
in the new draw manager, instead of integrated in the old drawing
pipeline as it was originally coded.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 0be86108dfc..f50222859f1 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -225,11 +225,7 @@ typedef struct View3D { char multiview_eye; /* multiview current eye - for internal use */ - /* XXX tmp flags for 2.8 viewport transition to avoid compatibility issues that would be caused by - * using usual flag bitfields (which are saved to files). Can be removed when not needed anymore. */ - char tmp_compat_flag; - - char pad3[3]; + char pad3[4]; /* note, 'fx_settings.dof' is currently _not_ allocated, * instead set (temporarily) from camera */ @@ -332,13 +328,6 @@ typedef struct View3D { /* View3d->flag3 (short) */ #define V3D_SHOW_WORLD (1 << 0) -/* View3d->tmp_compat_flag */ -enum { - V3D_NEW_VIEWPORT = (1 << 0), - V3D_DEBUG_SHOW_SCENE_DEPTH = (1 << 1), - V3D_DEBUG_SHOW_COMBINED_DEPTH = (1 << 2), -}; - /* View3d->debug.background */ enum { V3D_DEBUG_BACKGROUND_NONE = (1 << 0), |