1
0
Fork 0
Commit Graph

16524 Commits

Author SHA1 Message Date
Chaosus 8a7c9aa452 Fix visual shader error when opening a Fresnel node preview 2025-01-19 14:47:22 +03:00
Ricardo Buring 4aba15eec3 Fixed Timestep Interpolation (3D): Fix warning spam 2025-01-19 11:42:47 +01:00
Janis Kirsteins 815e905972 Typo fix: rename SortableVisbilityMode 2025-01-19 00:33:39 +01:00
Pāvels Nadtočajevs d98528ca3c Fix Label vertical line alignment. 2025-01-18 22:07:39 +02:00
Mika Viskari dedae63617 Add property guards to shape 2D's 2025-01-18 13:37:46 +02:00
aryan-11825114 2e4eb59e56 Fix camera override when there is no camera in scene tree 2025-01-18 14:38:05 +05:30
Silc Lizard (Tokage) Renew ad636b7133 Fix failure to load joints with indivisual config in SpringBone 2025-01-18 09:36:21 +09:00
smix8 c734f90282 Fix NavigationObstacle3D debug clear regression
Clears NavigationObstacle3D on tree exit.
2025-01-18 01:35:58 +01:00
Lars Pettersson ff39adddd1
Prevent tooltip from showing when hovering past end of script line 2025-01-18 00:02:06 +01:00
Thaddeus Crews 4425ce03d0
Merge pull request #101651 from TokageItLab/fix-flip-springbone
Fix glitch in `SpringBoneSimulator3D` by storing the previous frame's rotation instead of using no rotation when the axis is flipped
2025-01-17 10:16:50 -06:00
Thaddeus Crews 9875cb6c95
Merge pull request #101652 from TokageItLab/gravity-doc-springbone
Clarify `SpringBoneSimulator3D`'s gravity units and improve documentation
2025-01-17 10:16:49 -06:00
Thaddeus Crews 923eb44c6f
Merge pull request #101617 from paddy-exe/processmaterial-vs-shadermaterial
Fix `emission_shape_changed` signal error when using ShaderMaterial with GPUParticles3D
2025-01-17 10:16:48 -06:00
WhalesState 6caadd57a9 `ColorPicker` remove unused children and fix sample bugs.
Remove an unused `VBoxContainer`.
Remove 3 unused children from grid (Label, Slider, SpinBox).
Ignore sample input when old color is not displayed.
Fix current color overbright position.
2025-01-17 18:12:36 +02:00
Patrick Exner 484d6d4aa1 Fix emission_shape_changed signal error when using ShaderMaterial with 3DGPUParticles 2025-01-17 15:07:28 +01:00
Thaddeus Crews 86002e1a3c
Merge pull request #100882 from smix8/node_navmesh_geo_parsers
Make nodes handle their respective navigation source geometry
2025-01-16 17:18:01 -06:00
Thaddeus Crews fd88acc671
Merge pull request #101008 from Repiteo/scons/nocache-all-text
SCons: Properly `NoCache` all text files
2025-01-16 17:17:59 -06:00
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
Thaddeus Crews 73278bf35d
SCons: Properly `NoCache` all text files 2025-01-16 16:59:12 -06:00
Silc Lizard (Tokage) Renew 912c86a2e8 Changed SpringBone to return the prev rotation instead of init 2025-01-17 07:10:02 +09:00
Silc Lizard (Tokage) Renew 8eb5443d0a Clarify SpringBone's gravity unit and improve documentation 2025-01-17 07:02:54 +09:00
Rhapsody Aria 393a13a74b Ensure voxelizer sdf generation considers the correct level 2025-01-16 13:24:46 -08:00
aaronp64 c4db6687f9 Generate global code for VisualShader nodes that connect to VaryingSetters
Updated visual shader code to call generate_global_per_node() for nodes connected to VaryingSetter nodes, even if they don't connect directly to Output.
2025-01-16 15:14:12 -05:00
kit 8274e64402 Fix TextEdit breakpoint hover not hiding 2025-01-16 10:42:54 -05: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
风青山 b75acc3ccd
Fix Follow Focus in a rotated `ScrollContainer`
Calculate based on the `ScrollContainer`'s space to eliminate possible
rotation. The global rect already has applied the rotation, so it
should not be used.
2025-01-16 14:58:43 +08:00
Rindbee e197463525
Fix getting wrong focus neighbor when the control is in `ScrollContainer`
Exclude controls inside a `ScrollContainer` that are outside the visible area of ​​
the `ScrollContainer` when looking for focus neighbors.
2025-01-16 07:55:56 +08:00
Travis Lange d702e02172 fix gpu_particles_3d emitting finished signal on ready 2025-01-15 16:31:57 -05: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
Nazarii c91c604eaa Use AHashMap for RBMap nodes and HashMap input_activity 2025-01-14 19:35:42 +02: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
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
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
Mounir Tohami e89c196a80 `LineEdit` add member `keep_editing_on_text_submit`.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02:00
Silc Lizard (Tokage) Renew d0c421976c Fix looking at with 180 degree arc
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com>
2025-01-02 15:47:01 +09:00
smix8 8dd0579bcd Add NavigationLink debug direction indicator
Adds direction indicator arrows to the NavigationLink debug depending on if a link is onewyay or bidirectional.
2025-01-02 01:07:26 +01:00
Markus Sauermann 54373160df Fix Crash with `GraphNode`
When using `queue_free()` on GraphNodes, `p_from` can become `nullprt`.
This PR adds a check to prevent crashes in these situations.
2025-01-01 22:20:57 +01:00
Nazarii 482531c4b8 Use thread_local for bones_backup 2024-12-31 16:32:15 +02:00
Thaddeus Crews df2b117ec2
Merge pull request #100317 from TCROC/fix-collision-shape-debug-color-breaks-gdextension
Fix collision shape debug color breaking GDExtension
2024-12-30 08:58:41 -06:00
Thaddeus Crews 953db6e785
Merge pull request #100752 from AThousandShips/unify_timer_scale_naming
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
2024-12-30 08:58:36 -06:00
Thaddeus Crews 0e00f41650
Merge pull request #100735 from tvenclovas96/tween_ignore_time_scale
Add an option for tweens to ignore `Engine.time_scale`
2024-12-30 08:58:25 -06:00
Thaddeus Crews 01c6e18963
Merge pull request #100745 from mdelorme/mdelorme/issue_100727
Assign the project manager title to the node instead of DisplayServer
2024-12-30 08:58:23 -06:00
LuoZhihao 47db9c0405 ColorPicker: Fix cursor position in OKHSL wheel 2024-12-30 22:25:20 +08:00
Thaddeus Crews a9b6b3d932
Merge pull request #100776 from AThousandShips/improve_null_checks
Improve use of `Ref.is_null/valid`
2024-12-29 09:35:04 -06:00
Patrick Exner e689c122a6 Add visualization of 3D particle emission shapes
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
Rémi Verschelde ff83fdcdd7
Pre-commit: Fix applying ruff to SCsub files
Also ignore iOS template dummy.h file for header guards check.

Update ruff to 0.8.4 while at it.
2024-12-28 10:19:46 +01:00
Silc Lizard (Tokage) Renew 24f5361b8a Make transform elements BitField in RetargetModifier 2024-12-28 07:19:48 +09:00
Lars Pettersson 3c1ac98f37
Allow overriding SpinBox value on `focus_exited` 2024-12-27 22:12:57 +01:00
AThousandShips 8d1a3e2a76
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
Renamed `get_ignore_time_scale` to `is_ignoring_time_scale` following general naming standards.
2024-12-23 16:47:00 -05:00
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
Travis Lange f0c077deb8 fix collision shape debug color breaking gdextension 2024-12-23 15:02:54 -05:00
Maxime Delorme e4e966b0f2 Fix #100727 by giving the project manager title to the node instead of DisplayServer 2024-12-23 19:44:18 +01:00
Hugo Locurcio 62c17911ea Add more property hint ranges for project settings
- Tweak property hint ranges for some networking settings to ensure
  the minimum values don't break the debugger entirely.
- Ensure shader time rollover is set to at least 1, as 0 causes a division by
  zero to occur.

All relevant project settings are now covered by a range hint.
2024-12-23 18:22:32 +01:00
Thaddeus Crews 98c3138804
Merge pull request #92717 from KoBeWi/twisted_frying_pan
Add warped panning to every ViewPanner instance
2024-12-23 11:15:16 -06:00
Thaddeus Crews a7fb67b827
Merge pull request #100746 from syntaxerror247/size-regression
Android: Fix `Window` size changes ignored when node is not in tree
2024-12-23 11:15:09 -06:00
Thaddeus Crews e109ac21fb
Merge pull request #100708 from smix8/navobstacle2d_debug
Improve NavigationObstacle2D debug visuals and performance
2024-12-23 11:15:06 -06:00
Thaddeus Crews 0c80b47ef0
Merge pull request #97687 from YYF233333/animation
Convert Vector to LocalVector in animation system
2024-12-23 11:14:56 -06:00
Yyf2333 2f9a6636bd Convert Vector to LocalVector in animation system.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:50:48 +08:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Anish Mishra 9f3067ef21 Fix Window size changes ignored on Android 2024-12-22 23:12:54 +05:30
tvenclovas96_bigblackc dbc0cc1437 Add `Tween::ignore_time_scale` 2024-12-22 18:39:54 +02:00
Rémi Verschelde 9f42d1c3cb
Merge pull request #100678 from clayjohn/label3d-msdf
Fix shader compilation errors when using MSDF fonts with Label3D nodes
2024-12-22 00:10:16 +01:00
Rémi Verschelde 88e6997917
Merge pull request #97745 from scgm0/Fix-blurred-content-of-embedded-windows
Improve blurred content of embedded windows
2024-12-22 00:09:55 +01:00
smix8 23ea3ab8d1 Improve NavigationObstacle2D debug visuals
Improves NavigationObstacle2D debug visuals by aligning them closer to their aleady improved 3D counterpart.
2024-12-21 19:53:17 +01:00
clayjohn ed83e5ee4b Fix shader compilation errors when using MSDF fonts with Label3D nodes 2024-12-20 17:30:55 -07:00
Rémi Verschelde a7a2a12bfd
Merge pull request #100671 from bruvzg/get_menu
[MenuBar] Use PopupMenu title property as a menu name.
2024-12-20 23:57:47 +01:00
Rémi Verschelde fd5548a8b7
Merge pull request #100634 from YYF233333/iwyu2
Remove unused headers in servers
2024-12-20 23:57:09 +01:00
Rémi Verschelde 024b6bc1ce
Merge pull request #100632 from Namey5/decal-duplication-crash
Fix crash when duplicating `Decal` or `Light3D` nodes
2024-12-20 23:57:05 +01:00
Rémi Verschelde a11364d1e6
Merge pull request #99010 from Hilderin/embedding-game-process
Embed game process in editor
2024-12-20 23:56:43 +01:00
Rémi Verschelde 8a743f23e6
Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00
Rémi Verschelde 7d5b23c5b0
Merge pull request #96626 from hakro/steady_as_she_goes
Allow Timer nodes to ignore engine time scale
2024-12-20 23:56:33 +01:00
Alex Threlfo 90a0c06631
Fix crash when duplicating Decal or Light3D nodes
Co-authored-by: Jayden Sipe <jayden.sipe@gmail.com>
2024-12-20 23:51:47 +01:00
Pāvels Nadtočajevs 9604e98a52 [MenuBar] Use PopupMenu title property as a menu name. 2024-12-20 23:35:07 +02:00
kobewi 9a96393f46 Add warped panning to every ViewPanner instance 2024-12-20 17:40:27 +01:00
scgm0 0bc2c269cb Fix blurred content of embedded windows 2024-12-20 22:44:36 +08:00
Yufeng Ying e88e30c273 Remove unused headers in servers.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-12-20 18:51:01 +08:00
Thaddeus Crews a6e89ba2ba
Merge pull request #80121 from Sauermann/fix-embedded-window-stretch
Fix display of embedded `Window`
2024-12-19 20:00:17 -06:00
Thaddeus Crews ddf6e9e3eb
Merge pull request #100595 from bruvzg/win_drv_letter
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 20:00:15 -06:00
Thaddeus Crews 075567a5b3
Merge pull request #100456 from Sauermann/proposal-hovered-connection-highlight
Highlight hovered `GraphEdit` connection by widening the line
2024-12-19 20:00:08 -06: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