From db76b779d79b91abb3f6e07a00fab620acb7db45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= Date: Thu, 26 Dec 2024 17:19:35 -0300 Subject: [PATCH] Fix remove polyfill for Node.is_part_of_edited_scene() There was one pending reference to the polyfill. Fixup for commit 0525fbe0cfcce133ed52aa0b34de0e70deb38c38 --- addons/block_code/blocks/communication/groups.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/block_code/blocks/communication/groups.gd b/addons/block_code/blocks/communication/groups.gd index 8faf4aa1..c217d71a 100644 --- a/addons/block_code/blocks/communication/groups.gd +++ b/addons/block_code/blocks/communication/groups.gd @@ -3,7 +3,6 @@ extends BlockExtension const OptionData = preload("res://addons/block_code/code_generation/option_data.gd") -const Util = preload("res://addons/block_code/ui/util.gd") # Global groups are just project settings in the global_group group. @@ -58,7 +57,7 @@ func get_defaults() -> Dictionary: return {} # The default groups are only needed in the editor. - if not Util.node_is_part_of_edited_scene(context_node): + if not context_node.is_part_of_edited_scene(): return {} var groups: Array[String] = _get_edited_scene_groups()