027cc80b76
Merge pull request #100470 from YeldhamDev/i_hate_math_so_much_you_would_not_believe
...
Add selection box movement/scaling to the animation bezier editor
2025-03-21 13:03:08 +01:00
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
9a96393f46
Add warped panning to every ViewPanner instance
2024-12-20 17:40:27 +01:00
cbfc34d279
Merge pull request #100444 from Sauermann/fix-view-panner-mouse-warp
...
Fix `ViewPanner` panning-mouse-warp
2024-12-19 20:00:01 -06:00
4887172a59
Fix ViewPanner panning mouse warp
...
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.
This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.
This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.
This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
bf4e5cca3f
Make editor's shortcut names translated on-site
2024-12-18 13:00:30 +08:00
14c42162ae
Add selection box movement/scaling to the animation bezier editor
2024-12-16 15:11:09 -03:00
68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
3c3303e0a4
Merge pull request #98031 from MajorMcDoom/anim-curve-zoom-fix
...
Fix inverted vertical zoom interaction in animation curve editor
2024-11-12 12:13:18 -06:00
77c444b80b
Fix inverted vertical zoom interaction in animation curve editor
2024-10-09 13:26:22 -05:00
5af917e763
Fix mouse clamping in Animation Bezier box select
2024-09-27 22:25:41 -04:00
5aa8f8dfee
Fix Undo/Redo not working in Bezier Animation Editor when moving keys
2024-09-18 20:45:08 -03:00
9d0944b673
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes
2024-09-12 09:34:05 +02:00
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
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
88a866fb5a
Add separate timeline snapping control to Animation Editor
2024-09-02 15:57:50 +02:00
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
6120786ddc
Allow theming animation editor
2024-08-21 15:29:27 +04:00
4db3e6e6cd
Fix errors about UndoRedo history mismatch when deleting bezier track
2024-08-19 17:53:49 +02:00
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
8546fe2b79
Fix focus shortcut when in the bezier curve editor
2024-07-08 00:20:38 +02:00
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
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
7c6f32ddbf
Clamp bezier handle length to half the length of animation
2024-07-04 13:41:12 +01:00
af26e7b9b7
fix animation bezier editor undo operations applying to wrong animation
2024-07-02 14:21:55 +02:00
e97428c96b
fix animation bezier crash on undo
2024-07-02 10:02:57 +02:00
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
2b8b21c7f8
fix animation bezier keys not showing in inspector after selection
2024-06-21 12:29:33 +02:00
d519715d94
[Scene] Add SceneStringNames::font(_size/_color)
2024-06-18 17:24:27 +02:00
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
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
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
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
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
d88df641ee
Fix snapping multiple keys in Animation
2024-03-18 11:21:12 +01:00
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
041315253f
Fix various bugs in Animation key right click actions
2024-02-20 12:17:20 +01:00
080315ca6b
Fix Animation bezier key selection bugs
2024-02-20 12:11:45 +01:00
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
47dba6bc56
use ED_IS_SHORTCUT macro instead of matches_event
2024-02-19 13:16:06 +01:00
4002ea7e15
Merge pull request #88350 from CookieBadger/animation-cut-keyframe
...
Implement Cut Selected Keys in AnimationPlayer
2024-02-18 11:23:41 +01:00
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
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
71cff32f45
fix bezier editor throws error on ctrl click
2024-02-15 14:34:53 +01:00
0f7b4e4252
Fix bezier editor handle mode undo history mismatch
2024-02-15 01:31:07 +01:00
af08997de7
implemented cut selected keys in animation player
2024-02-15 00:44:40 +01:00
9fb52d969b
Merge pull request #88302 from CookieBadger/bezier-remove-unused-signals
...
Remove unused signals in AnimationBezierTrackEdit
2024-02-13 23:43:57 +01:00
e4d491a880
remove unused signals in AnimationBezierTrackEdit
2024-02-13 22:52:54 +01:00
b66b188cf9
Fix vertical zoom factor in Animation Bezier Editor
2024-02-13 10:32:50 +01:00