Commit graph

65810 commits

Author SHA1 Message Date
Joshua Rothe
d751545391
Fix FOG shader issue in Compatibility mode 2024-07-23 11:25:10 +02:00
cosformula
fa8b4d84fb
GLES3: Fix directional shadow on Metal ANGLE 2024-07-23 11:24:13 +02:00
Pedro J. Estébanez
0064532c1e Fix position from vertex shader partially uninitialized 2024-07-23 09:04:54 +02:00
jsjtxietian
a8526e68a7 Fix newly baked lightmap can't override previously baked at same path 2024-07-23 12:38:20 +08:00
Danil Alexeev
638148a184
GDScript: Fix false positive cases of ENUM_VARIABLE_WITHOUT_DEFAULT 2024-07-22 21:45:01 +03:00
Yuri Rubinsky
574e61a542 Fix crash when assigning more textures than expected to texture array 2024-07-22 20:51:11 +03:00
Rémi Verschelde
4e5ed0bbfb
Merge pull request #93753 from Repiteo/scons/visual-studio-fixes
SCons: Fix output with `vsproj=yes`
2024-07-22 17:30:25 +02:00
Rémi Verschelde
84af5c1c46
Merge pull request #88065 from Riteo/ds-pref-consistent
Handle display driver preferences consistently between editor and projects
2024-07-22 17:30:21 +02:00
Rémi Verschelde
40c6668044
Merge pull request #94622 from YeldhamDev/atr_corner_case
Parse `auto_translate` when generating a POT file
2024-07-22 17:24:11 +02:00
Rémi Verschelde
a713ce7b9e
Merge pull request #94444 from Repiteo/ci/bump-scons
CI: Bump SCons version (4.7.0→4.8.0)
2024-07-22 17:24:07 +02:00
Rémi Verschelde
587f1d0cb0
Merge pull request #92817 from Alex2782/fix_glsl_Mali-G
Fix glsl shader for Android Mali-GXXx GPUs and Vulkan API 1.3.xxx
2024-07-22 17:24:04 +02:00
Rémi Verschelde
b94b405d4b
i18n: Sync translations with Weblate 2024-07-22 16:38:48 +02:00
Thaddeus Crews
75a70d888a
CI: Bump SCons version (4.7.0→4.8.0) 2024-07-22 09:03:34 -05:00
Rémi Verschelde
88c454539c
Merge pull request #94619 from RandomShaper/fix_gl_prev
Fix certain resource previews empty with GL compat
2024-07-22 15:41:17 +02:00
Rémi Verschelde
9d8c2c9b25
Merge pull request #94618 from Faless/ws/fix_no_delay
[WebSocket] Ensure `TCP_NODELAY` is always set
2024-07-22 15:41:14 +02:00
Rémi Verschelde
219cd80af8
Merge pull request #94593 from Hilderin/fix-crash-editor-invalid-editor-settings
Fix editor crash when editor settings resource is invalid
2024-07-22 15:41:10 +02:00
Rémi Verschelde
c0fae769f8
Merge pull request #94161 from bruvzg/ndlg_notes
[Docs] Add some notes about native file dialog limitations.
2024-07-22 15:41:05 +02:00
Michael Alexsander
fe4bdaf5b5
Parse auto_translate when generating a POT file 2024-07-22 10:00:09 -03:00
bruvzg
684f69a422
[Docs] Add some notes about native file dialog limitations. 2024-07-22 15:56:54 +03:00
Pedro J. Estébanez
78ba8b2804 Fix certain resource previews empty with GL compat
As an additional fix, the preview render request now ignores the main viewport hierarchy so previews don't pay the cost of re-rendering the whole editor and descendant viewports.
2024-07-22 14:44:14 +02:00
Fabio Alessandrelli
d65e7aab76 [WebSocket] Ensure TCP_NODELAY is always set
Almost all WebSocket implementations (including all major browsers)
disable Nagle's algorithm to favor low latency over packet overhead.

This was also the case in Godot 3.x, while in Godot 4.0 this was only
being done for clients and wasn't even always working due to a bug.

This commit fixes the aforementioned bug, and forces TCP_NODELAY when
accepting a stream as a server.
2024-07-22 14:40:19 +02:00
Rémi Verschelde
962c2512c3
Merge pull request #94611 from Chaosus/vs_fix_texture_warning
Fix warning printing for `VisualShaderNodeTextureParameter`
2024-07-22 14:13:20 +02:00
Rémi Verschelde
6694f55f40
Merge pull request #94606 from bruvzg/rtl_msdf_r
[RTL] Fix text size rounding with MSDF fonts.
2024-07-22 14:13:17 +02:00
Rémi Verschelde
7bcb447c66
Merge pull request #94598 from BlueCube3310/img-64bit-compress
Support 64-bit image sizes for VRAM compression
2024-07-22 14:13:15 +02:00
Rémi Verschelde
3641df5170
Merge pull request #94597 from Malcolmnixon/root-android-template-ignore
Change  .gitignore to only exclude root android template folder
2024-07-22 14:13:12 +02:00
Rémi Verschelde
97be935253
Merge pull request #94594 from KoBeWi/scenegroups😬😬
Increase threshold for displaying scene group update progress
2024-07-22 14:13:08 +02:00
Rémi Verschelde
edcf78935e
Merge pull request #94587 from alvinhochun/bench-end-main-setup
End benchmark of `Main::setup` properly before calling `setup2`
2024-07-22 14:13:05 +02:00
Rémi Verschelde
b56b8e8b41
Merge pull request #94571 from Calinou/editor-curve-preview-fix-scaling
Fix incorrect Curve editor preview thumbnail scaling
2024-07-22 14:13:02 +02:00
Rémi Verschelde
1c71313c6b
Merge pull request #94565 from Gearhartlove/update-contribution-link
Documentation: Update link in CONTRIBUTING.md
2024-07-22 14:13:00 +02:00
Rémi Verschelde
4be1529049
Merge pull request #94550 from dsnopek/openxr-passthrough-project-settings
OpenXR: Fix enabling passthrough via environment blend mode in project settings
2024-07-22 14:12:56 +02:00
Rémi Verschelde
f640ba6f2c
Merge pull request #94514 from adamscott/fix-new-stream-types-playing
Fix new stream types `mix()` not returning 0 when inactive
2024-07-22 14:12:54 +02:00
Rémi Verschelde
eb6c9142ca
Merge pull request #94442 from Repiteo/ci/revert-python-version
Revert "CI: Pin Python 3.12.3 to workaround GHA issue"
2024-07-22 14:12:51 +02:00
Rémi Verschelde
3018178d3f
Merge pull request #94286 from aaronp64/flowcontainer_resort_crash
Avoid `FlowContainer` crash with `TextureRect` using EXPAND_FIT_* expand modes
2024-07-22 14:12:48 +02:00
Rémi Verschelde
a50fe87b89
Merge pull request #94078 from Repiteo/scons/msvc-flag-fix
SCons: Don't override cl flags on msvc
2024-07-22 14:12:45 +02:00
Rémi Verschelde
4bba82f7ea
Merge pull request #93120 from ditiem-games/master
Fix polyphonic audio streams with id > 1 cannot be stopped or changed (MSVC mis-optimization)
2024-07-22 14:12:41 +02:00
David Trallero
67ece3dc63
Fix polyphonic audio streams with id > 1 cannot be stopped or changed (MSVC mis-optimization) 2024-07-22 14:08:02 +02:00
Yuri Rubinsky
7c9afbc139 Fix warning printing for VisualShaderNodeTextureParameter 2024-07-22 11:22:27 +03:00
ajreckof
f46e94d460 Fix Object encoded as id in dictionnaries to be represented as int in the inspector. 2024-07-22 09:53:03 +02:00
bruvzg
93ccf8e9e4
[RTL] Fix text size rounding with MSDF fonts. 2024-07-22 07:48:29 +03:00
BlueCube3310
0ed45629fd Support 64-bit image sizes for VRAM compression 2024-07-21 21:06:14 +02:00
Malcolm Nixon
cb5cb3fae1 Change generated .gitignore to only exclude root android template folder. 2024-07-21 14:58:17 -04:00
kobewi
8f3d66eef1 Increase threshold for displaying scene group update progress 2024-07-21 19:45:09 +02:00
Hilderin
650981a080 Fix editor crash when editor settings resource is invalid 2024-07-21 13:26:15 -04:00
aaronp64
5682cc7b81 Avoid FlowContainer crash with TextureRect using EXPAND_FIT_* expand modes
When a FlowContainer had a TextureRect child using any of the EXPAND_FIT_* expand modes, it could crash when changing the FlowContainer's minimum size, or that of its children.  This was due to the TextureRect resizing in FlowContainer::_resort, updating its minimum size, and triggering another _resort.  If the TextureRect's minimum size changed in a way that caused any of the FlowContainer's children to be put on a different line, it could repeatedly cause _resort to be called again, moving the children back and forth between the old and new lines.

This change is for FlowContainer::_resort to give a warning for TextureRects with EXPAND_FIT_* expand modes when multiple lines are used, and just keep the TextureRect size the same in that case.  This is similar to the check added to AspectRatioContainer in godotengine#73396, but attempting to still support it in FlowContainer when possible.  In the case where the TextureRect is forced to stay the same size, there may be some overlap between the FlowContainer's children, but should no longer crash.
2024-07-21 13:09:22 -04:00
Alvin Wong
baf1cdabd1 End benchmark of Main::Setup properly before calling setup2 2024-07-21 21:46:01 +08:00
Hugo Locurcio
41b7196ad4
Fix incorrect Curve editor preview thumbnail scaling
`EDSCALE` scaling was applied even though it shouldn't be, which led
to pixelated thumbnails due to double scaling. For reference,
AudioStream previews don't use `EDSCALE` and look fine at any editor
scale (the editor itself already scales the thumbnail requests).
2024-07-21 05:59:01 +02:00
Kristoff
ebb80c6975 Update godot documentation contribution link
Hey there, first time contributing and I'm in the middle of reading the contribution best practice, so sorry for any mistakes in this pull request. 

When clicking the **Contributing section** link under the **Contributors guidelines** title, this linked to the Godot *page not found* link.

I changed the link from `https://docs.godotengine.org/en/latest/contributing/ways_to_contribute.html` to `https://docs.godotengine.org/en/latest/contributing/how_to_contribute.html`.

Now, when a user clicks the link, it will redirect them to the start of the contribution documentation.
2024-07-20 20:51:11 -06:00
Alexander Hartmann
78ede4f8b6 Fix glsl shader for Android Mali-GXXx GPUs and Vulkan API 1.3.xxx 2024-07-20 22:01:35 +02:00
Rémi Verschelde
e25f3c0d38
Merge pull request #94302 from TokageItLab/reset-after-change-animation-editor
Fix the behavior of after selecting animation on AnimationPlayerEditor to reset position to `0`
2024-07-20 21:43:50 +02:00
Rémi Verschelde
ab5ae8a188
Merge pull request #51372 from raulsntos/path-follow-3d-forward-tests
Fix PathFollow tests, Add PathFollow3D forward test
2024-07-20 21:43:42 +02:00