Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py33
1 files changed, 18 insertions, 15 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index e20c3ccd7f5..1303e46ab6c 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -191,30 +191,33 @@ class IMAGE_MT_image(Menu):
sima = context.space_data
ima = sima.image
-
- layout.operator("image.new")
- layout.operator("image.open")
-
show_render = sima.show_render
- layout.operator("image.read_viewlayers")
+ layout.operator("image.new", text="New")
+ layout.operator("image.open", text="Open...")
- layout.operator("image.save_dirty", text="Save All Images")
+ layout.operator("image.read_viewlayers")
if ima:
if not show_render:
- layout.operator("image.replace")
- layout.operator("image.reload")
+ layout.operator("image.replace", text="Replace...")
+ layout.operator("image.reload", text="Reload")
- layout.operator("image.save")
- layout.operator("image.save_as")
- layout.operator("image.save_as", text="Save a Copy").copy = True
+ layout.operator("image.external_edit", "Edit Externally")
- if ima.source == 'SEQUENCE':
- layout.operator("image.save_sequence")
+ layout.separator()
- layout.operator("image.external_edit", "Edit Externally")
+ if ima:
+ layout.operator("image.save", text="Save")
+ layout.operator("image.save_as", text="Save As...")
+ layout.operator("image.save_as", text="Save a Copy...").copy = True
+
+ if ima and ima.source == 'SEQUENCE':
+ layout.operator("image.save_sequence")
+ layout.operator("image.save_dirty", text="Save All Images")
+
+ if ima:
layout.separator()
layout.menu("IMAGE_MT_image_invert")
@@ -222,7 +225,7 @@ class IMAGE_MT_image(Menu):
if not show_render:
if not ima.packed_file:
layout.separator()
- layout.operator("image.pack")
+ layout.operator("image.pack", text="Pack")
# only for dirty && specific image types, perhaps
# this could be done in operator poll too