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:
authorDaniel Salazar <zanqdo@gmail.com>2010-12-05 13:38:45 +0300
committerDaniel Salazar <zanqdo@gmail.com>2010-12-05 13:38:45 +0300
commit57d1d4f78c548bb38360b4ff3d3388d9343231c7 (patch)
treed4d92954fcd0c6dc33dcfb09e28489dbb0049cef /release
parent0400745c0a9893e9e30bd7b29ee442657b522709 (diff)
Object transparency setting should only show on MESH type
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_object.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_object.py b/release/scripts/ui/properties_object.py
index 2532a99b402..40a1edafe87 100644
--- a/release/scripts/ui/properties_object.py
+++ b/release/scripts/ui/properties_object.py
@@ -217,7 +217,8 @@ class OBJECT_PT_display(ObjectButtonsPanel, bpy.types.Panel):
col = split.column()
col.prop(ob, "show_texture_space", text="Texture Space")
col.prop(ob, "show_x_ray", text="X-Ray")
- col.prop(ob, "show_transparent", text="Transparency")
+ if ob.type == 'MESH':
+ col.prop(ob, "show_transparent", text="Transparency")
class OBJECT_PT_duplication(ObjectButtonsPanel, bpy.types.Panel):