Followup for fix T38318: Add back previous fix and fix a glitch.
authorIRIE Shinsuke <irieshinsuke@yahoo.co.jp>
Wed, 12 Mar 2014 17:50:01 +0000 (02:50 +0900)
committerIRIE Shinsuke <irieshinsuke@yahoo.co.jp>
Wed, 12 Mar 2014 18:46:44 +0000 (03:46 +0900)
commitfbf859518acfa8aabbb908447d5d96640c328ea2
tree7f5fba3555d080123d61a0a0a259f6350341ecf9
parentd7cff8f74c00e6952c9f69e5f673f2b68045ef3e
Followup for fix T38318: Add back previous fix and fix a glitch.

The previous fix 162d6c73e3d0 has been cancelled because it caused a
problem that mesh deform cages and so on mess up the preview. To avoid
the problem, viewport doesn't show mesh object if its draw type is
bounding box or wireframe.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D375
source/blender/makesrna/intern/rna_object.c
source/blender/render/intern/source/convertblender.c