Commit Graph

77006 Commits

Author SHA1 Message Date
Chaosus 7ecdfc8b52 Add samplerExternalOES type to shader globals 2024-11-24 14:33:52 +03:00
Silc Lizard (Tokage) Renew 27bd7b23f6 Fix forward_vector scale to handle safe_margin in LookAtModifier 2024-11-24 13:43:07 +09:00
Pablo Andres Fuente 86ea0127a3 Add a focus border on ScrollContainer
Also added new unit tests for `Control`.

Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2024-11-23 23:54:38 -03:00
Bruno Brant 84f4178850 Fix missing sign in ease function curve description
The range was broken because -1.0 was informed as being 1.0.
2024-11-23 23:02:14 -03:00
Alexander Hartmann 796d943f14 Fix missing space after period in error message. 2024-11-24 02:46:42 +01:00
Jamie Pate 45a7bcc477 Fix gl_compatibility lightmap uniforms not being set
Fixes #99592

The following variables were set too early, and later code never ran..
prev_shader, prev_variant, prev_spec_constants variables

These variables were shared in two different branch conditions but were
updated inside the first one, so the second could never be true..

The condition to update lighting also should check prev_spec_constants
since it updates that uniform.
2024-11-23 16:43:07 -08:00
Lane Barnes 2e8c941812 Fix example code snippet in AudioStreamGenerator.xml
I was playing around with C# code snippet but I kept hearing a clipping sound. I think this is because the phase variable is being set to 0 in the wrong spot.

The phase at the end of the FillBuffer() method is some non zero number. When FillBuffer is called again, the phase is suddenly changed back to zero. This causes the end of one sin wave segment to be out of sync with the next sin wave segment. The sin wave needs to be continuous between FillBuffer calls so no clipping sound occurs.

Moving the phase variable out of FillBuffer and putting it in a scope above makes it retain its value between FillBuffer calls, making the sin wave continuous, and the clipping sound is gone.

For further proof, the demo project "Audio Generator Demo" has the phase variable be one scope above FillBuffer and it does not set phase=0 inside of FillBuffer. If anything, I'm fixing this documentation to match the working demo
2024-11-23 15:36:03 -07:00
Bastiaan Olij 1bffefb346 Adding ability to include build-in include files (precursor to custom shader templates) 2024-11-24 08:47:45 +11:00
Fabio Alessandrelli 0df602afed [UPNP] Allow disabling UPNP implementation on the Web
Make UPNP classes custom instance, so they can come with empty
implementation on the Web (where the would not work anyway) without
breaking scripts referencing it.

This results in smaller Web builds by not including the library which
also results in the emscripten socket wrappers to be stipped away.
2024-11-23 20:17:28 +01:00
Bad Sector da191168fe Add VoxelGI bake cancelling and progress UI improvement 2024-11-23 21:12:57 +02:00
A Thousand Ships f6ea6cdb67 Fix some invalid int property ranges
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
  note
2024-11-23 19:17:29 +01:00
arkology 6c38824d03 Document radial_center_offset bounds 2024-11-23 20:40:00 +03:00
Silc Lizard (Tokage) Renew ebf7e86bd4 Make start/end can be retrieved from each PlaybackData on AnimPlayer 2024-11-23 22:49:37 +09:00
Pāvels Nadtočajevs e9b57fce82 Convert line breaks to \n and strip line break from the end of string returned by OS::read_string_from_stdin/OS::get_stdin_string. 2024-11-23 15:11:50 +02:00
Rudolph Bester 4089a6cb8c Fixed occlusion culling for double builds by enforcing float conversion for Embree. 2024-11-23 13:49:12 +02:00
Pablo Andres Fuente 2c9de1d9d2 Add unit tests for UDPServer
This PR aims to help "fix" #43440
2024-11-22 23:08:05 -03:00
kit b862a394f4 Add tooltips to dock menu and remove disabled 2024-11-22 17:22:19 -05:00
Thaddeus Crews 0c45ace151 Merge pull request #99054 from timothyqiu/session-names
Translate the name of the debugger session tabs
2024-11-22 14:54:49 -06:00
Thaddeus Crews 7faad0cc7a Merge pull request #97388 from tetrapod00/visualshader-linear-srgb
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-11-22 14:54:47 -06:00
Thaddeus Crews 17e8cf0d87 Merge pull request #99044 from Sticksman/bug-fix-98873
Remove deprecated worker.js file
2024-11-22 14:54:41 -06:00
Thaddeus Crews ea3154a0d4 Merge pull request #99424 from dalexeev/core-fix-builtin-enum-const-binds
Core: Fix built-in enum constant bindings
2024-11-22 14:54:31 -06:00
Thaddeus Crews 37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Thaddeus Crews dcb59f0e7e Merge pull request #99548 from Repiteo/style/clang-format-19-options
Style: Add 19.1.0 LLVM options to `.clang-format`
2024-11-22 14:54:29 -06:00
Thaddeus Crews 2adfa20ee2 Merge pull request #99544 from jtcat/fix-inspector-favorites
Fix inspector section iteration in `update_tree`
2024-11-22 14:54:28 -06:00
Thaddeus Crews 514d73affc Merge pull request #99416 from adamscott/set-thread-count-for-single-threaded
Force `get_thread_count()` to `1` if single threaded
2024-11-22 14:54:28 -06:00
Thaddeus Crews a0211b0f2e Merge pull request #99533 from crei0/look_at_modifier3d_documentation_data_typos
Fix wording in `LookAtModifier3D` docs
2024-11-22 14:54:27 -06:00
Thaddeus Crews e7b11d1c99 Merge pull request #99527 from RandomShaper/fix_threaded_trans
Make loading translations from threads safe
2024-11-22 14:54:26 -06:00
Thaddeus Crews fca3a224c4 Merge pull request #99525 from bruvzg/win_tts_sync_events
[Windows] Fix TTS events arriving out of order.
2024-11-22 14:54:25 -06:00
Thaddeus Crews fe1c044c73 Merge pull request #99394 from TokageItLab/root-local
Add `root_motion_local` option to AnimationMixer to pre-multiply root motion rotation accumulator before blending
2024-11-22 14:54:24 -06:00
Thaddeus Crews 336eeda6f8 Merge pull request #99521 from mechalynx/update-packedarray-class-descriptions
Correct PackedInt64Array comparison in description
2024-11-22 14:54:23 -06:00
Thaddeus Crews d2bfbd759e Merge pull request #97216 from markeel/issue_97207_filter_extension_list_cfg
Ensure excluded GDExtension files are not included in `extension_list.cfg`
2024-11-22 14:54:22 -06:00
Thaddeus Crews c35e4c41d2 Merge pull request #97716 from pafuent/add_half_precision_floating_point_to_stream_peer
Add half precision floating point support to `StreamPeer` and `FileAccess`
2024-11-22 14:54:19 -06:00
Thaddeus Crews cef0c3548e Merge pull request #99498 from carsonetb/mesh-gen-optimization
Optimize mesh generation by preventing unneeded shape recalculations
2024-11-22 14:54:18 -06:00
Thaddeus Crews a82f4c5d64 Merge pull request #97061 from YeldhamDev/rtl_l18n_fix
Fix `RichTextLabel`'s modified stack being wiped on translation changes
2024-11-22 14:54:17 -06:00
Thaddeus Crews eedc820f37 Merge pull request #99487 from passivestar/fix-viewport-offsets
Fix viewport message offsets
2024-11-22 14:54:16 -06:00
Thaddeus Crews 757a1d3c90 Merge pull request #99102 from Lazy-Rabbit-2001/autocompletion-optimization
Improve GDScript autocompletion for methods
2024-11-22 14:54:16 -06:00
Thaddeus Crews fae3a28628 Merge pull request #99485 from raulsntos/dotnet/dictionary-compat
[.NET] Preserve no-hint behavior for unmarshallable generics in dictionaries
2024-11-22 14:54:15 -06:00
Thaddeus Crews f2763b23cf Merge pull request #99483 from badsectoracula/cancel_lightmap_bake
Add lightmap bake cancelling
2024-11-22 14:54:14 -06:00
Thaddeus Crews d6ad0f65d8 Merge pull request #99482 from Giganzo/toast_and_spam
Fix toast spam about child of container position
2024-11-22 14:54:13 -06:00
Thaddeus Crews 47f3e95308 Merge pull request #99352 from Mickeon/documentation-aabb-coords-are-complicated
Fix incorrect Z direction for AABB's position
2024-11-22 14:54:12 -06:00
Thaddeus Crews 0430b977b6 Merge pull request #99348 from TokageItLab/explicit_elapse
Add `explicit_elapse` option to AnimationNodeTimeSeek to handle some processes
2024-11-22 14:54:11 -06:00
Thaddeus Crews c1b4e06fa0 Merge pull request #98835 from clayjohn/Light2D-shadow-mask
Mask out shadows on CanvasItems that don't have a matching `item_shadow_mask`
2024-11-22 14:54:10 -06:00
Thaddeus Crews d58d8914db Merge pull request #99461 from beicause/color-picker-fix-68286
ColorPicker: fix OKHSL circle in HSV mode
2024-11-22 14:54:09 -06:00
Thaddeus Crews fd4bddbeaf Merge pull request #98946 from timothyqiu/3d-index
Remove unnecessary `_3D_DISABLED` checks in `Performance`
2024-11-22 14:54:08 -06:00
kobewi e210313045 Fix stringification of Vector4 2024-11-22 21:44:30 +01:00
kobewi 289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
Micky e0b13004a0 Fix incorrect Z direction for AABB's position 2024-11-22 20:25:50 +01:00
Rob Mayoff daa665c4cb fix copy/paste error (fixes #99518)
Replace erroneous use of `/` with `%`.
2024-11-22 13:21:02 -06:00
Christian Kaiser 5559075844 Fix graph node sizing regression, improve blend tree contrast/margins 2024-11-22 16:11:28 -03:00
Michael Alexsander 250de088e3 Fix RichTextLabel's modified stack being wiped on translation changes 2024-11-22 16:09:26 -03:00