Commit graph

456 commits

Author SHA1 Message Date
Kasper Arnklit Frandsen
88a866fb5a Add separate timeline snapping control to Animation Editor 2024-09-02 15:57:50 +02:00
Rémi Verschelde
71091f14ac
Merge pull request #96428 from SaracenOne/timeline_display_fix
Fix overlapping in animation timeline display.
2024-09-02 12:13:53 +02:00
Rémi Verschelde
7795849908
Merge pull request #96013 from passivestar/keyframe-navigation
Allow jumping to previous/next keyframe in animation player
2024-09-02 12:13:00 +02:00
Saracen
32e1143bfc Fix overlapping in animation timeline display. 2024-09-01 09:41:19 +01:00
passivestar
a7abbe5e9e Allow jumping to previous/next keyframe in animation player 2024-09-01 04:57:58 +04:00
Rémi Verschelde
52d1b0be4a
Merge pull request #96328 from object71/fix-animation-snap-96159
Add `modf` function and fix animation editor snap behavior
2024-08-30 23:38:02 +02:00
Rémi Verschelde
7753900638
Merge pull request #91599 from dnllowe/realtime-animation-player-property-updates
Update AnimationPlayer in real-time when keyframe properties change
2024-08-30 23:37:42 +02:00
Hristo Iliev
fcc8518bce Add modf function and fix snap behavior
Fixes #96159
2024-08-30 17:49:57 +03:00
Rémi Verschelde
1e57671718
Merge pull request #90130 from KoBeWi/erased_from_history
Expose EditorUndoRedoManager's `clear_history()`
2024-08-30 11:42:58 +02:00
Rémi Verschelde
b310e5e064
Merge pull request #92842 from mihe/multi-node-keying
Allow keying properties when selecting multiple nodes
2024-08-30 09:59:01 +02:00
kobewi
ad7a2d19a6 Expose EditorUndoRedoManager's clear_history() 2024-08-29 19:23:39 +02:00
Rémi Verschelde
a5e157dd37
Merge pull request #91854 from ImpishOaths/PullReady
Don't lose in/out handles when bezier keyframe inserted on top of existing keyframe
2024-08-26 22:44:52 +02:00
Daniel Lowe
67a5932a4f Update AnimationPlayer in real-time when keyframe properties change 2024-08-26 07:19:01 -04:00
passivestar
155033384c Fix animation timeline resize widget allowing impossible internal values 2024-08-22 16:32:38 +04:00
passivestar
6120786ddc Allow theming animation editor 2024-08-21 15:29:27 +04:00
Mikael Hermansson
351f454a94 Allow keying properties with multiple nodes selected 2024-08-19 14:05:33 +02:00
A Thousand Ships
4fe0d0ee86
[Editor] Fix AnimationTrackEditor::timeline_changed signal
Signal was declared with two arguments, emitted with both two and three
2024-08-13 15:09:53 +02:00
Silc Lizard (Tokage) Renew
b075eba68c Fix BlendShapeTrack insertion totally not working 2024-07-25 23:52:31 +09:00
BrinerLovo
bf01119cdf
Animation: Fix reset value when adding new Bezier track
Fixes #81929.

In Float and Integer types, there is no subindex – only the primary value.
Currently, trying to retrieve a subindex from these types in the Variant leads
to a return value of null. To address this, the proposed change ensures that
the default value is returned for these types instead of attempting an invalid
subindex retrieval.
2024-07-08 23:18:03 +02:00
ImpishOaths
0f7c4d8375 Don't lose in/out handles when bezier keyframe inserted on top of existing keyframe
Apply suggestions from code review

Co-authored-by: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2024-07-08 09:05:07 -07:00
Silc Lizard (Tokage) Renew
fae712d968 Fix broken sync between animation TrackEditor and PlayerEditor 2024-07-06 04:45:15 +09:00
Rémi Verschelde
d2fc2a35b3
Merge pull request #92985 from KoBeWi/confirm_insert_shift
Restore "Confirm Insert Track" editor setting
2024-07-05 15:07:29 +02:00
Kasper Frandsen
7c6f32ddbf Clamp bezier handle length to half the length of animation 2024-07-04 13:41:12 +01:00
Silc Lizard (Tokage) Renew
dde616f01c Revert the default InterpolationType with angle property to Linear 2024-06-28 21:22:11 +09:00
Rémi Verschelde
eeef96b144
Merge pull request #93408 from CookieBadger/animation-track-key-inspector-fix
Fix displaying selected Bezier animation keys in inspector
2024-06-28 11:34:52 +02:00
emild
2b8b21c7f8 fix animation bezier keys not showing in inspector after selection 2024-06-21 12:29:33 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
Rémi Verschelde
a06a5e2ff1
Merge pull request #93257 from bruvzg/antrk_popup_drag
[AnimationTrackEdit] Cancel key drag when popup is shown.
2024-06-18 14:08:52 +02:00
Rémi Verschelde
d66281c7b8
Merge pull request #80860 from RandomShaper/harmonize_track_insert
Simplify right-click track insertion code
2024-06-17 10:57:42 +02:00
bruvzg
0e76739bd6 [AnimationTrackEdit] Cancel key drag when popup is shown. 2024-06-17 10:22:58 +03:00
Rémi Verschelde
e988c1a682
Merge pull request #92870 from KoBeWi/maybe_RESET_a_bit_less
Don't allow creating invalid RESET keys
2024-06-13 17:19:23 +02:00
Pedro J. Estébanez
9ba984e2c1 Simplify right-click track insertion code 2024-06-13 09:37:47 +02:00
kobewi
21345defe9 Restore "Confirm Insert Track" editor setting 2024-06-10 17:47:59 +02:00
kobewi
461bb8ee02 Don't allow creating invalid RESET keys 2024-06-07 15:02:13 +02:00
Silc Lizard (Tokage) Renew
b83dc9b25b Fix unstable AnimationTrackEditor snapping value 2024-06-04 22:06:40 +09:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
kobewi
e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
kobewi
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
kobewi
a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Silc Lizard (Tokage) Renew
fc21161525 Make adding track process to set interpolation type on creating RESET 2024-04-27 11:39:30 +09:00
RedMser
9cd30208d6 Improve SceneTreeEditor usability
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00