diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-05-25 13:01:44 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-05-27 22:03:26 -0300 |
commit | fad0338beb8e6afa97553985b13ed3a401cd847a (patch) | |
tree | 609d3fad97cc4f69023ba9a7c900fc16c551e5a5 /doc/classes/Animation.xml | |
parent | 25e36f35404c076edb445d0fe595b694db57536d (diff) |
Make animation editor change tracks positions instead of swapping them
Diffstat (limited to 'doc/classes/Animation.xml')
-rw-r--r-- | doc/classes/Animation.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml index 9b322ac3f7..9885f30883 100644 --- a/doc/classes/Animation.xml +++ b/doc/classes/Animation.xml @@ -450,6 +450,17 @@ Move a track down. </description> </method> + <method name="track_move_to"> + <return type="void"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="to_idx" type="int"> + </argument> + <description> + Changes the index position of track [code]idx[/code] to the one defined in [code]to_idx[/code]. + </description> + </method> <method name="track_move_up"> <return type="void"> </return> @@ -571,6 +582,7 @@ <argument index="1" name="with_idx" type="int"> </argument> <description> + Swaps the track [code]idx[/code]'s index position with the track [code]with_idx[/code]. </description> </method> <method name="transform_track_insert_key"> |