Commit Graph

525 Commits

Author SHA1 Message Date
chocola-mint 93575368b2 Implement method lookup for method tracks 2025-05-20 21:22:39 +09:00
Thaddeus Crews c4c2009f2d Merge pull request #92141 from SatLess/Anim-Player-Pos-Double-Click
Allow double-click within tracks to set a new play position
2025-05-19 08:01:39 -05:00
Sat e64206d851 Allow double-click within tracks to set a new play position 2025-05-18 15:56:03 -03:00
Thaddeus Crews 0d8f33a74a Merge pull request #103295 from Arnklit/animation-editor-select-node-list-view
Add select node shortcut to list view in Animation Player Editor
2025-05-16 07:43:14 -05:00
Thaddeus Crews b639c0cb77 Merge pull request #103130 from Arnklit/filter-animations
Add animation filtering to animation editor
2025-05-16 07:43:12 -05:00
Thaddeus Crews 608320e94a Merge pull request #103584 from Arnklit/animation-player-alphabetical-sorting
Add alphabetical sorting to Animation Player
2025-05-16 07:43:06 -05:00
Thaddeus Crews 3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Pāvels Nadtočajevs 5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Kasper Arnklit Frandsen 864e4e3a6d Add alphabetical sorting to Animation Player 2025-04-17 14:26:09 +01:00
Thaddeus Crews ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews 94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Yyf2333 22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Rémi Verschelde ffe262b12b Merge pull request #96421 from SatLess/Hide-Function-Names
Support hiding functions calls in Method Tracks
2025-03-19 12:25:57 +01:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews b377562b52 Merge pull request #91660 from AThousandShips/methodinfo_vec
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00
Kasper Arnklit Frandsen 6bb7536d24 add animation filtering to animation editor 2025-03-14 12:51:59 +00:00
Haoyu Qiu a7c1f2730f Add missing ETR/TTR markups 2025-03-12 20:12:33 +08:00
Thaddeus Crews 7d1e236ad9 Merge pull request #102189 from KoBeWi/frames_per_setting
Add editor setting for FPS mode and compat
2025-03-11 16:54:04 -05:00
A Thousand Ships d9721954e6 [Core] Use Vector for MethodInfo::arguments 2025-03-10 13:57:53 +01:00
A Thousand Ships 466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
A Thousand Ships 5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Kasper Arnklit Frandsen fe9cca8d03 Add select node shortcut to list view in Animation Player Editor 2025-02-25 20:15:43 +00:00
Sat d9ecf3ad9c Allows functions calls in method track to be hidden by using GUI/Shortcut 2025-02-01 06:34:33 -03:00
kobewi 0b397d979d Add editor setting for FPS mode and compat 2025-01-30 14:01:48 +01:00
Anish Mishra b0ae6f7f01 Fix gui overflow in Android editor 2025-01-08 02:52:14 +05:30
A Thousand Ships 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
kobewi 9a96393f46 Add warped panning to every ViewPanner instance 2024-12-20 17:40:27 +01:00
Thaddeus Crews 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
Markus Sauermann 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
Haoyu Qiu bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Chaosus 9a8d6628de [Scene] Add SceneStringName::hover 2024-12-11 11:11:25 +03:00
A Thousand Ships af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
Rémi Verschelde 88e81ee730 Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
Thaddeus Crews bbc54692c0 Merge pull request #98419 from KoBeWi/dialog_scalar
Improve Scale Selection in Animation tab
2024-11-26 13:04:59 -06:00
Thaddeus Crews 37c392ebc3 Merge pull request #96414 from SaracenOne/improve_animation_warnings
Improve behaviour of AnimationPlayer warnings.
2024-11-26 13:04:46 -06:00
Rémi Verschelde b11bb1aa97 Merge pull request #99319 from TokageItLab/fix-fps-inspector
Fix key is deselected by changing key time in KeyEdit in FPS mode
2024-11-20 17:03:12 +01:00
Thaddeus Crews e4dbba94d9 Merge pull request #99324 from TokageItLab/fix-fpe-spinner
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-19 15:20:10 -06:00
Thaddeus Crews 63a408f320 Merge pull request #99363 from passivestar/fix-marker-drawing
Fix issues with animation markers drawing
2024-11-19 15:20:04 -06:00
passivestar c4a78d09e5 Fix issues with animation markers drawing 2024-11-19 19:45:36 +04:00
A Thousand Ships 68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
Silc Lizard (Tokage) Renew e283fdfb59 Fix spinner in AnimationTrackEdit in FPS mode 2024-11-17 01:54:06 +09:00
Silc Lizard (Tokage) Renew 602c5edbc4 Fix key is deselected by chaning key time in KeyEdit in FPS mode 2024-11-16 23:48:10 +09:00
Thaddeus Crews 75dc6e19cd Merge pull request #98826 from UnfavorableEnhancer/animation-editor-snap-fix
Fix animation editor snapping value not lowering as intended when holding shift
2024-11-12 12:13:03 -06:00
Thaddeus Crews 93815e7e97 Merge pull request #99013 from TokageItLab/fps-compat-toggle
Add FPS compatible option in second mode of the animation editor snapping
2024-11-11 14:18:24 -06:00
Silc Lizard (Tokage) Renew 64d04c375c Add FPS compatible option in second mode of animation editor snapping 2024-11-12 04:39:13 +09:00
UnfavorableEnhancer d9a1e65d50 fix holding shift not lowering animation snap 2024-11-11 13:12:09 +03:00
Jason Morgado d5176757c0 Add type filters to AnimationPlayer's "Add Track"
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-11-09 10:14:06 -05:00