Commit Graph

65959 Commits

Author SHA1 Message Date
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
Raul Santos c3a054fa0b
Fix PathFollow tests, Add forward vector test to PathFollow3D 2024-07-20 19:09:42 +02:00
Rémi Verschelde a48b99af8d
Merge pull request #94557 from Riteo/they-just-keep-coming
Wayland: Fix error spam when interacting with decorations
2024-07-20 16:07:46 +02:00
Rémi Verschelde e3b852559f
Merge pull request #94547 from clayjohn/DOCS-shadow_mesh
Add note to `shadow_mesh` docs to warn about improper usage
2024-07-20 16:07:43 +02:00
Rémi Verschelde cd0731d7a6
Merge pull request #94541 from krdluzni/anim_player_queue_doc
Clarify documentation for `AnimationPlayer.queue`
2024-07-20 16:07:39 +02:00
Rémi Verschelde cd74d778d6
Merge pull request #94535 from Garteal/sdfgi-data-nullptr
SDFGI: Fix crash if `update_data` is nullptr
2024-07-20 16:07:36 +02:00
Rémi Verschelde 6621d8e8cc
Merge pull request #93931 from /fix-compatibility-depth_prepass_alpha 2024-07-20 16:07:30 +02:00
Riteo e307fd60d8 Wayland: Fix error spam when interacting with decorations
Also tried to make tablet handling a bit tidier (less whitespace).

That said I'll uniform tablet handling better once we're back in the dev
cycle.
2024-07-20 03:46:35 +02:00
David Snopek 22a6303fa0 OpenXR: Fix enabling passthrough via environment blend mode in project settings 2024-07-19 19:04:51 -05:00
clayjohn cacb9d139e Add note to shadow_mesh docs to warn about improper usage 2024-07-19 13:26:51 -07:00
krdluzni 5626851f40 clarify animation queuing documentation 2024-07-19 12:36:25 -04:00
Garteal 2606831d71 SDFGI: fix crash if update_data is nullptr 2024-07-19 18:27:32 +02:00
Rémi Verschelde a0943acda1
Merge pull request #94243 from Calinou/image-fix-large-cowdata-size-crash
Fix Image CowData crash when baking large lightmaps
2024-07-19 17:31:49 +02:00
Rémi Verschelde cca22015d5
Merge pull request #94113 from jsjtxietian/project-dialog
Make `fdialog_project` up to become the child of `ProjectManager` instead of child of `ProjectDialog`
2024-07-19 17:31:45 +02:00