- added ramp diffuse & spec factor rna props

- made 3dspace camera editable
- convert in object menu
This commit is contained in:
Campbell Barton
2009-10-09 14:35:54 +00:00
parent cbd5117432
commit 8c96e2f4d2
4 changed files with 18 additions and 0 deletions

View File

@@ -306,6 +306,8 @@ class MATERIAL_PT_diffuse(MaterialButtonsPanel):
split = row.split(percentage=0.3)
split.itemL(text="Blend:")
split.itemR(mat, "diffuse_ramp_blend", text="")
row = layout.row()
row.itemR(mat, "diffuse_ramp_factor", text="Factor")
class MATERIAL_PT_specular(MaterialButtonsPanel):
__label__ = "Specular"
@@ -358,6 +360,8 @@ class MATERIAL_PT_specular(MaterialButtonsPanel):
split = row.split(percentage=0.3)
split.itemL(text="Blend:")
split.itemR(mat, "specular_ramp_blend", text="")
row = layout.row()
row.itemR(mat, "specular_ramp_factor", text="Factor")
class MATERIAL_PT_sss(MaterialButtonsPanel):
__label__ = "Subsurface Scattering"

View File

@@ -422,6 +422,8 @@ class VIEW3D_MT_object(bpy.types.Menu):
layout.itemM("VIEW3D_MT_object_showhide")
layout.item_menu_enumO("object.convert", "target")
class VIEW3D_MT_object_clear(bpy.types.Menu):
__label__ = "Clear"