Workbench: clean up the viewport shading code
authorJeroen Bakker <j.bakker@atmind.nl>
Tue, 17 Apr 2018 20:11:56 +0000 (22:11 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Tue, 17 Apr 2018 20:11:56 +0000 (22:11 +0200)
commit3f762dd76409a285bc0f40df0ff8a6bae6d065b0
tree9fbaf7813ea25c34c3dfa0a76d876dec30992f05
parentdd8d55b31ac693aed0510551d080bbaca9c3cb7e
Workbench: clean up the viewport shading code

- added the drawtype_solid, drawtype_wireframe, drawtype_texture to
View3D
- enabled workbench panels for important render engines
- merged workbench_materials to solid_flat_mode. All draw modes will get
its own fast implementation in the workbench
release/scripts/startup/bl_ui/properties_collection.py
release/scripts/startup/bl_ui/properties_render.py
release/scripts/startup/bl_ui/space_view3d.py
source/blender/draw/CMakeLists.txt
source/blender/draw/engines/workbench/shaders/solid_flat_frag.glsl [moved from source/blender/draw/engines/workbench/shaders/solid_frag.glsl with 100% similarity]
source/blender/draw/engines/workbench/solid_flat_mode.c
source/blender/draw/engines/workbench/workbench_materials_solid.c [deleted file]
source/blender/draw/intern/draw_manager.c
source/blender/makesdna/DNA_object_types.h
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_space.c