pep8 cleanup
This commit is contained in:
parent
24685d3967
commit
b25db7c8cb
@ -36,6 +36,7 @@ import sys as _sys
|
|||||||
|
|
||||||
import addon_utils
|
import addon_utils
|
||||||
|
|
||||||
|
|
||||||
def _test_import(module_name, loaded_modules):
|
def _test_import(module_name, loaded_modules):
|
||||||
import traceback
|
import traceback
|
||||||
import time
|
import time
|
||||||
|
@ -157,24 +157,24 @@ class IMAGE_MT_image_invert(bpy.types.Menu):
|
|||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
op = layout.operator("image.invert", text="Invert Image Colors");
|
op = layout.operator("image.invert", text="Invert Image Colors")
|
||||||
op.invert_r = True;
|
op.invert_r = True
|
||||||
op.invert_g = True;
|
op.invert_g = True
|
||||||
op.invert_b = True;
|
op.invert_b = True
|
||||||
|
|
||||||
layout.separator()
|
layout.separator()
|
||||||
|
|
||||||
op = layout.operator("image.invert", text="Invert Red Channel");
|
op = layout.operator("image.invert", text="Invert Red Channel")
|
||||||
op.invert_r = True;
|
op.invert_r = True
|
||||||
|
|
||||||
op = layout.operator("image.invert", text="Invert Green Channel");
|
op = layout.operator("image.invert", text="Invert Green Channel")
|
||||||
op.invert_g = True;
|
op.invert_g = True
|
||||||
|
|
||||||
op = layout.operator("image.invert", text="Invert Blue Channel");
|
op = layout.operator("image.invert", text="Invert Blue Channel")
|
||||||
op.invert_b = True;
|
op.invert_b = True
|
||||||
|
|
||||||
op = layout.operator("image.invert", text="Invert Alpha Channel");
|
op = layout.operator("image.invert", text="Invert Alpha Channel")
|
||||||
op.invert_a = True;
|
op.invert_a = True
|
||||||
|
|
||||||
|
|
||||||
class IMAGE_MT_uvs_showhide(bpy.types.Menu):
|
class IMAGE_MT_uvs_showhide(bpy.types.Menu):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user