Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_image.py
| Show First 20 Lines • Show All 1,515 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| overlay = sima.overlay | overlay = sima.overlay | ||||
| layout.active = overlay.show_overlays | layout.active = overlay.show_overlays | ||||
| # Edges | # Edges | ||||
| col = layout.column() | col = layout.column() | ||||
| col.prop(uvedit, "uv_opacity") | col.prop(uvedit, "uv_opacity") | ||||
| col.prop(uvedit, "edge_display_type", text="") | col.prop(uvedit, "edge_display_type", text="") | ||||
| if context.preferences.experimental.use_image_editor_legacy_drawing: | |||||
| col.prop(uvedit, "show_smooth_edges", text="Smooth") | |||||
| col.prop(uvedit, "show_modified_edges", text="Modified Edges") | col.prop(uvedit, "show_modified_edges", text="Modified Edges") | ||||
| # Faces | # Faces | ||||
| row = col.row() | row = col.row() | ||||
| row.active = not uvedit.show_stretch | row.active = not uvedit.show_stretch | ||||
| row.prop(uvedit, "show_faces", text="Faces") | row.prop(uvedit, "show_faces", text="Faces") | ||||
| ▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines | |||||