diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-04 00:12:37 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-04 00:15:15 +0200 |
commit | 879c37d65802735f17326c1a668fdd7d9209bc53 (patch) | |
tree | cd62b87dae6f8ef9051e9f757624f2718cfae8f9 /doc | |
parent | 18c0f0b3ba46caf3f6dda401362bc5993eaf7f8d (diff) |
Rename Node's `NOTIFICATION_PATH_CHANGED` to `NOTIFICATION_PATH_RENAMED`
The new name is less misleading, as the notification is only emitted
when the node name (or one of its parents' names) is changed.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 7d79c50466..ef03191a18 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -786,8 +786,8 @@ <constant name="NOTIFICATION_DRAG_END" value="22"> Notification received when a drag ends. </constant> - <constant name="NOTIFICATION_PATH_CHANGED" value="23"> - Notification received when the node's [NodePath] changed. + <constant name="NOTIFICATION_PATH_RENAMED" value="23"> + Notification received when the node's name or one of its parents' name is changed. This notification is [i]not[/i] received when the node is removed from the scene tree to be added to another parent later on. </constant> <constant name="NOTIFICATION_INTERNAL_PROCESS" value="25"> Notification received every frame when the internal process flag is set (see [method set_process_internal]). |