Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_paint_common.py
| Show First 20 Lines • Show All 601 Lines • ▼ Show 20 Lines | if mode == 'SCULPT': | ||||
| # use_persistent, set_persistent_base | # use_persistent, set_persistent_base | ||||
| if capabilities.has_persistence: | if capabilities.has_persistence: | ||||
| ob = context.sculpt_object | ob = context.sculpt_object | ||||
| layout.separator() | layout.separator() | ||||
| layout.prop(brush, "use_persistent") | layout.prop(brush, "use_persistent") | ||||
| layout.operator("sculpt.set_persistent_base") | layout.operator("sculpt.set_persistent_base") | ||||
| layout.separator() | layout.separator() | ||||
| if brush.sculpt_tool == 'DRAW_SHARP': | |||||
| col = layout.column() | |||||
| layout.prop(brush, "draw_sharp_deform_type") | |||||
| if brush.draw_sharp_deform_type != 'DRAW': | |||||
| layout.prop(brush, "crease_pinch_factor", slider=True, text="Pinch") | |||||
| if brush.sculpt_tool == 'CLAY_STRIPS': | if brush.sculpt_tool == 'CLAY_STRIPS': | ||||
| row = layout.row() | row = layout.row() | ||||
| row.prop(brush, "tip_roundness") | row.prop(brush, "tip_roundness") | ||||
| if brush.sculpt_tool == 'ELASTIC_DEFORM': | if brush.sculpt_tool == 'ELASTIC_DEFORM': | ||||
| layout.separator() | layout.separator() | ||||
| layout.prop(brush, "elastic_deform_type") | layout.prop(brush, "elastic_deform_type") | ||||
| layout.prop(brush, "elastic_deform_volume_preservation", slider=True) | layout.prop(brush, "elastic_deform_volume_preservation", slider=True) | ||||
| ▲ Show 20 Lines • Show All 581 Lines • Show Last 20 Lines | |||||