* Added greying out for Bound Box Menu.

This commit is contained in:
Thomas Dinges 2009-10-29 21:31:00 +00:00
parent 4b3fd4a8e0
commit c30553f7f3

@ -136,7 +136,9 @@ class OBJECT_PT_display(ObjectButtonsPanel):
col = split.column()
row = col.row()
row.itemR(ob, "draw_bounds", text="Bounds")
row.itemR(ob, "draw_bounds_type", text="")
sub = row.row()
sub.active = ob.draw_bounds
sub.itemR(ob, "draw_bounds_type", text="")
flow = layout.column_flow()
flow.itemR(ob, "draw_name", text="Name")