Skip to content

Commit

Permalink
Fix remove polyfill for Node.is_part_of_edited_scene()
Browse files Browse the repository at this point in the history
There was one pending reference to the polyfill. Fixup for commit
0525fbe
  • Loading branch information
manuq committed Dec 26, 2024
1 parent 29e6dac commit db76b77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/block_code/blocks/communication/groups.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit db76b77

Please sign in to comment.