Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 5,754 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| split = col.split() | split = col.split() | ||||
| sub = split.column() | sub = split.column() | ||||
| sub.prop(overlay, "show_text", text="Text Info") | sub.prop(overlay, "show_text", text="Text Info") | ||||
| sub = split.column() | sub = split.column() | ||||
| sub.prop(overlay, "show_cursor", text="3D Cursor") | sub.prop(overlay, "show_cursor", text="3D Cursor") | ||||
| if shading.type == 'MATERIAL': | if shading.type == 'MATERIAL': | ||||
| col.prop(overlay, "show_look_dev") | row = col.row() | ||||
| row.active = shading.render_pass == 'COMBINED' | |||||
| row.prop(overlay, "show_look_dev") | |||||
| col.prop(overlay, "show_annotation", text="Annotations") | col.prop(overlay, "show_annotation", text="Annotations") | ||||
| class VIEW3D_PT_overlay_object(Panel): | class VIEW3D_PT_overlay_object(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' | ||||
| ▲ Show 20 Lines • Show All 1,438 Lines • Show Last 20 Lines | |||||