Commit graph

72004 commits

Author SHA1 Message Date
WinnerWind
6cb04c4984 Fix evaluation of line_background_color in minimap
Fixes #102844 by evaluating the line_background_color in a smarter way.

The previous check would cause black bars appearing when a background_color was set in the theme of a TextEdit or CodeEdit. This tackles that issue, by checking if line_background_color is set at all, and does not set alpha if no color is set.
2025-03-02 15:22:48 +05:30
Haoyu Qiu
7c8f81f1d0 Set editor's translation domain at root node 2025-03-02 08:52:27 +08:00
Hilderin
847c2577ab Fix autoloaded scene loses their built-in script when upgrading from 4.3 to 4.4 2025-03-01 12:33:14 -05:00
Thaddeus Crews
2949ab0707
SCons: Implement minor fixes 2025-03-01 08:53:53 -06:00
Alex
1c02316365 Fix crash after changing device language
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.
2025-03-01 02:42:56 +01:00
Fredia Huya-Kouadio
bea6472ea4 Fix Android mouse capture issues
- Allow mouse capture to be enabled in `_ready`
- Update the input handler logic to avoid dropping mouse captured motion events
2025-02-28 13:54:30 -08:00
kit
b7a8138907 Fix TextEdit scrolls wrong on text selection 2025-02-28 13:19:46 -05:00
Bernat Arlandis
bd3a30649b VideoStreamPlayer: stop video on exit tree 2025-02-28 12:58:52 +01:00
Haoyu Qiu
a79076c5b1 Fix various typos in the class reference 2025-02-28 17:58:06 +08:00
Pāvels Nadtočajevs
e76a8b0f27 [Android] Skip non-existing system font files. 2025-02-28 07:47:52 +02:00
Orange Anvil Games
0c57232f78 fix voxelizer normals 2025-02-28 02:06:12 +01:00
Rémi Verschelde
15ff450680
Merge pull request #103371 from m4gr3d/add_checks_for_game_menu_utils_jni
Add checks to prevent crashes when accessing the GameMenu api
2025-02-28 01:12:11 +01:00
风青山
62aa4a6f9e
Make EditorProperty and its child EditorProperties behave more like sibling nodes
Let `EditorProperty::gui_input()` no longer handle mouse events that
occur in the child EditorProperty rect.
2025-02-28 07:40:04 +08:00
yesfish
93bc18f2b0 Fix 2D instance params crashing using outside of main() 2025-02-27 22:10:56 +00:00
Grandro
b214cdd252 Make ViewportTexture path be updated relative to its local scene instead of the Viewport owner. 2025-02-27 22:44:41 +01:00
Fredia Huya-Kouadio
7fb37a088b Add checks to prevent crashes when accessing the GameMenu api
This should address crashes reported on the Play store. Note that those crashes lack debug symbols which reduces our ability to narrow down the exact cause of the crash. We aim to resolve that in Godot 4.5.
2025-02-27 13:20:23 -08:00
Rémi Verschelde
33a15a12b1
Merge pull request #103370 from m4gr3d/inform_android_sensors_mobile_vr
Inform that Android sensors must be enabled for MobileVR support
2025-02-27 22:17:07 +01:00
Rémi Verschelde
c01b9de703
Merge pull request #103364 from akien-mga/input-deadzone-ui-0.5
Input: Change default deadzone back to 0.5 for `ui_*` actions and axis `pressed` state
2025-02-27 22:17:01 +01:00
Fredia Huya-Kouadio
33a235beb8 Inform that Android sensors must be enabled for MobileVR support 2025-02-27 12:53:57 -08:00
Rémi Verschelde
a9c5c4db71
Merge pull request #103201 from beicause/shaders-only-convert-source-color-linear
Shaders: Only convert default value to linear color if type hint is `source_color`
2025-02-27 19:34:12 +01:00
Rémi Verschelde
1af42620fa
Merge pull request #103362 from bruvzg/gds_get_set_bchk
Add bound checks to `Array`/`Packed*Array` variant call `get` and `set` methods.
2025-02-27 18:50:57 +01:00
Evan Todd
87efa4d210 Fix particle jitter when scene tree is paused. 2025-02-27 08:40:40 -08:00
Rémi Verschelde
672fe2487f
Input: Change default deadzone back to 0.5 for ui_* actions and axis pressed state
Fixes #103360.
Partial revert of changes in #97281 and #99135.
2025-02-27 17:30:48 +01:00
Pāvels Nadtočajevs
f9c7d348c3 Add bound checks to Array/Packed*Array variant call get and set methods. 2025-02-27 17:54:40 +02:00
Rémi Verschelde
53faed5351
Merge pull request #103339 from Hilderin/adjustment-error-message-embedded-game
Replace error to info messages for embedded game
2025-02-27 12:40:39 +01:00
Rémi Verschelde
dd43d401ec
Merge pull request #103338 from dsnopek/openxr-passthrough-emulation-wins
OpenXR: Emulated alpha blend mode should override the real blend mode
2025-02-27 12:40:36 +01:00
Rémi Verschelde
9014202366
Merge pull request #103337 from stuartcarnie/fix_ios_options
Metal: Fix SPIR-V → MSL compilation on iOS targets
2025-02-27 12:40:33 +01:00
Rémi Verschelde
bb88938596
Merge pull request #103354 from bruvzg/gproc
Add `(void *)` cast directly to `GetProcAddress` calls.
2025-02-27 12:40:27 +01:00
Pāvels Nadtočajevs
ddd807ff7d Add (void *) cast directly to GetProcAddress calls. 2025-02-27 12:30:04 +02:00
Hilderin
0c384e7217 Replace error to info messages for embedded game 2025-02-26 19:32:25 -05:00
David Snopek
fd622afb1d OpenXR: Emulated alpha blend mode should override the real blend mode 2025-02-26 17:35:03 -06:00
Stuart Carnie
5312811c4d Metal: Fix SPIR-V → MSL compilation on iOS targets 2025-02-27 10:22:39 +11:00
Rémi Verschelde
dbdd8a2db9
PackedScene: Use ObjectID for DeferredNodePathProperties base
Help do proper error handling and avoid a crash.

Works around #103263.
2025-02-26 14:40:14 +01:00
Rémi Verschelde
3ef055fecb
Update AUTHORS and DONORS list 2025-02-26 12:54:25 +01:00
风青山
d0437d5052
Revert "Fix inspector jumping when gaining focus"
This reverts commit 9226424401.
2025-02-26 18:18:30 +08:00
风青山
a375e77b85
Revert "Fix inspector follow focus when child is focused"
This reverts commit 286d3ae415.
2025-02-26 18:18:28 +08:00
dugramen
4952e078e4 fix vbox separation in sections with PROPERTY_USAGE_ARRAY 2025-02-25 21:50:52 -05:00
OhiraKyou
8df75953ec Fix GPU particles not emitting at some amounts when scale curve is zero 2025-02-25 19:36:08 -05:00
Rémi Verschelde
01545c995b
Merge pull request #103298 from bruvzg/comque_race
Use atomic flag to prevent `flush_if_pending` from reading unlocked `command_mem`.
2025-02-26 00:27:55 +01:00
Rémi Verschelde
a398f4f893
Merge pull request #103303 from aaronfranke/fix-compile-arm64-linux
Fix compiling on arm64 Linux with GCC
2025-02-26 00:23:55 +01:00
Rémi Verschelde
bb634fd9e4
Merge pull request #103302 from dsnopek/missing-method-flag
Bind new core `METHOD_FLAG_VIRTUAL_REQUIRED` bitfield
2025-02-26 00:17:56 +01:00
Rémi Verschelde
bc0d58b07e
i18n: Sync translations with Weblate 2025-02-26 00:05:03 +01:00
Aaron Franke
0528d92d73
Fix compiling on arm64 Linux 2025-02-25 14:47:29 -08:00
David Snopek
e0370b9596 Bind new core METHOD_FLAG_VIRTUAL_REQUIRED bitfield 2025-02-25 16:46:50 -06:00
Marc Garcia Puig
57d8ef5d23 Disabled depth test for line and handle materials 2025-02-25 22:56:56 +01:00
Pāvels Nadtočajevs
bdb5d522d1 Use atomic flag to prevent flush_if_pending from reading unlocked command_mem. 2025-02-25 23:26:43 +02:00
Rémi Verschelde
e7ac8e45a3
Merge pull request #103296 from dsnopek/texture-create-from-native-handle-right-rid-type
`texture_create_from_native_handle()` should return `RID` for texture from `RenderingServer`, not `RenderingDevice`
2025-02-25 21:59:24 +01:00
David Snopek
a285d1aa98 texture_create_from_native_handle() should return RID for texture from RenderingServer, not RenderingDevice 2025-02-25 14:20:33 -06:00
Thaddeus Crews
6ea7798789
Merge pull request #103286 from AThousandShips/fix_windows_display_2
[Windows] Fix unreachable code in `DisplayServer`
2025-02-25 12:42:39 -06:00
AThousandShips
8ea725a181
[Windows] Fix unreachable code in DisplayServer 2025-02-25 17:37:02 +01:00