Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 3,012 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| settings = UnifiedPaintPanel.paint_settings(context) | settings = UnifiedPaintPanel.paint_settings(context) | ||||
| brush = settings.brush | brush = settings.brush | ||||
| layout.prop(brush, "use_paint_sculpt", text="Sculpt") | layout.prop(brush, "use_paint_sculpt", text="Sculpt") | ||||
| layout.prop(brush, "use_paint_uv_sculpt", text="UV Sculpt") | layout.prop(brush, "use_paint_uv_sculpt", text="UV Sculpt") | ||||
| layout.prop(brush, "use_paint_vertex", text="Vertex Paint") | layout.prop(brush, "use_paint_vertex", text="Vertex Paint") | ||||
| layout.prop(brush, "use_paint_weight", text="Weight Paint") | layout.prop(brush, "use_paint_weight", text="Weight Paint") | ||||
| layout.prop(brush, "use_paint_image", text="Texture Paint") | layout.prop(brush, "use_paint_image", text="Texture Paint") | ||||
| layout.prop(brush, "use_paint_sculpt_curves", text="Sculpt Curves") | |||||
| class VIEW3D_MT_paint_vertex(Menu): | class VIEW3D_MT_paint_vertex(Menu): | ||||
| bl_label = "Paint" | bl_label = "Paint" | ||||
| def draw(self, _context): | def draw(self, _context): | ||||
| layout = self.layout | layout = self.layout | ||||
| ▲ Show 20 Lines • Show All 5,136 Lines • Show Last 20 Lines | |||||