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
Thaddeus Crews
bb5f390fb9
Style: Apply clang-tidy fixes (superficial)
...
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
kobewi
d5fbc7dab1
Improve Scale Selection in Animation tab
2024-10-22 15:54:17 +02:00
Haoyu Qiu
3d07fced0c
Fix typos in AnimationMarkerEdit
2024-10-17 08:12:00 +08:00
Thaddeus Crews
e15000eb45
Merge pull request #97833 from AtlaStar/Fix-issue-97832
...
Allow seconds snapping to use minimum intervals of 0.0001 once more
2024-10-14 14:09:55 -05:00
Thaddeus Crews
168e605ad7
Merge pull request #97563 from SaracenOne/key_sub_paths
...
Fix keying of property subpaths.
2024-10-10 18:13:21 -05:00
Derrick Melton
8c93e8667c
Allow seconds snapping to use minimum intervals of 0.0001 once more
...
closes #97832 , also clears up some of the naming conventions used. Confirmed that entering values when `seconds` is selected where the fractional part is less than 0.0001 floors, while fractional values greater than that are retained. Doesn't revert previous behaviors for FPS, which still clamp to the nearest 1/16.
2024-10-10 15:42:37 -07:00
Derrick Melton
8a8d40ccc0
Allow fractional FPS values in Animation Editor
...
Closes #97548 . Care also taken to not reopen issue #92273 by ensuring that the value rounds to the nearest sixteenth. Optionally any factor of 2 should work while ensuring that there isn't error accumulation.
Further testing to ensure issue #91729 isn't reopened, but initial testing suggests that the issue will not reopen with this PR.
2024-10-02 16:46:11 -07:00
chocola-mint
ed13a840fa
Add markers to animation
2024-09-29 17:27:36 +09:00
Saracen
77e803f2f3
Fix keying of property subpaths.
2024-09-28 06:52:05 +01:00
Haoyu Qiu
14321b8ed5
Set auto translate mode for drag previews
...
- Controls
- `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
- `TabBar`: Use the same auto translate mode as the node.
- `RichTextLabel`: Always disable since auto translation is done
differently from other controls (selection text you get
programmatically is always after auto translation).
- Editor
- Disable drag preview auto translation if the text is user input,
filename, or class name.
- Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
Mounir Tohami
3af4eb9207
Fix animation bezierEditor uses only half the view.
2024-09-17 11:59:12 +00:00
Rémi Verschelde
86b40fe637
Merge pull request #96902 from SaracenOne/animation_selection_box
...
Fix selection box + scrolling in animation editor.
2024-09-16 13:35:18 +02:00
Rémi Verschelde
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
...
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
Saracen
86fc8ef99b
Fix selection box + scrolling in animation editor.
2024-09-15 15:09:13 +01:00
Dowsley
9d0944b673
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes
2024-09-12 09:34:05 +02:00
Saracen
09515bfc6c
Fix errors when creating bezier component tracks.
2024-09-10 08:33:42 +01:00
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
Saracen
1deb42ad8d
Improve behaviour of AnimationPlayer warnings.
2024-09-01 01:32:56 +01:00
Marius Hanl
74f64aaf98
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
...
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02: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