From 708f690b50173e7d5c69c543bfd3f45325fd8ffa Mon Sep 17 00:00:00 2001 From: Phischermen Date: Fri, 8 May 2020 12:59:25 -0700 Subject: [PATCH] Add info about how gizmos affect transform notifications (cherry picked from commit 72d1d7e948fd6da51d15f0d92c5bc8cbb3638294) --- doc/classes/Spatial.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml index 7dff469ffb1..7e187eeefa0 100644 --- a/doc/classes/Spatial.xml +++ b/doc/classes/Spatial.xml @@ -245,7 +245,7 @@ - Sets whether the node notifies about its global and local transformation changes. [Spatial] will not propagate this by default. + Sets whether the node notifies about its global and local transformation changes. [Spatial] will not propagate this by default, unless it is in the editor context and it has a valid gizmo. @@ -337,7 +337,7 @@ Spatial nodes receives this notification when their global transform changes. This means that either the current or a parent node changed its transform. - In order for [constant NOTIFICATION_TRANSFORM_CHANGED] to work, users first need to ask for it, with [method set_notify_transform]. + In order for [constant NOTIFICATION_TRANSFORM_CHANGED] to work, users first need to ask for it, with [method set_notify_transform]. The notification is also sent if the node is in the editor context and it has a valid gizmo. Spatial nodes receives this notification when they are registered to new [World] resource.