Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d_toolbar.py
| Show First 20 Lines • Show All 639 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| if settings.missing_uvs: | if settings.missing_uvs: | ||||
| layout.separator() | layout.separator() | ||||
| split = layout.split() | split = layout.split() | ||||
| split.label(text="UV Map Needed", icon='INFO') | split.label(text="UV Map Needed", icon='INFO') | ||||
| split.operator("paint.add_simple_uvs", icon='ADD', text="Add Simple UVs") | split.operator("paint.add_simple_uvs", icon='ADD', text="Add Simple UVs") | ||||
| elif have_image: | elif have_image: | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("image.save_dirty", text="Save All Images", icon='FILE_TICK') | layout.operator("image.save_all_modified", text="Save All Images", icon='FILE_TICK') | ||||
| # TODO, move to space_view3d.py | # TODO, move to space_view3d.py | ||||
| class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel): | class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel): | ||||
| bl_category = "Tool" | bl_category = "Tool" | ||||
| bl_context = ".imagepaint" # dot on purpose (access from topbar) | bl_context = ".imagepaint" # dot on purpose (access from topbar) | ||||
| bl_label = "Mask" | bl_label = "Mask" | ||||
| ▲ Show 20 Lines • Show All 1,460 Lines • Show Last 20 Lines | |||||