Make Shift-Z in viewprot a toggle between current shading mode and rendered one
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 22 May 2016 13:44:18 +0000 (15:44 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 22 May 2016 13:44:18 +0000 (15:44 +0200)
commit0cc514ec845e3170a63ad837360842219e951e85
tree424b44fa76dea4cb387d56a50a31696121454343
parent120492ace9150913f106f329942684c583a6f697
Make Shift-Z in viewprot a toggle between current shading mode and rendered one

This way it is now possible to toggle between material and rendered shading
while previously rendered viewport will always go back to solid shading.
source/blender/blenloader/intern/readfile.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_intern.h
source/blender/editors/space_view3d/view3d_ops.c
source/blender/makesdna/DNA_view3d_types.h