Skip to content

Commit 824a0f9

Browse files
authored
Merge pull request #150 from endlessm/T35573-untyped-node-array
BlockCanvas: Fix block node array typing
2 parents 1c877c7 + b33f81c commit 824a0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/block_code/ui/block_canvas/block_canvas.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func load_tree(parent: Node, node: SerializedBlockTreeNode):
172172

173173

174174
func rebuild_block_trees(undo_redo):
175-
var block_trees_array = []
175+
var block_trees_array: Array[SerializedBlockTreeNode]
176176
for c in _window.get_children():
177177
block_trees_array.append(build_tree(c, undo_redo))
178178
undo_redo.add_undo_property(_current_bsd.block_trees, "array", _current_bsd.block_trees.array)

0 commit comments

Comments
 (0)