Skip to content

Commit 793126e

Browse files
committed
indent
1 parent d87647c commit 793126e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

material_maker/panels/graph_edit/lazy_link/lazy_link.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ func do_context_link(to: int, from: int) -> void:
266266
if from != -1:
267267
if (source.get_output_port_type(from) == target.get_input_port_type(to)
268268
or source.get_output_port_type(from) == 42
269-
or target.get_input_port_type(to) == 42):
270-
get_parent().on_connect_node(source.name, from, target.name, to)
271-
invalidate_link()
269+
or target.get_input_port_type(to) == 42):
270+
get_parent().on_connect_node(source.name, from, target.name, to)
271+
invalidate_link()
272272
else:
273273
create_context_menu(Port.INPUT, to)
274274

0 commit comments

Comments
 (0)