1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00
Commit Graph

16342 Commits

Author SHA1 Message Date
Thaddeus Crews
9bcf5ac9f7 Merge pull request #101560 from darksylinc/matias-union-order
Fix union order to simplify empty initializers
2025-01-16 17:17:53 -06:00
Thaddeus Crews
464253e235 Merge pull request #101571 from TokageItLab/validate-rotation-axis-spring-bone
Add validation for rotation axis to SpringBoneSimulator3D
2025-01-16 17:17:50 -06:00
Pāvels Nadtočajevs
7c54ad34ba [TextEdit] Fix viewport_to_caret using start of IME text instead of IME caret/selection. 2025-01-16 10:26:04 +02:00
Silc Lizard (Tokage) Renew
48e74af421 Add validation for rotation axis to SpringBoneSimulator3D 2025-01-15 18:29:30 +09:00
Matias N. Goldberg
7b2f1e1d09 Fix union order to simplify empty initializers
This is a followup to PR #101344 (commit
0e06eb80bc).

Some of them were not an issue because Godot was initializing all
members, but they were "fixed" just in case since it could become a
problem in the future.

Valgrind was specifically complaining about HashMapData &
GlobalPipelineData.
2025-01-14 19:05:01 -03:00
Rémi Verschelde
efbcfb9379 Merge pull request #101541 from YeldhamDev/tab_width_fix
Always pick widest style as min width between unselected and hovered in `TabBar`
2025-01-14 18:29:50 +01:00
Rémi Verschelde
ddd4527747 Merge pull request #101537 from paddy-exe/fix-emission-shape-signal-regression
Fix regression from already disconnected emission shape changed signal
2025-01-14 18:29:43 +01:00
Rémi Verschelde
1e1f54e954 Merge pull request #100050 from YeldhamDev/sub_emitter_at_start
Add "At Start" mode for sub-emitter particles
2025-01-14 18:29:20 +01:00
Michael Alexsander
e33a95f6ab Always pick widest style as min width between unselected and hovered in TabBar 2025-01-14 12:16:44 -03:00
Rémi Verschelde
a69ccee151 Merge pull request #101505 from smix8/region_bounds
Add functions to get axis-aligned bounds of navigation regions
2025-01-14 15:06:06 +01:00
Patrick Exner
1d2c503b00 Fix regression from already disconnected emission shape changed signal 2025-01-14 13:20:16 +01:00
Rémi Verschelde
1ca03add30 Merge pull request #101532 from bruvzg/rtl_fix_fx_offset
[RTL] Fix character effect offset.
2025-01-14 12:09:23 +01:00
Rémi Verschelde
dde7a9407a Merge pull request #101525 from TokageItLab/fix-shifted-joint-spring-bone
Fix shifted joint radius index in SpringBone gizmo and remove unused `end_bone_tip_radius` property
2025-01-14 12:09:16 +01:00
Rémi Verschelde
3aa5b0048f Merge pull request #101513 from bruvzg/legacy_picker_fix
Fix legacy color picker crash.
2025-01-14 12:09:09 +01:00
Pāvels Nadtočajevs
88a719f291 [RTL] Fix character effect offset. 2025-01-14 11:56:24 +02:00
Silc Lizard (Tokage) Renew
7b3d14fbcd Fix shifted joint radius index in SpringBone gizmo/remove unused tips 2025-01-14 16:27:59 +09:00
Pāvels Nadtočajevs
730495c215 Fix legacy color picker crash. 2025-01-14 08:25:18 +02:00
Rémi Verschelde
f8dc6a0afe Merge pull request #101482 from bruvzg/rtl_expand_control
[RTL] Add cell option to control if cell is shrinked to its contents width.
2025-01-14 00:22:18 +01:00
Rémi Verschelde
2f6a18f7ff Merge pull request #101409 from TokageItLab/spring-bone
Implement SpringBoneSimulator3D to wiggle chained bones
2025-01-14 00:22:11 +01:00
Rémi Verschelde
2850b7113c Merge pull request #100860 from larspet/spin-box-focus-exited
Allow overriding SpinBox value on `focus_exited`
2025-01-14 00:22:03 +01:00
Silc Lizard (Tokage) Renew
5472558a98 Implement SpringBoneSimulator3D to wiggle chained bones
Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
2025-01-14 05:43:57 +09:00
Pāvels Nadtočajevs
b983b9d9f4 [RTL] Add cell option to control if cell is shrinked to its contents width. 2025-01-13 21:44:06 +02:00
Rémi Verschelde
232ab3df8d Merge pull request #101488 from chocola-mint/fix-11317
Add `has_custom_data()` to TileData
2025-01-13 20:22:44 +01:00
Rémi Verschelde
2c521ea57d Merge pull request #101481 from bruvzg/rtl_fade
[RTL] Fix "fade" effect char index calculations.
2025-01-13 20:22:37 +01:00
Rémi Verschelde
20c09d2c94 Merge pull request #100697 from arkology/texture-progress-radial-stretching
Tweak `TextureProgressBar` `NOTIFICATION_DRAW` to support 9-patch stretch in radial modes
2025-01-13 20:21:48 +01:00
Rémi Verschelde
763e8ceb3b Merge pull request #100227 from clayjohn/particles-texture
Move texture property back to the top level of the Particles inspector.
2025-01-13 20:21:38 +01:00
Rémi Verschelde
133db1fd60 Merge pull request #92089 from QbieShay/qbe/particle_seek
Implement particle seek request and seed options.
2025-01-13 20:21:28 +01:00
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
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