Cleanup: incorrect __contains__ comparison, long line
This commit is contained in:
@@ -530,7 +530,12 @@ class NODE_PT_active_node_properties(Panel):
|
||||
layout.label(text="Inputs:")
|
||||
for socket in value_inputs:
|
||||
row = layout.row()
|
||||
socket.draw(context, row, node, iface_(socket.label if socket.label else socket.name, socket.bl_rna.translation_context))
|
||||
socket.draw(
|
||||
context,
|
||||
row,
|
||||
node,
|
||||
iface_(socket.label if socket.label else socket.name, socket.bl_rna.translation_context),
|
||||
)
|
||||
|
||||
|
||||
class NODE_PT_texture_mapping(Panel):
|
||||
|
@@ -842,7 +842,7 @@ class SEQUENCER_MT_context_menu(Menu):
|
||||
}:
|
||||
layout.separator()
|
||||
layout.menu("SEQUENCER_MT_strip_effect")
|
||||
elif strip_type in 'MOVIE':
|
||||
elif strip_type == 'MOVIE':
|
||||
layout.separator()
|
||||
layout.menu("SEQUENCER_MT_strip_movie")
|
||||
elif strip_type == 'IMAGE':
|
||||
|
Reference in New Issue
Block a user