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.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 051854a28f1..50db989a2e2 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -157,24 +157,24 @@ class IMAGE_MT_image_invert(Menu):
def draw(self, context):
layout = self.layout
- op = layout.operator("image.invert", text="Invert Image Colors")
- op.invert_r = True
- op.invert_g = True
- op.invert_b = True
+ props = layout.operator("image.invert", text="Invert Image Colors")
+ props.invert_r = True
+ props.invert_g = True
+ props.invert_b = True
layout.separator()
- op = layout.operator("image.invert", text="Invert Red Channel")
- op.invert_r = True
+ props = layout.operator("image.invert", text="Invert Red Channel")
+ props.invert_r = True
- op = layout.operator("image.invert", text="Invert Green Channel")
- op.invert_g = True
+ props = layout.operator("image.invert", text="Invert Green Channel")
+ props.invert_g = True
- op = layout.operator("image.invert", text="Invert Blue Channel")
- op.invert_b = True
+ props = layout.operator("image.invert", text="Invert Blue Channel")
+ props.invert_b = True
- op = layout.operator("image.invert", text="Invert Alpha Channel")
- op.invert_a = True
+ props = layout.operator("image.invert", text="Invert Alpha Channel")
+ props.invert_a = True
class IMAGE_MT_uvs_showhide(Menu):