diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2016-10-04 23:00:46 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2016-10-05 01:02:05 +0300 |
commit | 5e8c4ae75b20cd2e3e1ad7fc3f1437a2ca395b9c (patch) | |
tree | 74df8147ae571eb86ef9d42cf0a1f55fc287310a /source/blender/makesdna | |
parent | 3a4c1db14be6b61c3648f9ddad2a05622a2e1399 (diff) |
Barebones for viewport code apart from 2.7x drawing code
A new option (set in the properties region) allows the user to pick the
"new viewport" for the rendering (in the UI: Modern Viewport).
For now we have a semi-blank file (view3d_draw.c) that can starts to take
over the drawing pipeline.
I can't guarantee we will be able to keep both drawing systems working
through the entire 2.8 development, but it should do for now.
also, we can use branches for some of the viewport development, but it's
better to keep things in 2.8 whenever we can, so people can test it.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 4c243507e82..e1ccfefc155 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -319,6 +319,7 @@ typedef struct View3D { /* View3d->flag3 (short) */ #define V3D_SHOW_WORLD (1 << 0) +#define V3D_NEW_VIEWPORT (1 << 1) /* View3D->around */ enum { |