Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_modifier.py
| Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | def BEVEL(self, layout, ob, md): | ||||
| elif md.limit_method == 'VGROUP': | elif md.limit_method == 'VGROUP': | ||||
| layout.label(text="Vertex Group:") | layout.label(text="Vertex Group:") | ||||
| layout.prop_search(md, "vertex_group", ob, "vertex_groups", text="") | layout.prop_search(md, "vertex_group", ob, "vertex_groups", text="") | ||||
| layout.label(text="Width Method:") | layout.label(text="Width Method:") | ||||
| layout.row().prop(md, "offset_type", expand=True) | layout.row().prop(md, "offset_type", expand=True) | ||||
| def BOOLEAN(self, layout, ob, md): | def BOOLEAN(self, layout, ob, md): | ||||
| solver = md.solver | |||||
| if not bpy.app.build_options.mod_boolean: | |||||
| if solver == 'CARVE': | |||||
| layout.label("Built without Carve solver") | |||||
| split = layout.split() | split = layout.split() | ||||
| col = split.column() | col = split.column() | ||||
| col.label(text="Operation:") | col.label(text="Operation:") | ||||
| col.prop(md, "operation", text="") | col.prop(md, "operation", text="") | ||||
| col = split.column() | col = split.column() | ||||
| col.label(text="Object:") | col.label(text="Object:") | ||||
| col.prop(md, "object", text="") | col.prop(md, "object", text="") | ||||
| split = layout.split() | |||||
| split.column().label(text="Solver:") | |||||
| split.column().prop(md, "solver", text="") | |||||
| if solver == 'BMESH': | |||||
| layout.prop(md, "double_threshold") | layout.prop(md, "double_threshold") | ||||
| if bpy.app.debug: | if bpy.app.debug: | ||||
| layout.prop(md, "debug_options") | layout.prop(md, "debug_options") | ||||
| def BUILD(self, layout, ob, md): | def BUILD(self, layout, ob, md): | ||||
| split = layout.split() | split = layout.split() | ||||
| col = split.column() | col = split.column() | ||||
| col.prop(md, "frame_start") | col.prop(md, "frame_start") | ||||
| col.prop(md, "frame_duration") | col.prop(md, "frame_duration") | ||||
| ▲ Show 20 Lines • Show All 1,383 Lines • Show Last 20 Lines | |||||