diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-03 16:23:32 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-01-07 15:48:37 +0100 |
commit | 98b147b319883e874f3b0987b11368aee22a52f4 (patch) | |
tree | b82d19f8b1b3c017bae1b9e47c6cf987e4224790 /doc/classes | |
parent | fcc2648e18f0b6bcfd2b4e70829078346dc74b36 (diff) |
[Editor] Fix inspector keying signals argument count.
The second parameter of the signals `EditorInspector.property_keyed` and
`EditorProperty.property_keyed_with_value` can be NIL, causing the event
to fire with less arguments when using `emit_signal` that accepts
Variant arguments, so we use the pointer version instead.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/EditorInspector.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/EditorInspector.xml b/doc/classes/EditorInspector.xml index dbfbaf103d..39589138fa 100644 --- a/doc/classes/EditorInspector.xml +++ b/doc/classes/EditorInspector.xml @@ -33,6 +33,8 @@ </signal> <signal name="property_keyed"> <argument index="0" name="property" type="String" /> + <argument index="1" name="value" type="Variant" /> + <argument index="2" name="advance" type="bool" /> <description> Emitted when a property is keyed in the inspector. Properties can be keyed by clicking the "key" icon next to a property when the Animation panel is toggled. </description> |