Add warning to reflect behavior with tool nodes (#2577)

In response to this issue: https://github.com/godotengine/godot/issues/30104
This commit is contained in:
Cameron Reikes
2019-07-02 13:56:06 +02:00
committed by Rémi Verschelde
parent 4630813101
commit 5402f28f59
@@ -1443,6 +1443,11 @@ placed at the top of the file:
func _ready():
print("Hello")
.. warning:: Be cautious when freeing nodes with `queue_free()` or `free()`
in a tool script (especially the script's owner itself). As tool
scripts run their code in the editor, misusing them may lead to
crashing the editor.
Memory management
~~~~~~~~~~~~~~~~~