forked from bartvdbraak/blender
Cleanup: pep8
This commit is contained in:
parent
646f8bdb48
commit
105192e5a2
@ -34,6 +34,8 @@ def find_node_input(node, name):
|
|||||||
|
|
||||||
# Return the output node to display in the UI. In case multiple node types are
|
# Return the output node to display in the UI. In case multiple node types are
|
||||||
# specified, node types earlier in the list get priority.
|
# specified, node types earlier in the list get priority.
|
||||||
|
|
||||||
|
|
||||||
def find_output_node(ntree, nodetypes):
|
def find_output_node(ntree, nodetypes):
|
||||||
if ntree:
|
if ntree:
|
||||||
output_node = None
|
output_node = None
|
||||||
|
@ -942,7 +942,6 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta):
|
|||||||
props = row.operator(add_operator, text="", icon='ZOOMIN')
|
props = row.operator(add_operator, text="", icon='ZOOMIN')
|
||||||
props.name = wm.preset_name
|
props.name = wm.preset_name
|
||||||
|
|
||||||
|
|
||||||
def draw_preset(self, context):
|
def draw_preset(self, context):
|
||||||
"""
|
"""
|
||||||
Define these on the subclass:
|
Define these on the subclass:
|
||||||
|
@ -280,7 +280,6 @@ class DOPESHEET_HT_editor_buttons(Header):
|
|||||||
sub.active = toolsettings.use_proportional_action
|
sub.active = toolsettings.use_proportional_action
|
||||||
sub.prop(toolsettings, "proportional_edit_falloff", text="", icon_only=True)
|
sub.prop(toolsettings, "proportional_edit_falloff", text="", icon_only=True)
|
||||||
|
|
||||||
|
|
||||||
row = layout.row(align=True)
|
row = layout.row(align=True)
|
||||||
row.operator("action.copy", text="", icon='COPYDOWN')
|
row.operator("action.copy", text="", icon='COPYDOWN')
|
||||||
row.operator("action.paste", text="", icon='PASTEDOWN')
|
row.operator("action.paste", text="", icon='PASTEDOWN')
|
||||||
|
@ -134,7 +134,6 @@ class OUTLINER_MT_edit_datablocks(Menu):
|
|||||||
layout.operator("outliner.drivers_delete_selected")
|
layout.operator("outliner.drivers_delete_selected")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class OUTLINER_MT_collection_view_layer(Menu):
|
class OUTLINER_MT_collection_view_layer(Menu):
|
||||||
bl_label = "View Layer"
|
bl_label = "View Layer"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user