Open
Description
Godot version: v4.3.stable.official [77dcf97d8]
Issue description:
When adding (or removing) the @tool
-tag from a script, opened scenes don't detect the change automatically.
Only when closing and reopening a scene, the scene correctly detects the added/removed @tool
.
Documentation Page: Running code in the editor
Steps:
- Create a scene
- Add the script to the scene
- Add
@tool
to the start of the script - Add
print("Hello")
to the_process
function
- Add
- Switch back to the scene -> no 'Hello' appears in the console
- Close and reopen the scene -> 'Hello' appears in the console
@tool
extends Node2D
func _process(delta: float) -> void:
print("Hello")