Gergely Kis
723878bbab
StringName: Use inline static field definitions
...
Before this change StringName used regular static field
definitions for its mutex, _table, configured and debug_stringname
fields.
Since in the general case the ordering of the static variable and field
initialization and destruction is undefined, it was possible that
the destruction of StringName's static fields happened prior to
the destruction of statically allocated StringName instances.
By changing the static field definitions to inline in string_name.h,
the C++17 standard guarantees the correct initialization and destruction
ordering.
2024-07-24 02:40:36 +02:00
Rémi Verschelde
8e36f98ea5
Merge pull request #94662 from akien-mga/android-editor-some-visible-progress
...
Android Editor: Make progress dialog visible again
2024-07-23 18:22:51 +02:00
Rémi Verschelde
2b827f6d5f
Android Editor: Make progress dialog visible again
2024-07-23 17:36:07 +02:00
Rémi Verschelde
18c1c25ca0
Merge pull request #94652 from shana/fix-header-guards
...
Fix `header_guards.py` so it detects the copyright header properly.
2024-07-23 16:19:15 +02:00
Rémi Verschelde
e4f7b69470
Merge pull request #94656 from BlueCube3310/cubemap-layers-retrieve-fix
...
RenderingDevice: Fix getting cubemap layer data
2024-07-23 15:55:53 +02:00
Rémi Verschelde
9b7f5f5fa5
Merge pull request #94655 from bruvzg/ffp-contract-2
...
Disable FP contraction.
2024-07-23 15:55:50 +02:00
Rémi Verschelde
29e1bdee2b
Merge pull request #94653 from mihe/bind-physics-state-sync
...
Bind `PhysicsServer*D::body_set_state_sync_callback`
2024-07-23 15:55:46 +02:00
Rémi Verschelde
432d15e3f1
Merge pull request #94649 from AeioMuch/fix_wrong_selection
...
Fix node gets wrongly selected after moving another node in the tree
2024-07-23 15:55:42 +02:00
Rémi Verschelde
adf58849c6
Merge pull request #94645 from jsjtxietian/lightmap-override
...
Fix newly baked lightmap can't override previously baked at same path
2024-07-23 15:55:39 +02:00
Rémi Verschelde
05504ebf27
Merge pull request #94439 from kitbdev/fix-reopen-hscroll
...
Fix ScriptEditor scrolling horizontally when reopening script
2024-07-23 15:55:32 +02:00
AeioMuch
393fb68aea
Fix node gets wrongly selected after moving another node in the tree
2024-07-23 15:16:45 +02:00
BlueCube3310
741bb152ae
RenderingDevice: Fix getting cubemap data
2024-07-23 13:44:28 +02:00
bruvzg
52a2836861
Disable FP contraction.
2024-07-23 14:33:51 +03:00
Mikael Hermansson
a559a1c6d8
Bind `PhysicsServer*D::body_set_state_sync_callback`
2024-07-23 13:30:44 +02:00
Rémi Verschelde
f6c7b00a41
Merge pull request #94635 from dalexeev/gds-fix-false-positive-enum-without-default
...
GDScript: Fix false positive cases of `ENUM_VARIABLE_WITHOUT_DEFAULT`
2024-07-23 13:08:21 +02:00
Rémi Verschelde
ad1955a63d
Merge pull request #94628 from Chaosus/rendering_fix_crash
...
Fix crash when assigning more textures than expected to texture array
2024-07-23 13:08:18 +02:00
Rémi Verschelde
23a1104d78
Merge pull request #94610 from ajreckof/Fix-Object-encoded-as-id-in-dictionnaries-to-be-represented-as-int-in-the-inspector-
...
Fix Object encoded as id in dictionaries to be represented as int in the inspector.
2024-07-23 13:08:15 +02:00
Rémi Verschelde
6a79d848a8
Merge pull request #94564 from rothej/fix-94183
...
Fix FOG shader issue in Compatibility mode
2024-07-23 13:08:12 +02:00
Rémi Verschelde
87d498a357
Merge pull request #94556 from cosformula/fix-directional-shadow
...
GLES3: Fix directional shadow on Metal ANGLE
2024-07-23 13:08:08 +02:00
Rémi Verschelde
307efbadf8
Merge pull request #94420 from TokageItLab/player-seek-internal
...
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-23 13:08:05 +02:00
Rémi Verschelde
add558f3bc
Merge pull request #94304 from TokageItLab/fix-end-of-statemachine
...
Fix StateMachine process when transition to end & optimize StringName
2024-07-23 13:07:59 +02:00
Andreia Gaita
09f2b9513c
Fix header_guards so it detects the copyright header properly.
...
Having hardcoded offsets is a problem if the copyright header ever changes
or when running on forks with different copyright header formats.
2024-07-23 12:19:20 +02:00
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
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