Skip to content

Commit b62455f

Browse files
authored
Copy snapped container filter
1 parent fea517e commit b62455f

File tree

1 file changed

+2
-1
lines changed
  • addons/block_code/ui/blocks/block

1 file changed

+2
-1
lines changed

addons/block_code/ui/blocks/block/block.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ func _copy_snapped_blocks(copy_from: Node, copy_to: Node):
335335
if not raw_input is Block:
336336
copy_to_child.set_raw_input(copy_from_child.get_raw_input())
337337

338-
_copy_snapped_blocks(copy_from_child, copy_to_child)
338+
if copy_from_child is Container:
339+
_copy_snapped_blocks(copy_from_child, copy_to_child)
339340

340341

341342
func _pin_snapped_blocks(node: Node, _is_pinned: bool):

0 commit comments

Comments
 (0)