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/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 3fafa328289..0fceb864ac2 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -257,8 +257,9 @@ class IMAGE_MT_image_flip(Menu):
def draw(self, _context):
layout = self.layout
- layout.operator("image.flip", text="Horizontally").use_flip_horizontal = True
- layout.operator("image.flip", text="Vertically").use_flip_vertical = True
+ layout.operator("image.flip", text="Horizontally").use_flip_x = True
+ layout.operator("image.flip", text="Vertically").use_flip_y = True
+
class IMAGE_MT_image_invert(Menu):
bl_label = "Invert"