summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-15 16:17:26 +0100
committerGitHub <noreply@github.com>2021-01-15 16:17:26 +0100
commitee41c58b4a8586bb37d477a0a2bc69f007ab932e (patch)
tree7f90d8877d48b79d32bb26768f7df2762910109c
parenta96ee7176a6e52643eeba9303b8e6fa4e2823c68 (diff)
parent72d1d7e948fd6da51d15f0d92c5bc8cbb3638294 (diff)
Merge pull request #38578 from Phischermen/transform-notification-doc_update
Mention gotcha about how gizmos affect transform notifications
-rw-r--r--doc/classes/Node3D.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml
index fe3a9c5d39..8b56050058 100644
--- a/doc/classes/Node3D.xml
+++ b/doc/classes/Node3D.xml
@@ -229,7 +229,7 @@
<argument index="0" name="enable" type="bool">
</argument>
<description>
- Sets whether the node notifies about its global and local transformation changes. [Node3D] will not propagate this by default.
+ Sets whether the node notifies about its global and local transformation changes. [Node3D] will not propagate this by default, unless it is in the editor context and it has a valid gizmo.
</description>
</method>
<method name="show">
@@ -324,7 +324,7 @@
<constants>
<constant name="NOTIFICATION_TRANSFORM_CHANGED" value="2000">
Node3D 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.
</constant>
<constant name="NOTIFICATION_ENTER_WORLD" value="41">
Node3D nodes receives this notification when they are registered to new [World3D] resource.