godot 4.2 beta4 have a error
vmjcv opened this issue · 0 comments
vmjcv commented
When running the project using Godot 4.2 beta 4, there will be an error when adding the UI settings:
Original code
func _on_List_item_activated(item_index: int) -> void:
var EI: EditorInterface = ggsUtils.get_editor_interface()
var ES: EditorSelection = EI.get_selection()
If you modify the code like this, it will run normally:
func _on_List_item_activated(item_index: int) -> void:
var EI = ggsUtils.get_editor_interface()
var ES = EI.get_selection()