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 6,663 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| tool_settings = context.tool_settings | tool_settings = context.tool_settings | ||||
| sculpt = tool_settings.sculpt | sculpt = tool_settings.sculpt | ||||
| view = context.space_data | view = context.space_data | ||||
| overlay = view.overlay | overlay = view.overlay | ||||
| row = layout.row(align=True) | row = layout.row(align=True) | ||||
| row.active = overlay.show_overlays | |||||
| row.prop(overlay, "sculpt_mode_mask_opacity", text="Selection Opacity") | row.prop(overlay, "sculpt_mode_mask_opacity", text="Selection Opacity") | ||||
| class VIEW3D_PT_overlay_bones(Panel): | class VIEW3D_PT_overlay_bones(Panel): | ||||
| bl_space_type = 'VIEW_3D' | bl_space_type = 'VIEW_3D' | ||||
| bl_region_type = 'HEADER' | bl_region_type = 'HEADER' | ||||
| bl_parent_id = 'VIEW3D_PT_overlay' | bl_parent_id = 'VIEW3D_PT_overlay' | ||||
| bl_label = "Bones" | bl_label = "Bones" | ||||
| ▲ Show 20 Lines • Show All 1,341 Lines • Show Last 20 Lines | |||||