Changeset View
Changeset View
Standalone View
Standalone View
materials_utils/__init__.py
| Context not available. | |||||
| if c_render_engine("Lux"): | if c_render_engine("Lux"): | ||||
| layout.label(text="Sorry, other Menu functions are", icon="INFO") | layout.label(text="Sorry, other Menu functions are", icon="INFO") | ||||
| layout.label(text="unvailable with Lux Renderer") | layout.label(text="unavailable with Lux Renderer") | ||||
| return | return | ||||
| layout.operator("view3d.material_remove_slot", icon='COLOR_GREEN') | layout.operator("view3d.material_remove_slot", icon='COLOR_GREEN') | ||||
| Context not available. | |||||
| description="Set the type of Add Material menu", | description="Set the type of Add Material menu", | ||||
| items=( | items=( | ||||
| ('STANDARD', "Standard Menu", | ('STANDARD', "Standard Menu", | ||||
| "Material entries in the menu are bellow each other"), | "Material entries in the menu are below each other"), | ||||
| ('COLUMNS', "Column Menu", | ('COLUMNS', "Column Menu", | ||||
| "Material entries are placed in column blocks"), | "Material entries are placed in column blocks"), | ||||
| ('POPUP', "Pop up Menu", | ('POPUP', "Pop up Menu", | ||||
| Context not available. | |||||