3D View: add Backface Culling option, to hide faces when seen from the back side,

found in the Display panel.

Patch by Simon Kirk and Irie Shinsuke, refactored to also work for non-mesh objects
and avoid globals.
This commit is contained in:
2012-05-25 09:26:47 +00:00
parent 29e89dc996
commit 19dd66cf3b
5 changed files with 45 additions and 1 deletions

View File

@@ -2391,6 +2391,8 @@ class VIEW3D_PT_view3d_display(Panel):
col.prop(gs, "material_mode", text="")
col.prop(view, "show_textured_solid")
col.prop(view, "show_backface_culling")
layout.separator()
region = view.region_quadview