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-09-24 18:36:20 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-09-24 18:36:20 +0400
commitae7c3eacebdb65bdbaee9e53328b041aae21f542 (patch)
tree7cfd21888d0289f25574d40f483db3cd64f232e2 /intern/cycles
parent2953b6ab5c757a3fa084b8e53894682e2c585856 (diff)
Fix #32638: mesh double sided normals option not available in any Cycles panel.
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/blender/addon/ui.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 4d44dc84fdf..6d4a6750203 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -437,6 +437,27 @@ class Cycles_PT_mesh_displacement(CyclesButtonsPanel, Panel):
layout.prop(cdata, "use_subdivision")
layout.prop(cdata, "dicing_rate")
+class Cycles_PT_mesh_normals(CyclesButtonsPanel, Panel):
+ bl_label = "Normals"
+ bl_context = "data"
+
+ @classmethod
+ def poll(cls, context):
+ return CyclesButtonsPanel.poll(context) and context.mesh
+
+ def draw(self, context):
+ layout = self.layout
+
+ mesh = context.mesh
+
+ split = layout.split()
+
+ col = split.column()
+ col.prop(mesh, "show_double_sided")
+
+ col = split.column()
+ prop.label()
+
class CyclesObject_PT_ray_visibility(CyclesButtonsPanel, Panel):
bl_label = "Ray Visibility"