diff options
author | M.G. Kishalmi <lmg@kishalmi.net> | 2011-02-23 22:40:24 +0300 |
---|---|---|
committer | M.G. Kishalmi <lmg@kishalmi.net> | 2011-02-23 22:40:24 +0300 |
commit | 2158d058663c2a807b019d2ef277e798948de06a (patch) | |
tree | 17263aa6b32f38190f0b295f05efdee01cd16bfb /release/scripts/ui | |
parent | 3bee6abb74f03cb2170c15c14ea76187dbaead48 (diff) |
adjustments to recent commit:
* inv_ -> inverted_
* flagged image dirty after invert.
* restored properties accidently cut out of unpack operator.
brecht.beers[lmg]++
thanks for paying attention! :)
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/space_image.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/ui/space_image.py b/release/scripts/ui/space_image.py index 09229fb8105..8220508d4aa 100644 --- a/release/scripts/ui/space_image.py +++ b/release/scripts/ui/space_image.py @@ -158,23 +158,23 @@ class IMAGE_MT_image_invert(bpy.types.Menu): layout = self.layout op = layout.operator("image.invert", text="Invert Image Colors"); - op.inv_r = True; - op.inv_g = True; - op.inv_b = True; + op.invert_r = True; + op.invert_g = True; + op.invert_b = True; layout.separator() op = layout.operator("image.invert", text="Invert Red Channel"); - op.inv_r = True; + op.invert_r = True; op = layout.operator("image.invert", text="Invert Green Channel"); - op.inv_g = True; + op.invert_g = True; op = layout.operator("image.invert", text="Invert Blue Channel"); - op.inv_b = True; + op.invert_b = True; op = layout.operator("image.invert", text="Invert Alpha Channel"); - op.inv_a = True; + op.invert_a = True; class IMAGE_MT_uvs_showhide(bpy.types.Menu): |