diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 02:17:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 02:17:19 +0400 |
commit | 98e69124807b9a5e16b617c89347fc77072e9b38 (patch) | |
tree | 682b17e9cbd03eb447962f2d6743ad849272e6e3 /release/scripts/startup/bl_ui/space_node.py | |
parent | a8f23a96a4f804bbf8d1ef67acfc4f8a57c319b1 (diff) |
style cleanup
Diffstat (limited to 'release/scripts/startup/bl_ui/space_node.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index b4100819ab0..70f0f300f86 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -205,6 +205,7 @@ class NODE_PT_properties(Panel): col.prop(snode, "backdrop_y", text="Y") col.operator("node.backimage_move", text="Move") + class NODE_PT_quality(bpy.types.Panel): bl_space_type = 'NODE_EDITOR' bl_region_type = 'UI' @@ -225,7 +226,7 @@ class NODE_PT_quality(bpy.types.Panel): layout.prop(tree, "chunk_size") layout.prop(tree, "use_opencl") - + class NODE_MT_node_color_presets(Menu): """Predefined node color""" bl_label = "Color Presets" @@ -240,8 +241,8 @@ class NODE_MT_node_color_specials(Menu): def draw(self, context): layout = self.layout - layout.operator('node.node_copy_color', icon='COPY_ID') + layout.operator("node.node_copy_color", icon='COPY_ID') + - if __name__ == "__main__": # only for live edit. bpy.utils.register_module(__name__) |