Dowsley
9d0944b673
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes
2024-09-12 09:34:05 +02:00
Hugo Locurcio
ef35ca2d8f
Use antialiased line drawing in animation Bezier editor
...
This applies both to tangents and general line drawing, making the
animation Bezier editor match the Curve editor inspector.
2024-09-04 11:54:38 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
...
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Kasper Arnklit Frandsen
88a866fb5a
Add separate timeline snapping control to Animation Editor
2024-09-02 15:57:50 +02:00
A Thousand Ships
194bdde947
Cleanup of raw `nullptr` checks with `Ref`
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
passivestar
6120786ddc
Allow theming animation editor
2024-08-21 15:29:27 +04:00
Mikael Hermansson
4db3e6e6cd
Fix errors about `UndoRedo` history mismatch when deleting bezier track
2024-08-19 17:53:49 +02:00
Rémi Verschelde
50db553ed5
Merge pull request #94054 from mihe/fix-bezier-focus
...
Fix focus shortcut when in the bezier curve editor
2024-07-08 11:48:26 +02:00
Mikael Hermansson
8546fe2b79
Fix focus shortcut when in the bezier curve editor
2024-07-08 00:20:38 +02:00
Rémi Verschelde
4e38ce294d
Merge pull request #93860 from CookieBadger/animation-bezier-undo-on-different-animation-fix
...
Fix inconsistent behavior of Bezier editor undo operations upon selection of different animation
2024-07-07 21:58:36 +02:00
Rémi Verschelde
4d984b6369
Merge pull request #93930 from Arnklit/short-animation-length-bezier-handle-fix
...
Clamp bezier handle length to half the length of animation
2024-07-04 17:12:22 +02:00
Kasper Frandsen
7c6f32ddbf
Clamp bezier handle length to half the length of animation
2024-07-04 13:41:12 +01:00
emild
af26e7b9b7
fix animation bezier editor undo operations applying to wrong animation
2024-07-02 14:21:55 +02:00
emild
e97428c96b
fix animation bezier crash on undo
2024-07-02 10:02:57 +02: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
d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)`
2024-06-18 17:24:27 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add `SceneStringNames::id_pressed`
2024-05-30 22:54:04 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +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
Rémi Verschelde
0ca0e8fc49
Merge pull request #88498 from CookieBadger/animation-fix-snapping-multiple
...
Fix snapping multiple keys in Animation
2024-03-24 01:14:23 +01:00
Rémi Verschelde
b0505b580d
Merge pull request #88445 from CookieBadger/animation-paste-snap-fix
...
Fix various bugs in Animation key right click actions
2024-03-24 01:14:08 +01:00
Hilderin
b46d0a6ea8
Add auto focus timeline and bezier scale on animation editor
...
Add a button at the bottom of the animation editor that change the zoom based on the animation length and the bezier scale based on the values and handles of the displayed tracks. The icon and the tooltip of the button change depending if the bezier editor is displayed or not.
Some refactor was made in animation_track_editor.cpp to remove code duplication with the visibility check of the tracks.
This should help with the issue #85826
2024-03-19 21:01:15 -04:00
emild
d88df641ee
Fix snapping multiple keys in Animation
2024-03-18 11:21:12 +01:00
Rémi Verschelde
6037500219
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
...
Use `check_changed_settings_in_group()` everywhere
2024-02-20 19:34:30 +01:00
emild
041315253f
Fix various bugs in Animation key right click actions
2024-02-20 12:17:20 +01:00
emild
080315ca6b
Fix Animation bezier key selection bugs
2024-02-20 12:11:45 +01:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
CookieBadger
47dba6bc56
use ED_IS_SHORTCUT macro instead of matches_event
2024-02-19 13:16:06 +01:00
Rémi Verschelde
4002ea7e15
Merge pull request #88350 from CookieBadger/animation-cut-keyframe
...
Implement Cut Selected Keys in AnimationPlayer
2024-02-18 11:23:41 +01:00
Rémi Verschelde
e42141fe8a
Merge pull request #88360 from CookieBadger/bezier-ctrl-click-add-key-fix
...
Fix Bezier Editor throwing error when adding key with CTRL+click
2024-02-15 15:45:31 +01:00
Rémi Verschelde
b8a402b3cb
Merge pull request #88352 from CookieBadger/bezier-handle-mode-undo-fix
...
Fix Bezier Editor HandleMode UndoRedo History mismatch
2024-02-15 15:45:27 +01:00
CookieBadger
71cff32f45
fix bezier editor throws error on ctrl click
2024-02-15 14:34:53 +01:00
emild
0f7b4e4252
Fix bezier editor handle mode undo history mismatch
2024-02-15 01:31:07 +01:00
emild
af08997de7
implemented cut selected keys in animation player
2024-02-15 00:44:40 +01:00
Rémi Verschelde
9fb52d969b
Merge pull request #88302 from CookieBadger/bezier-remove-unused-signals
...
Remove unused signals in AnimationBezierTrackEdit
2024-02-13 23:43:57 +01:00
emild
e4d491a880
remove unused signals in AnimationBezierTrackEdit
2024-02-13 22:52:54 +01:00
emild
b66b188cf9
Fix vertical zoom factor in Animation Bezier Editor
2024-02-13 10:32:50 +01:00
Rémi Verschelde
75255bd15c
Merge pull request #87250 from CookieBadger/animation-copy-paste-keyframe
...
Implement consistent functionality for select, copy, paste, and duplicate in AnimationPlayer
2024-02-12 13:33:57 +01:00
emild
a5cb760d90
implement consistent select, copy, paste, duplicate in animation player
2024-02-06 18:57:10 +01:00
Yuri Sizov
635b8a1474
Split theme generation logic into several subroutines
...
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.
Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.
In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.
This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
a2bd7c3301
Merge pull request #85142 from CookieBadger/animation-player-improvements
...
Improve usability of zooming in the animation editor
2024-01-08 11:50:38 +01:00
CookieBadger
5b3d5e0a65
Improved usability of zoom features in animation player
2024-01-07 01:30:06 +01:00
Silc Lizard (Tokage) Renew
21833f3dfd
Fix seeking bug in AnimationPlayerEditor
2023-11-22 06:43:26 +09:00
Saracen
79f9d230b8
Add vertical scrolling to bézier track editor.
2023-10-22 13:51:12 +01:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Gilles Roudière
a3b431b09d
Add gesture to ViewPanner and simplify a bit its API
2023-01-23 16:43:53 +01:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00