1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00
Commit Graph

16521 Commits

Author SHA1 Message Date
Rémi Verschelde
737407033f Merge pull request #85799 from HolonProduction/select-by-word
Allow dragging selection when selecting whole words in `RichTextLabel`
2025-01-13 20:21:23 +01:00
smix8
a7520fca6a Add functions to get axis-aligned bounds of navigation regions
Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.
2025-01-13 20:18:33 +01:00
chocola-mint
f434c75dbf Add has_custom_data() to TileData 2025-01-13 21:25:49 +09:00
HolonProduction
617e3456fd Allow dragging selection when selecting whole words in RichTextLabel 2025-01-13 09:56:09 +01:00
Pāvels Nadtočajevs
c5dc6e1c6d [RTL] Fix "fade" effect char index calculations. 2025-01-13 08:11:59 +02:00
arkology
c46c3ddf37 Tweak TextureProgressBar NOTIFICATION_DRAW to support 9-patch stretch in radial modes
1) Code is splitted into 3 sections:
- draw `under` texture;
- draw `progress` texture + draw radial modes reference cross;
- draw `over` texture.
Each draw texture section handles nine-patch stretching. Except for the progress texture in radial modes, which does not support nine-patch stretching.
2) The reference cross position now is not misaligned to real center position (`floor()` call removed).
3) The reference cross drawing code is additionally surrounded by `TOOLS_ENABLED` check.
2025-01-12 21:41:54 +03:00
Rémi Verschelde
d79ff848fa Merge pull request #101451 from TokageItLab/reset-retarget-in-the-child
Force update RetargetModifier3D's child skeletons on save
2025-01-12 18:07:37 +01:00
Rémi Verschelde
bb8001c83a Merge pull request #101450 from TokageItLab/reset-anim-skeleton
Change reset timing of the AnimationMixer and Skeleton on save
2025-01-12 18:07:32 +01:00
Rémi Verschelde
23e05b7c2f Merge pull request #101449 from dsnopek/gdextension-virtual-method-compat-merged-hash
Use `MethodInfo::get_compatibility_hash()` to generate the hash for `MethodBind::get_hash()` and other GDExtension hash clean up
2025-01-12 18:07:28 +01:00
Rémi Verschelde
c5a62c36f5 Merge pull request #101448 from TokageItLab/save-retarget
Add missing `TOOLS_ENABLED` block to `RetargetModifier3D`
2025-01-12 18:07:25 +01:00
Rémi Verschelde
194894d937 Merge pull request #100597 from Zshandi/position-follow-editor-default-float-step
Node2D/3D: Make position follow default float step
2025-01-12 18:07:07 +01:00
smix8
0ed2cb0439 Make nodes handle their respective navigation source geometry
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
Silc Lizard (Tokage) Renew
cb61c6e852 Force update RetargetModifier3D's child skeletons on save 2025-01-12 07:31:05 +09:00
Silc Lizard (Tokage) Renew
d5e91eaa42 Change reset timing of the AnimationMixer and Skeleton on save 2025-01-12 07:12:34 +09:00
David Snopek
696285f23a Use MethodInfo::get_compatibility_hash() to generate the hash for MethodBind::get_hash() and other GDExtension hash clean up 2025-01-11 15:57:42 -06:00
Silc Lizard (Tokage) Renew
18cc58f6be Add lacked TOOLS_ENABLED block to RetargetModifier3D 2025-01-12 06:44:25 +09:00
Rémi Verschelde
3a8fe456a5 Merge pull request #101383 from WhalesState/color-picker-wheel
Add `ColorPicker` cursor background and reuse the cursor for wheel.
2025-01-11 22:30:00 +01:00
Rémi Verschelde
33fb876ebb Merge pull request #101321 from YeldhamDev/project_manager_warn_silence
Change print warnings to config ones for popups that need transparency
2025-01-11 22:29:48 +01:00
Rémi Verschelde
11007718ec Merge pull request #93871 from KoBeWi/🚽🚽
Flush delete queue after process frame timers
2025-01-11 22:29:23 +01:00
QbieShay
e9eb0b6082 Implemented tools around particles seed randomization.
The purpose of this code is to expose the necessary
functions for users and engine devs to develop tooling
for properly timing and seeking inside particles.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-11 16:31:24 +01:00
Rémi Verschelde
4caae29729 Merge pull request #101368 from Hilderin/fix-selection-game-view
Fix selection in 3D Game view
2025-01-10 23:06:28 +01:00
Rémi Verschelde
5be039761f Merge pull request #101273 from Nazarwadim/use_AHashMap_in_SurfaceTool
Use `AHashMap` for `SurfaceTool`
2025-01-10 23:06:12 +01:00
Rémi Verschelde
867425fd62 Merge pull request #101021 from bruvzg/empick
[macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker.
2025-01-10 23:06:03 +01:00
Rémi Verschelde
4dbcced69a Merge pull request #100714 from hpvb/fix-100663
Handle changing ItemLists from signals
2025-01-10 23:05:51 +01:00
Hilderin
055b418e4d Fix Selection Game View 2025-01-10 09:53:17 -05:00
havi05
a9af65d368 Add HScrollbar to ItemList 2025-01-10 14:59:12 +01:00
WhalesState
2eded468f9 Add ColorPicker cursor background and reuse the cursor for wheel.
Add a cursor's background to fill the picker cursor.
Unhardcode the wheel radius.
Reuse the picker cursor image for the HSV wheel.
2025-01-10 09:55:54 +02:00
Pāvels Nadtočajevs
b252867145 [macOS/Windows] Add Emoji & Symbols context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Rémi Verschelde
06a6a0bcdb Merge pull request #101350 from Calinou/path-draw-fewer-fish-bones
Draw fewer fishbones to improve Path gizmo readability and performance
2025-01-09 20:51:37 +01:00
Rémi Verschelde
765c6ab5f8 Merge pull request #101282 from Nazarwadim/use_LocalVector_for_Curve_and_Gradient
Use `LocalVector` for `Curve` and `Gradient`
2025-01-09 20:51:30 +01:00
Michael Alexsander
5c63646e87 Change print warnings to config ones for popups that need transparency 2025-01-09 15:59:56 -03:00
Rémi Verschelde
0257995616 Merge pull request #101354 from Ivorforce/animation-clear-template
Replace `Animation::_clear()` with explicit `.clear()` calls.
2025-01-09 17:07:27 +01:00
Lukas Tenbrink
dcb4e5b22a Replace Animation::_clear() with explicit .clear() calls. 2025-01-09 16:43:57 +01:00
Hugo Locurcio
13a1391e73 Draw fewer fishbones to improve Path gizmo readability and performance
This affects both Path2D and Path3D.
2025-01-09 16:08:29 +01:00
Rémi Verschelde
4396f8fbd3 Add AudioStreamMP3 load_from_file/load_from_buffer and harmonize other audio streams
Move OggVorbis and MP3 loading code to their AudioStream class, matching how it's done for WAV.

The duplicate functions in ResourceImporterOggVorbis are now deprecated.

Co-authored-by: MaxIsJoe <34368774+MaxIsJoe@users.noreply.github.com>
2025-01-09 15:46:04 +01:00
Rémi Verschelde
2e657bf2ae Merge pull request #101205 from voylin/get_visible_line_count_fix
Fix `get_visible_line_count` in RichTextLabel
2025-01-09 13:50:51 +01:00
Rémi Verschelde
ef9f0aefd0 Merge pull request #101175 from wareya/wrap_perf_fix
Fix large `TextEdit` width resize performance when wrapping disabled
2025-01-09 13:50:46 +01:00
Nazarii
8bfb5d74b3 Use LocalVector for Curve and Gradient 2025-01-09 14:25:21 +02:00
Rémi Verschelde
eb4a9977c3 Merge pull request #101323 from demolke/modenable
LightmapGI: Including `modules_enabled.gen.h` to properly check the configuration warning
2025-01-09 11:17:42 +01:00
Rémi Verschelde
65cf7c1d5e Merge pull request #101221 from bruvzg/win_dec_exp
[Window] Expose `start_drag` and `start_resize` methods (for both native and embedded windows).
2025-01-09 11:17:24 +01:00
demolke
2a3e0d47ea LightmapGI: Including modules_enabled.gen.h to properly check the configuration warning 2025-01-09 09:55:28 +01:00
wareya
b8c52f16e2 Fix large LineEdit x resize perf when wrapping disabled 2025-01-08 21:24:49 -05:00
voylin
3e333df623 fix get_visible_lint_count in RichTextLabel 2025-01-09 10:24:52 +09:00
Rémi Verschelde
f83919c088 Merge pull request #101311 from TokageItLab/fix-lookat-rest
Fix `LookAtModifier3D` rest space incorrect rotation
2025-01-09 00:42:29 +01:00
Rémi Verschelde
8e0f498400 Merge pull request #101266 from WhalesState/color-picking-fix
Fix color picking on Linux/X11.
2025-01-09 00:42:22 +01:00
Silc Lizard (Tokage) Renew
08a2f0ae39 Fix LookAtModifier rest space rotation 2025-01-09 05:22:47 +09:00
Rémi Verschelde
bfa351cb44 Merge pull request #101246 from wlsnmrk/dropdown-fix
Fix menus and dropdowns requiring two clicks
2025-01-08 18:20:07 +01:00
Rémi Verschelde
21721ae344 Merge pull request #87260 from Calinou/tonemap-add-agx
Add AgX tonemapper option to Environment
2025-01-08 18:20:03 +01:00
Hugo Locurcio
084e84be78 Add AgX tonemapper option to Environment
Technical implementation notes:

- Moved linearization step to before the outset matrix is applied and
  changed polynomial contrast curve approximation.
  - This does *not* implement Blender's chroma rotation to address hue shift.
    This hue rotation was found to have a significant performance impact.
- Improved performance by combining the AgX outset matrix with the Rec 2020 matrix.

Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2025-01-08 17:01:16 +01:00
Mark Wilson
5fad891759 Fix menus and dropdowns requiring two clicks
Fixes some editor menus and option buttons requiring two clicks to open
by checking status.pressed_down_with_focus separately from other press
status flags. Makes all pressed statuses consistent on toggle buttons
with ACTION_MODE_BUTTON_PRESSED.
2025-01-08 10:07:37 -05:00