Workbench: clean up the viewport shading code
[blender.git] / source / blender / makesdna / DNA_view3d_types.h
index cc0389ec5681700cf71e36e35d0979cbfb2146a7..70d0d8c9d4dd68c91d0451711f5848f94a573c56 100644 (file)
@@ -238,8 +238,12 @@ typedef struct View3D {
         * Runtime-only, set in the rendered viewport toggle operator.
         */
        short prev_drawtype;
-       short pad1;
-       float pad2;
+       /* drawtype subtype (visibility) used when drawtype == OB_WIRE */
+       short drawtype_wireframe;
+       /* drawtype subtype (lighting) used when drawtype == OB_SOLID */
+       short drawtype_solid;
+       /* drawtype subtype (lighting) used when drawtype == OB_TEXTURE */
+       short drawtype_texture;
        View3DDebug debug;
 } View3D;