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
10f6c01b9c
Remove ABS in favor of Math::abs
2025-03-19 13:52:40 +01:00
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
6f25babd6b
Remove empty constructors and destructors from editor/
2025-03-17 21:20:02 +01:00
b377562b52
Merge pull request #91660 from AThousandShips/methodinfo_vec
...
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00
a7c1f2730f
Add missing ETR/TTR markups
2025-03-12 20:12:33 +08:00
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
d9721954e6
[Core] Use Vector for MethodInfo::arguments
2025-03-10 13:57:53 +01:00
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
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
d9ecf3ad9c
Allows functions calls in method track to be hidden by using GUI/Shortcut
2025-02-01 06:34:33 -03:00
0b397d979d
Add editor setting for FPS mode and compat
2025-01-30 14:01:48 +01:00
b0ae6f7f01
Fix gui overflow in Android editor
2025-01-08 02:52:14 +05:30
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
9a8d6628de
[Scene] Add SceneStringName::hover
2024-12-11 11:11:25 +03:00
af56d6e8e8
Use SceneStringName in more places
2024-12-02 14:39:16 +01:00
88e81ee730
Fix various typos and code style issues
2024-11-28 17:40:42 +01:00
bbc54692c0
Merge pull request #98419 from KoBeWi/dialog_scalar
...
Improve Scale Selection in Animation tab
2024-11-26 13:04:59 -06:00
37c392ebc3
Merge pull request #96414 from SaracenOne/improve_animation_warnings
...
Improve behaviour of AnimationPlayer warnings.
2024-11-26 13:04:46 -06:00
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
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
63a408f320
Merge pull request #99363 from passivestar/fix-marker-drawing
...
Fix issues with animation markers drawing
2024-11-19 15:20:04 -06:00
c4a78d09e5
Fix issues with animation markers drawing
2024-11-19 19:45:36 +04:00
68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
e283fdfb59
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-17 01:54:06 +09:00
602c5edbc4
Fix key is deselected by chaning key time in KeyEdit in FPS mode
2024-11-16 23:48:10 +09:00
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
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
64d04c375c
Add FPS compatible option in second mode of animation editor snapping
2024-11-12 04:39:13 +09:00
d9a1e65d50
fix holding shift not lowering animation snap
2024-11-11 13:12:09 +03:00
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
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
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
d5fbc7dab1
Improve Scale Selection in Animation tab
2024-10-22 15:54:17 +02:00
3d07fced0c
Fix typos in AnimationMarkerEdit
2024-10-17 08:12:00 +08:00
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
168e605ad7
Merge pull request #97563 from SaracenOne/key_sub_paths
...
Fix keying of property subpaths.
2024-10-10 18:13:21 -05:00
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
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
ed13a840fa
Add markers to animation
2024-09-29 17:27:36 +09:00
77e803f2f3
Fix keying of property subpaths.
2024-09-28 06:52:05 +01:00
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
3af4eb9207
Fix animation bezierEditor uses only half the view.
2024-09-17 11:59:12 +00:00
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
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
86fc8ef99b
Fix selection box + scrolling in animation editor.
2024-09-15 15:09:13 +01:00