From 4675e047bb5ea5455c02f727d5ae681da42d7bc6 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Tue, 5 Sep 2023 15:54:29 +0800 Subject: [PATCH] Fix unmatched brackets in the documentation --- doc/classes/EditorResourceTooltipPlugin.xml | 2 +- doc/classes/SpringArm3D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/EditorResourceTooltipPlugin.xml b/doc/classes/EditorResourceTooltipPlugin.xml index 69c5f30f25f..acfa881ab14 100644 --- a/doc/classes/EditorResourceTooltipPlugin.xml +++ b/doc/classes/EditorResourceTooltipPlugin.xml @@ -24,7 +24,7 @@ Create and return a tooltip that will be displayed when the user hovers a resource under the given [param path] in filesystem dock. - The [param metadata] dictionary is provided by preview generator (see method EditorResourcePreviewGenerator._generate]). + The [param metadata] dictionary is provided by preview generator (see [method EditorResourcePreviewGenerator._generate]). [param base] is the base default tooltip, which is a [VBoxContainer] with a file name, type and size labels. If another plugin handled the same file type, [param base] will be output from the previous plugin. For best result, make sure the base tooltip is part of the returned [Control]. [b]Note:[/b] It's unadvised to use [method ResourceLoader.load], especially with heavy resources like models or textures, because it will make the editor unresponsive when creating the tooltip. You can use [method request_thumbnail] if you want to display a preview in your tooltip. [b]Note:[/b] If you decide to discard the [param base], make sure to call [method Node.queue_free], because it's not freed automatically. diff --git a/doc/classes/SpringArm3D.xml b/doc/classes/SpringArm3D.xml index 6e12d9a6138..99389fb78dc 100644 --- a/doc/classes/SpringArm3D.xml +++ b/doc/classes/SpringArm3D.xml @@ -4,7 +4,7 @@ A 3D raycast that dynamically moves its children near the collision point. - [SpringArm3D] casts a ray or a shape along its Z axis and moves all its direct children to the collision point, with an optional margin. This is useful for 3rd person cameras that move closer to the player when inside a tight space (you may need to exclude the player's collider from the [SpringArm3D]'s collision check. + [SpringArm3D] casts a ray or a shape along its Z axis and moves all its direct children to the collision point, with an optional margin. This is useful for 3rd person cameras that move closer to the player when inside a tight space (you may need to exclude the player's collider from the [SpringArm3D]'s collision check).