Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 13:26:47 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 13:26:47 +0400
commit19dd66cf3b0108c0a74d7626b31c1b8cb9dd57fe (patch)
treeef7c42022e4adddf82a0bc5929f30d61aa976354 /release
parent29e89dc996c0addbc36b4d0051760842b4923bb6 (diff)
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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b375150d662..397bdc0d74e 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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