summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2021-07-27 12:55:57 +0200
committerjfons <joan.fonssanchez@gmail.com>2021-07-27 12:55:57 +0200
commitd7b58ebc9c9b4706226ca6e9f9ae8ef265cbf752 (patch)
tree315b7d4eaf471b8a387abfa2b8d6ef5d7f1ad2c2 /doc/classes
parent2fa4b59f9900bd7c1d306328db71df168f61b4c5 (diff)
Fixes to editor subgizmos
* Fixed subgizmo editing on scaled nodes. * Added more clarifications on the coordinate space of subgizmos. * Given input priority to the transform gizmo over subgizmo selection.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorNode3DGizmoPlugin.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/EditorNode3DGizmoPlugin.xml b/doc/classes/EditorNode3DGizmoPlugin.xml
index 10d6bd8bc8..6152487eaf 100644
--- a/doc/classes/EditorNode3DGizmoPlugin.xml
+++ b/doc/classes/EditorNode3DGizmoPlugin.xml
@@ -46,7 +46,7 @@
</argument>
<description>
Override this method to commit a group of subgizmos being edited (see [method _subgizmos_intersect_ray] and [method _subgizmos_intersect_frustum]). This usually means creating an [UndoRedo] action for the change, using the current transforms as "do" and the [code]restore[/code] transforms as "undo".
- If the [code]cancel[/code] argument is [code]true[/code], the [code]restore[/code] transforms should be directly set, without any [UndoRedo] action. Called for this plugin's active gizmos.
+ If the [code]cancel[/code] argument is [code]true[/code], the [code]restore[/code] transforms should be directly set, without any [UndoRedo] action. As with all subgizmo methods, transforms are given in local space respect to the gizmo's Node3D. Called for this plugin's active gizmos.
</description>
</method>
<method name="_create_gizmo" qualifiers="virtual">
@@ -103,7 +103,7 @@
<argument index="1" name="id" type="int">
</argument>
<description>
- Override this method to return the current transform of a subgizmo. This transform will be requested at the start of an edit and used in the [code]restore[/code] argument in [method _commit_subgizmos]. Called for this plugin's active gizmos.
+ Override this method to return the current transform of a subgizmo. As with all subgizmo methods, the transform should be in local space respect to the gizmo's Node3D. This transform will be requested at the start of an edit and used in the [code]restore[/code] argument in [method _commit_subgizmos]. Called for this plugin's active gizmos.
</description>
</method>
<method name="_has_gizmo" qualifiers="virtual">