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 /scene/main/node.h | |
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 'scene/main/node.h')
-rw-r--r-- | scene/main/node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.h b/scene/main/node.h index d0246ebe84..48187818f9 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -256,7 +256,7 @@ public: NOTIFICATION_INSTANCED = 20, NOTIFICATION_DRAG_BEGIN = 21, NOTIFICATION_DRAG_END = 22, - NOTIFICATION_PATH_CHANGED = 23, + NOTIFICATION_PATH_RENAMED = 23, //NOTIFICATION_TRANSLATION_CHANGED = 24, moved below NOTIFICATION_INTERNAL_PROCESS = 25, NOTIFICATION_INTERNAL_PHYSICS_PROCESS = 26, |