Fredia Huya-Kouadio
7a909896f7
Expose get_export_option_visibility
to editor plugins
2024-09-29 15:05:05 -07:00
Fredia Huya-Kouadio
4587d14796
Add logic to automatically pick up jar/aar library dependencies in the res://addons
directory
2024-09-29 14:32:10 -07:00
Fredia Huya-Kouadio
5e0805a813
Provide access to the Android runtime to GDScript
...
Thanks for the fix of `JavaClassWrapper` in https://github.com/godotengine/godot/pull/96182 and the changes in the previous commit, this introduces an `AndroidRuntime` plugin which provides GDScript access to the Android runtime capabilities.
This allows developers to get access to various Android capabilities without the need of a plugin.
For example, the following logic can be used to check whether the device supports vibration:
```
var android_runtime = Engine.get_singleton("AndroidRuntime")
if android_runtime:
print("Checking if the device supports vibration")
var vibrator_service = android_runtime.getApplicationContext().getSystemService("vibrator")
if vibrator_service:
if vibrator_service.hasVibrator():
print("Vibration is supported on device!")
else:
printerr("Vibration is not supported on device")
else:
printerr("Unable to retrieve the vibrator service")
else:
printerr("Couldn't find AndroidRuntime singleton")
```
2024-09-29 14:32:10 -07:00
Fredia Huya-Kouadio
07cae26abe
Remove the restriction on supported types for Godot Android plugins
...
The Android plugin implementation is updated to use `JavaClassWrapper` which was fixed in https://github.com/godotengine/godot/pull/96182 , thus removing the limitation on supported types.
Note that `JavaClassWrapper` has also been updated in order to only provide access to public methods and constructor to GDScript.
2024-09-29 14:32:10 -07:00
Rémi Verschelde
e3213aaef5
Merge pull request #97622 from Repiteo/scons/msvc-prerelease-fix
...
SCons: Include pre-release in MSVC detection
2024-09-29 21:06:40 +02:00
Thaddeus Crews
1d3c4e192c
SCons: Include pre-release in MSVC detection
2024-09-29 11:00:17 -05:00
Gergely Kis
146ba4106f
Move Vulkan includes to a central godot_vulkan.h header
...
Also fixes Vulkan build problem with recent Clang.
2024-09-29 17:53:18 +02:00
Haoyu Qiu
210810bacb
Fix atr_n()
behavior when auto translation is disabled
2024-09-29 22:59:33 +08:00
Rémi Verschelde
72cff2ed59
Merge pull request #97618 from Repiteo/scons/decode-fix
...
SCons: Fix MSVC decode error
2024-09-29 16:51:14 +02:00
Thaddeus Crews
9a8fcd5263
SCons: Fix MSVC decode error
2024-09-29 09:02:13 -05:00
Patrick Owen
d720eb80e1
Clamp UV-coordinates to centers of outermost texels when configured to do so
...
In addition, fix region_filter_clip_enabled documentation to be consistent with AtlasTexture.xml, since that is the option whose behavior was fixed
2024-09-29 05:57:19 -04:00
clayjohn
4f674154d9
Improve the look of radiance map in Compatibility backend
2024-09-29 01:33:14 -07:00
chocola-mint
ed13a840fa
Add markers to animation
2024-09-29 17:27:36 +09:00
BlueCube3310
529897cb0c
Update bcdec to latest version
2024-09-29 10:25:48 +02:00
Gergely Kis
8a41b1d90f
GDExtension: Use loader to check if the library exists.
2024-09-29 07:38:45 +02:00
Hugo Locurcio
c1dc59f713
Disable unused Basis Universal features to reduce binary size
2024-09-29 02:29:27 +02:00
Rémi Verschelde
1fc8208765
Merge pull request #97589 from pkowal1982/fix_97454
...
Fix error message on startup when camera is busy
2024-09-29 00:47:15 +02:00
Rémi Verschelde
0e2a76d57f
Merge pull request #97547 from lalitshankarchowdhury/audio-code-fix
...
Vorbis: Remove redundant bounds check
2024-09-29 00:47:12 +02:00
Rémi Verschelde
99aec99421
Merge pull request #97534 from j20001970/camerafeed-setter
...
Expose CameraFeed setters
2024-09-29 00:47:09 +02:00
Rémi Verschelde
a53d0a36e4
Merge pull request #97503 from Repiteo/ci/merge_queue
...
CI: Support merge queues with default runner
2024-09-29 00:47:05 +02:00
Rémi Verschelde
422306ef87
Merge pull request #97325 from BlueCube3310/bcdec
...
Replace squish with bcdec for BC decompression
2024-09-29 00:47:02 +02:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
...
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Rémi Verschelde
a11f970f91
Merge pull request #96290 from Macksaur/export-action-callable
...
Add `@export_tool_button` annotation for easily creating inspector buttons.
2024-09-29 00:46:55 +02:00
Rémi Verschelde
d6c0509b5a
Merge pull request #91069 from Repiteo/scons/msvc-detect-compiler
...
SCons: Detect MSVC compiler version
2024-09-29 00:46:52 +02:00
Rémi Verschelde
285ebed828
Merge pull request #83360 from ywmaa/vertex_shading
...
Implement vertex shading
2024-09-29 00:46:48 +02:00
Rémi Verschelde
e7a9104f37
Merge pull request #97554 from clayjohn/batching-uniform-sets
...
Combine texture and instance data into one uniform set in the 2D renderer
2024-09-29 00:46:44 +02:00
ywmaa
0a9ad8f9de
Implement vertex shading
...
This adds support in all backends, but the Compatibility renderer works the best.
Mobile and Forward+ can only support one directional light shader (the first in the tree)
While the Compatibility renderer supports any number of shadows.
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-09-29 00:36:09 +02:00
Hugo Locurcio
0807d60d68
Check RenderingDevice availability to display LightmapGI configuration warnings
...
We can now check whether RenderingDevice can be created (which is
not guaranteed when using the Compatibility rendering method),
so the warning can be displayed only when relevant.
This also disables the Bake Lightmaps button with a tooltip if baking
is not available.
2024-09-28 23:56:47 +02:00
A Thousand Ships
75cb3539b1
[Core] Add missing HashMapComparatorDefault
cases
...
Added for:
* `AABB`
* `Basis`
* `Color`
* `Plane`
* `Projection`
* `Quaternion`
* `Rect2`
* `Transform2D`
* `Transform3D`
* `Vector4`
Ensures these handles `NaN` correctly
2024-09-28 17:58:49 +02:00
Rémi Verschelde
b2b13d46c2
Merge pull request #97581 from AThousandShips/owners_fix_3
...
Add a few missing CODEOWNERS
2024-09-28 17:42:38 +02:00
Haoyu Qiu
38579a1e84
Unify editor version buttons
2024-09-28 23:26:23 +08:00
Paweł
0178bb88e0
Fix error message on startup when camera is busy
2024-09-28 17:00:29 +02:00
A Thousand Ships
ae45d19ad6
Add a few missing CODEOWNERS
2024-09-28 11:58:43 +02:00
MewPurPur
71ac6b7476
Optimize StyleBoxFlat.draw()
2024-09-28 12:37:31 +03:00
Yevhen Babiichuk (DustDFG)
1abcfdda85
Replace comments with printed warning for Metal on x86_64
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-09-28 08:28:33 +03:00
Danil Alexeev
85dfd89653
Add @export_tool_button
annotation for easily creating inspector buttons
...
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
clayjohn
4d635b7a3a
Combine texture and instance data into one uniform set in the 2D renderer
...
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2024-09-27 11:05:46 -07:00
Yevhen Babiichuk (DustDFG)
4c5094a2fe
Use dedicated print_error
method for colored output for unsupported drivers
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-09-27 20:30:51 +03:00
Thaddeus Crews
1043c00137
SCons: Detect msvc compiler version
...
• C standard now passed on msvc if the version is supported
2024-09-27 11:16:33 -05:00
Lalit Shankar Chowdhury
2caaa2cae5
Vorbis: Remove redundant bounds check
2024-09-27 21:04:46 +05:30
kobewi
66d2b0fc6a
Fix closing Theme Editor not actually closing it
2024-09-27 17:08:20 +02:00
Rémi Verschelde
76a135926a
Merge pull request #97517 from syntaxerror247/android-themed-icon
...
Add support for Android Themed Icons (monochrome)
2024-09-27 14:57:34 +02:00
Jason Kuo
38d7ec1640
Expose CameraFeed setters
2024-09-27 20:07:36 +08:00
Anish Mishra
dbcc7f3051
Add support for Android Themed Icons (monochrome)
2024-09-27 13:56:34 +02:00
Rémi Verschelde
ac3eadf976
Merge pull request #97524 from BastiaanOlij/openxr_1141
...
Update thirdparty OpenXR to 1.1.41
2024-09-27 13:53:41 +02:00
Rémi Verschelde
ab1f55e738
Merge pull request #97489 from TokageItLab/deferred-skin-registration
...
Move skin registration process into deferred on ready
2024-09-27 13:53:38 +02:00
Rémi Verschelde
58ec7a95a4
Merge pull request #97477 from m4gr3d/update_xr_editor_excluded_permissions
...
[XR Editor] Update the set of excluded permissions
2024-09-27 13:53:33 +02:00
Rémi Verschelde
7b393c6cee
Merge pull request #97453 from Calinou/project-manager-enter-accepts-dialog
...
Make pressing Enter confirm project creation/import in the project manager
2024-09-27 13:53:29 +02:00
Rémi Verschelde
b537d2f15c
Merge pull request #97450 from megalon/alpha_curve-docs-fix
...
Update notes for Color Curve members in ParticleProcessMaterial
2024-09-27 13:53:26 +02:00
Rémi Verschelde
61fce325ca
Merge pull request #96548 from timothyqiu/item-list-signals
...
Improve documentation of some `ItemList` signals
2024-09-27 13:53:22 +02:00