Commit Graph

65862 Commits

Author SHA1 Message Date
Rémi Verschelde
8e47aafa08
Merge pull request #94812 from clayjohn/SHADER-normal-roughness
Emit `normal_roughness` compatibility code in custom functions
2024-07-28 17:46:45 +02:00
Rémi Verschelde
8239eac5d9
Merge pull request #94809 from ChrisBase/fix_keytool_for_android_export_not_found
Fix Android export failing with custom keystores and no JDK setup in the OS environment
2024-07-28 17:46:42 +02:00
Rémi Verschelde
e773f8c3ba
Merge pull request #94800 from adamscott/fix-sample-playback-list-typo
Fix typo that prevented samples finishing
2024-07-28 17:46:39 +02:00
Rémi Verschelde
1322fd3a87
Merge pull request #94745 from anniryynanen/shortcut-input-too
Update documentation for places to receive InputEventShortcut
2024-07-28 17:46:35 +02:00
Rémi Verschelde
1d8373a300
Merge pull request #92859 from Summersay415/do-not-strip
Android: Change the way `doNotStrip` is set
2024-07-28 17:46:31 +02:00
Rémi Verschelde
1ad905c027
Merge pull request #85654 from Listwon/quit-to-project-list-wipe-fix-40968
Defer creating new editor process in "Quit to Project List" just like in "Reload Current Project"
2024-07-28 17:46:23 +02:00
Chris
7afefe6469 Fixed Android export failing when no JDK is setup in the OS environment and custom keystores have been set in the export dialog. 2024-07-27 01:33:59 +02:00
clayjohn
ba3457dfff Emit normal_roughness compatibility code in custom functions 2024-07-26 10:45:36 -07:00
Adam Scott
7802c361b7
Fix typo that prevented samples finishing 2024-07-26 09:56:44 -04:00
Anni Ryynänen
a56391be99
Update documentation for places to receive InputEventShortcut 2024-07-26 16:56:27 +03:00
Rémi Verschelde
607b230ffe
Merge pull request #94789 from Faless/web/fix_thread_cc_with_workaround
[Web] Fix closure compiler builds, enable it in CI.
2024-07-26 13:44:25 +02:00
Rémi Verschelde
c98a7060f0
Merge pull request #94787 from jsjtxietian/gdinc_-
Update shader list after saving `gdshaderinc` file
2024-07-26 13:44:22 +02:00
Rémi Verschelde
39377c2d30
Merge pull request #94774 from Riteo/thats-probably-my-biggest-oopsie-yet
Apply `prefer_wayland` only if no display driver is set
2024-07-26 13:44:19 +02:00
Rémi Verschelde
c7f862d90d
Merge pull request #94738 from TokageItLab/blendshape-edit
Fix BlendShapeTrack insertion not working
2024-07-26 13:44:16 +02:00
Rémi Verschelde
44342c385c
Merge pull request #94735 from aitorciki/nvdrs-memset-initialization
[Windows] Use default aggregate initialization for NVAPI settings
2024-07-26 13:44:13 +02:00
Rémi Verschelde
b2facc018a
Merge pull request #94730 from dalexeev/gds-fix-while-locals-clearing
GDScript: Fix locals clearing after exiting `while` block
2024-07-26 13:44:09 +02:00
Rémi Verschelde
c331fb0966
Merge pull request #94719 from thadguidry/improve-SceneTree-docs
Add link to notification docs in SceneTree docs
2024-07-26 13:44:06 +02:00
Rémi Verschelde
13c6c0cdb7
Merge pull request #94706 from alvinhochun/window-set-transient-parent-on-create
Pass window exclusive and transient properties for subwindow creation
2024-07-26 13:44:03 +02:00
Rémi Verschelde
6a1ac99a98
Merge pull request #94387 from mihe/fix-3d-selection-list
Fix "selectable nodes at position clicked" feature in 3D editor
2024-07-26 13:44:01 +02:00
Rémi Verschelde
a50cead712
Merge pull request #90792 from jsjtxietian/shader-crash
Fix editor crash when shader has incorrect global array declaration
2024-07-26 13:43:57 +02:00
Rémi Verschelde
7805220fef
Merge pull request #90134 from AThousandShips/construct_fix
[Core] Fix `Variant::construct` of `Object`
2024-07-26 13:43:54 +02:00
Rémi Verschelde
2a61a2fa2f
Merge pull request #89274 from 0x0ACB/unchecked_cast
Fix use after free in `GDScriptLanguage::debug_get_globals`
2024-07-26 13:43:48 +02:00
Fabio Alessandrelli
96feb924e8 [Web] Enable the closure compiler in CI
Also fixes some JSDoc annotations in GodotAudio
2024-07-26 13:27:52 +02:00
Thad Guidry
1ea55ae075
Add link to notification docs in SceneTree docs 2024-07-26 13:26:26 +02:00
Fabio Alessandrelli
26f17c33a5 [Web] Add workaround for missing export in threaded builds
The offending symbol gets stripped away by wasm-dce but it's used on the
JavaScript side and causes and undefined symbol which also causes the
closure compiler to throw an error.
2024-07-26 12:28:36 +02:00
jsjtxietian
3be7aaa624 Update shader list after save gdshaderinc file 2024-07-26 18:07:00 +08:00
Riteo
755dbde873 Apply prefer_wayland only if no display driver is set
Before this patch any other display driver preference would be
overridden.
2024-07-26 07:29:34 +02:00
jsjtxietian
38fad35356 Fix editor crash when shader has incorrect global array declaration 2024-07-26 11:53:11 +08:00
Silc Lizard (Tokage) Renew
b075eba68c Fix BlendShapeTrack insertion totally not working 2024-07-25 23:52:31 +09:00
Aitor Guevara
21f3e69a24 [Windows] Use default aggregate initialization for NVAPI settings
Using the member initialization encouraged in NVAPI documentation for
NVDRS_SETTING results in builds enabling `dev_mode` breaking. Default
aggregate initialization results in a clean build though.
2024-07-25 14:41:46 +02:00
A Thousand Ships
8f3e2c96eb
[Core] Fix Variant::construct of Object
Variant type was not updated correctly causing leaks in ref-counted
2024-07-25 12:25:29 +02:00
alvinhochun
24e02d56cb
Remove unneeded call in DisplayServerX11
X11 does not need setting exclusive flag (it is not implemented).

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-07-25 17:11:15 +08:00
Danil Alexeev
5350e1beaa
GDScript: Fix locals clearing after exiting while block 2024-07-25 12:10:37 +03:00
Rémi Verschelde
e343dbbcc1
Merge pull request #94723 from akien-mga/revert-94617
Revert "GDScript: Fix common mismatched external parser errors"
2024-07-25 10:22:12 +02:00
Rémi Verschelde
0b26cc1c39
Merge pull request #94722 from TokageItLab/total-weight-vector-type
AnimationMixer: Fix `processed_hashes` type to `Animation::TypeHash` instead of `int`
2024-07-25 10:22:06 +02:00
Silc Lizard (Tokage) Renew
7c4bc0a378 Fix processed_hashes type to Animation::TypeHash from int 2024-07-25 16:21:59 +09:00
Rémi Verschelde
f2918c73cf
Revert "GDScript: Fix common mismatched external parser errors"
This reverts commit c75225ffb2.

This caused a crashing regression for multiple users:
https://github.com/godotengine/godot/pull/94617#issuecomment-2247868580
2024-07-25 09:20:23 +02:00
Rémi Verschelde
f0e20efb33
Merge pull request #94716 from TokageItLab/fix-total-weight
Fix total weight calculation to separate track types
2024-07-25 09:15:15 +02:00
Rémi Verschelde
e1cf9fddba
Merge pull request #94702 from Calinou/doc-editorsettings-update-spinner-no-visible-redraw
Document update spinner never displaying with `--debug-canvas-item-redraw`
2024-07-25 09:15:12 +02:00
Rémi Verschelde
73bcfec23a
Merge pull request #94621 from Giganzo/scroll-container-rtl-fix
ScrollContainer: Fix RTL on follow focus
2024-07-25 09:15:06 +02:00
Silc Lizard (Tokage) Renew
04ac6a74df Fix total weight calculation to separate track types 2024-07-25 11:23:15 +09:00
Rémi Verschelde
2f2d1a7e68
Merge pull request #94708 from BlueCube3310/rd-cubemap-layer-amount-correct
RenderingDevice: Use correct layer count for Cubemaps during boundary checks
2024-07-24 22:58:03 +02:00
Rémi Verschelde
ab80e564b2
Merge pull request #94661 from m4gr3d/fix_android_render_thread_cleanup
Fix the cleanup logic for the Android render thread
2024-07-24 22:57:06 +02:00
Rémi Verschelde
d3427dcd0f
Merge pull request #94707 from clayjohn/GLES3-linear-modulate
Remove linearization of canvas modulate in GLES3 backend
2024-07-24 21:13:16 +02:00
BlueCube3310
eb3b217777 RenderingDevice: Use the correct amount of layers for Cubemaps for boundary checks 2024-07-24 20:26:46 +02:00
clayjohn
7eac9e855b Remove linearization of canvas modulate in GLES3 backend
The GLES3 renderer is always in sRGB space, even when using an HDR format
2024-07-24 10:27:25 -07:00
Fredia Huya-Kouadio
4d0da74014 Fix the cleanup logic for the Android render thread
On Android the exit logic goes through `Godot#onDestroy()` who attempts to cleanup the engine using the following code:

```
runOnRenderThread {
	GodotLib.ondestroy()
	forceQuit()
}
```

The issue however is that by the time we ran this code, the render thread has already been paused (but not yet destroyed), and thus `GodotLib.ondestroy()` and `forceQuit()` which are scheduled on the render thread are not executed.

To address this, we instead explicitly request the render thread to exit and block until it does. As part of it exit logic, the render thread has been updated to properly destroy and clean the native instance of the Godot engine, resolving the issue.
2024-07-24 10:17:46 -07:00
Alvin Wong
97aa278edb Pass window exclusive and transient properties for subwindow creation
On Windows this allows to avoid having to change the owner of the window
after it has been created, which in rare circumstances may cause the
window to bug out.
2024-07-25 00:27:27 +08:00
Hugo Locurcio
905e060777
Document update spinner never displaying with --debug-canvas-item-redraw 2024-07-24 18:09:08 +02:00
Rémi Verschelde
91eb688e17
Bump version to 4.3-rc 2024-07-24 13:04:22 +02:00