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! :)
This commit is contained in:
2011-02-23 19:40:24 +00:00
parent 3bee6abb74
commit 2158d05866
2 changed files with 23 additions and 16 deletions

View File

@@ -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):