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
Aarni Koskela
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Markus Sauermann
2a72f78427 Fix __focus_rect meta access when resizing Tree
`NOTIFICATION_RESIZED` outputs errors, if `select_mode == SELECT_ROW`.
This PR unifies the access to the item focus rect.
2025-01-08 10:53:46 +01:00
WhalesState
989161e117 Fix color picking on linux. 2025-01-08 10:32:25 +02:00
Nazarii
4f1c956f25 Use AHashMap for SurfaceTool 2025-01-08 02:17:13 +02:00
Rémi Verschelde
b401a87066 Merge pull request #101066 from DanielGSilva/font-variation-inheritance
Fix `has_font` and `has_font_size` always return true
2025-01-07 23:17:51 +01:00
Rémi Verschelde
709f2e1a5d Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
Rémi Verschelde
07093c4a34 Merge pull request #100275 from KoBeWi/highest_level_clearance
Don't emit `text_changed` signal when clearing empty LineEdit
2025-01-07 23:17:13 +01:00
Rémi Verschelde
b194e050d7 Merge pull request #91333 from YeldhamDev/working_on_this_felt_like_constantly_walking_into_rakes
Make `PopupMenu/Panel` shadows properly visible again
2025-01-07 23:17:02 +01:00
Pāvels Nadtočajevs
8d911b2554 [Window] Expose start_drag and start_resize methods (for both native and embedded windows). 2025-01-07 23:35:14 +02:00
Hendrik Brucker
054340bb6b Add a supersampling option to LightmapGI
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com>
2025-01-07 18:44:59 +01:00
danielgsilva
94a7dfeae1 Add additional methods for has_theme_item to check for font and font size 2025-01-07 16:56:14 +00:00
Rémi Verschelde
aa65940a85 Merge pull request #101202 from KoBeWi/tweens_3.0
Tween code improvements
2025-01-07 10:14:58 +01:00
Rémi Verschelde
33c0fc5508 Merge pull request #101162 from timoschwarzer/fix/gpu-particles-2d-emission-textures
Fix ParticleProcessMaterial not using same offsets for emission textures
2025-01-07 10:14:50 +01:00
Rémi Verschelde
9b6322a6f1 Merge pull request #97478 from bruvzg/emb_obj
[TextServer] Improve embedded objects handling performance.
2025-01-07 10:14:30 +01:00
Rémi Verschelde
7c49ae253e Merge pull request #96713 from Nazarwadim/thread_local_bones_backup
Use `thread_local` for `bones_backup`
2025-01-07 10:14:15 +01:00
bruvzg
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
BattyBovine
6dc6ad2b86 Prevent errors when drawing debug meshes when surface count is zero.
Adds a few checks to ensure a debug collision mesh contains mesh data before
attempting to add it to the gizmo draw list. This prevents errors when using
SeparationRayShape3D, which is only intended to draw a single line, and
contains no mesh data.

Closes #100665
2025-01-06 21:35:52 -05:00
kobewi
ccc134fd1b Tween code improvements 2025-01-07 01:21:23 +01:00
Rémi Verschelde
6e826b26d9 Merge pull request #101148 from TokageItLab/skelmod-generic
Move enum BoneAxis to SkeletonModifier from LookAtModifier
2025-01-06 22:49:14 +01:00
Rémi Verschelde
08c605fe2d Merge pull request #101082 from arkology/line_2d_edit_get_rect
Speed up `Line2D._edit_get_rect()`
2025-01-06 22:48:35 +01:00
Rémi Verschelde
bf2548463a Merge pull request #101012 from zachseiss/master
Preserve emission ring shape properties during conversion from GPUParticles3D to CPUParticles3D and vice versa
2025-01-06 22:48:20 +01:00
Rémi Verschelde
f18bb5ba1a Merge pull request #100999 from KoBeWi/theme_wariat
Fix ProjectTag button variation
2025-01-06 22:48:16 +01:00
Rémi Verschelde
8c78540d47 Merge pull request #100931 from beicause/color-picker-hue-accuracy-okhsl
ColorPicker: Improve the accuracy of hue slider in OKHSL mode
2025-01-06 22:48:01 +01:00
Rémi Verschelde
c1f65b429d Merge pull request #100329 from eviltrout/add-custom-line-offset
Add `get_selection_line_offset` to `RichTextLabel`
2025-01-06 22:47:33 +01:00
Rémi Verschelde
399f585042 Merge pull request #99603 from stuartcarnie/metal_fx_upscaling
Metal: Add MetalFX upscaling support
2025-01-06 22:47:08 +01:00
Rémi Verschelde
11f95e7feb Merge pull request #99350 from bruvzg/fs_mime
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +01:00
Rémi Verschelde
c78d9d2fe7 Merge pull request #98660 from Meorge/tween-subtween
Add `Tween.tween_subtween` method for nesting tweens within each other
2025-01-06 22:46:40 +01:00
Rémi Verschelde
4319d380d1 Merge pull request #94507 from akien-mga/variantparser-improve-error-reporting
VariantParser: Ensure all parse errors have an explanation
2025-01-06 22:46:31 +01:00
Rémi Verschelde
f99a465956 Merge pull request #81532 from wlsnmrk/button-focus-loss-event-fix
Fix `button_up` and `button_down` signals with focus changes or multiple inputs
2025-01-06 22:46:26 +01:00
Stuart Carnie
11dc4f2e5e Metal: Add MetalFX upscaling support
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-06 06:03:18 -07:00
Timo Schwarzer
87767f7c34 Fix ParticleProcessMaterial not using same offsets for emission textures 2025-01-05 23:32:22 +01:00
havi05
ab5176dfa5 Tree - fix cusor selection in multi selection-mode 2025-01-05 22:23:51 +01:00
Silc Lizard (Tokage) Renew
f1f152ea5a Move enum BoneAxis to SkeletonModifier from LookAtModifier 2025-01-05 14:14:36 +09:00
HP van Braam
32ef7306f4 Handle changing ItemLists from signals
We make sure we don't touch the ItemList's items array after signals are
emitted as a signal handler might change the item list, causing the
index we had to be invalid.

This fixes #100663
2025-01-05 02:10:28 +01:00
Pāvels Nadtočajevs
e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
LuoZhihao
9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
Malcolm Anderson
be266138d7 Add tween_subtween method for nesting Tweens
No actual functionality yet

Actual subtween functionality implemented

Added documentation for Tween.tween_subtween and SubtweenTweener

Implemented some additional functions

`set_ease`, `set_trans`, and `set_delay`
Documentation only for `set_delay` so far, since I have tested it

Removed set_ease and set_trans

Upon further investigation, the way they are implemented for Tween doesn't appear to work here

Fixed indentation in documentation

Reset subtween when parent loops

Fix return type of `SubtweenTweener.set_delay`

Add notes to documentation

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply some suggested changes

- Remove excessive documentation
- Add Tween constructor that takes in SceneTree
- Make `SubtweenTweener::subtween` public so that `Tween` doesn't have to be a friend class

Remove unneeded friend class SceneTree

Remove superfluous documentation describing subtween behavior

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply suggestions from code review

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Early return from `tween_subtween` if the subtween is `null`
2025-01-03 14:28:48 -08:00
arkology
3fa775b844 Speed up Line2D._edit_get_rect() 2025-01-03 20:32:08 +03:00
Rémi Verschelde
c049d07121 VariantParser: Ensure all parse errors have an explanation
Likewise in ResourceFormatText and JSON.
2025-01-03 17:17:37 +01:00
Zach Seiss
86ab88f016 added preservation of emission ring properties during conversion from GPUParticles3D to CPUParticles3D and vice versa 2025-01-03 07:47:06 -05:00
kobewi
c1cdcad96a Fix ProjectTag button variation 2025-01-03 11:41:00 +01:00
Rémi Verschelde
6c6e74408c Merge pull request #94616 from Chaosus/vs_fix_vec4_constant
Change `VisualShaderNodeVec4Constant` type to vec4
2025-01-03 02:01:09 +01:00
Rémi Verschelde
94f23c342a Merge pull request #101010 from smix8/navlink_debug_direction
Add NavigationLink debug direction indicator
2025-01-03 00:50:06 +01:00
Rémi Verschelde
32b081b2ff Merge pull request #101005 from Sauermann/fix-graph-node-crash
Fix nullptr crash with freed `GraphNode` in GraphEditArranger
2025-01-03 00:50:02 +01:00
Rémi Verschelde
d47fef15b8 Merge pull request #100991 from TokageItLab/180deg-arc
Fix looking at with 180 degree arc
2025-01-03 00:49:59 +01:00
Rémi Verschelde
2f4cb705c3 Merge pull request #100930 from beicause/fix-color-picker-cursor-position-in-okhsl
ColorPicker: Fix cursor position in OKHSL wheel
2025-01-03 00:49:37 +01:00
Rémi Verschelde
ff14d86fa3 Merge pull request #100811 from TokageItLab/bitmask-retarget
Make transform elements BitField in RetargetModifier
2025-01-03 00:49:14 +01:00
Rémi Verschelde
703552c51b Merge pull request #100240 from WhalesState/line-edit-focus
`LineEdit` add member `keep_editing_on_text_submit`
2025-01-03 00:48:34 +01:00
Rémi Verschelde
d484e23bce Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Rémi Verschelde
0d710da96c Merge pull request #98554 from Calinou/add-property-hint-ranges
Add more property hint ranges for project settings
2025-01-03 00:47:59 +01:00