Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_image.py
| Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout.operator("image.save_sequence") | layout.operator("image.save_sequence") | ||||
| layout.operator("image.save_all_modified", text="Save All Images") | layout.operator("image.save_all_modified", text="Save All Images") | ||||
| if ima: | if ima: | ||||
| layout.separator() | layout.separator() | ||||
| layout.menu("IMAGE_MT_image_invert") | layout.menu("IMAGE_MT_image_invert") | ||||
| layout.operator("image.scale", text="Scale") | |||||
| if ima and not show_render: | if ima and not show_render: | ||||
| if ima.packed_file: | if ima.packed_file: | ||||
| if len(ima.filepath): | if len(ima.filepath): | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("image.unpack", text="Unpack") | layout.operator("image.unpack", text="Unpack") | ||||
| else: | else: | ||||
| layout.separator() | layout.separator() | ||||
| ▲ Show 20 Lines • Show All 1,492 Lines • Show Last 20 Lines | |||||