Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 6,897 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| if capabilities.has_auto_smooth: | if capabilities.has_auto_smooth: | ||||
| layout.prop(brush, "auto_smooth_factor", slider=True) | layout.prop(brush, "auto_smooth_factor", slider=True) | ||||
| if capabilities.has_normal_weight: | if capabilities.has_normal_weight: | ||||
| layout.prop(brush, "normal_weight", slider=True) | layout.prop(brush, "normal_weight", slider=True) | ||||
| if capabilities.has_pinch_factor: | if capabilities.has_pinch_factor: | ||||
| layout.prop(brush, "crease_pinch_factor", slider=True, text="Pinch") | text = "Pinch" | ||||
| if brush.sculpt_tool in {'BLOB', 'SNAKE_HOOK'}: | |||||
| text = "Magnify" | |||||
| layout.prop(brush, "crease_pinch_factor", slider=True, text=text) | |||||
| if capabilities.has_rake_factor: | if capabilities.has_rake_factor: | ||||
| layout.prop(brush, "rake_factor", slider=True) | layout.prop(brush, "rake_factor", slider=True) | ||||
| if capabilities.has_plane_offset: | if capabilities.has_plane_offset: | ||||
| layout.prop(brush, "plane_offset", slider=True) | layout.prop(brush, "plane_offset", slider=True) | ||||
| layout.prop(brush, "plane_trim", slider=True, text="Distance") | layout.prop(brush, "plane_trim", slider=True, text="Distance") | ||||
| ▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines | |||||