Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 2,681 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| # TODO: still missing a lot of brush options here | # TODO: still missing a lot of brush options here | ||||
| # sculpt options | # sculpt options | ||||
| if context.sculpt_object: | if context.sculpt_object: | ||||
| sculpt_tool = brush.sculpt_tool | sculpt_tool = brush.sculpt_tool | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator_menu_enum("brush.curve_preset", "shape", text="Curve Preset") | layout.prop_menu_enum(brush, "curve_preset") | ||||
| layout.separator() | layout.separator() | ||||
| if sculpt_tool != 'GRAB': | if sculpt_tool != 'GRAB': | ||||
| layout.prop_menu_enum(brush, "stroke_method") | layout.prop_menu_enum(brush, "stroke_method") | ||||
| if sculpt_tool in {'DRAW', 'PINCH', 'INFLATE', 'LAYER', 'CLAY'}: | if sculpt_tool in {'DRAW', 'PINCH', 'INFLATE', 'LAYER', 'CLAY'}: | ||||
| layout.prop_menu_enum(brush, "direction") | layout.prop_menu_enum(brush, "direction") | ||||
| ▲ Show 20 Lines • Show All 4,002 Lines • Show Last 20 Lines | |||||