Commit graph

67919 commits

Author SHA1 Message Date
Rémi Verschelde
49700c335e
Merge pull request #97607 from pafuent/firsts_multiplayer_unit_tests
Add unit tests for `SceneMultiplayer`
2024-10-01 17:31:21 +02:00
Rémi Verschelde
6c133054f7
Merge pull request #97602 from patowen/fix-region-filter-clip-enabled
Fix `region_filter_clip_enabled` to avoid sprite bleeding for interpolated sprite sheets
2024-10-01 17:31:17 +02:00
Rémi Verschelde
3b17e3470a
Merge pull request #97532 from kisg/use_loader_library_check
GDExtension: Use loader to check if the library exists.
2024-10-01 17:31:14 +02:00
Rémi Verschelde
8aabdc457f
Merge pull request #97527 from timothyqiu/version-button
Unify editor version buttons
2024-10-01 17:31:10 +02:00
Rémi Verschelde
9c716408ef
Merge pull request #97512 from matthewestopinal/mestopinal-sky-tests
Add Unit Test cases for `Sky`
2024-10-01 17:31:07 +02:00
Rémi Verschelde
d66d056727
Merge pull request #97510 from kisg/vulkan_build_fix
Move Vulkan includes to a central `godot_vulkan.h` header
2024-10-01 17:31:03 +02:00
Rémi Verschelde
06a7cf7270
Merge pull request #97500 from m4gr3d/update_godot_plugin_to_use_javaclasswrapper
Remove the restriction on supported types for Godot Android plugins
2024-10-01 17:31:00 +02:00
Rémi Verschelde
97fa7187e1
Merge pull request #97353 from timothyqiu/tree-at
Add auto translate mode for cells in `Tree`
2024-10-01 17:30:56 +02:00
Rémi Verschelde
7d4e06e3a1
Merge pull request #97333 from bits-by-brandon/consolidate-window-remember-editor-settings
Consolidate remembering window settings into single config
2024-10-01 17:30:53 +02:00
Rémi Verschelde
70ac89e776
Merge pull request #96980 from m4gr3d/enable_legacy_build_customization_by_plugin
Expose `get_export_option_visibility` to editor plugins
2024-10-01 17:30:49 +02:00
Rémi Verschelde
60708ccbfe
Merge pull request #96542 from Maran23/inspector-scrolls-away
Fix Inspector may scroll away when editing a property that adds or removes sub properties
2024-10-01 17:30:45 +02:00
Rémi Verschelde
0fd62f7525
Merge pull request #96124 from AeioMuch/check_mouse_pos_inside_inspector
Prevent selecting the hovered node if the mouse is not inside the inspector dock
2024-10-01 17:30:41 +02:00
Rémi Verschelde
a7d0464e9e
Merge pull request #95931 from pafuent/adding_packet_peer_tests
Add unit tests for `PacketPeer`
2024-10-01 17:30:36 +02:00
Rémi Verschelde
d71d95448c
Merge pull request #95784 from pafuent/adding_stream_peer_buffer_tests
Add unit tests for `StreamPeer` and `StreamPeerBuffer`
2024-10-01 17:30:33 +02:00
Rémi Verschelde
53f30bfb7e
Merge pull request #95132 from LeonStansfield/gpu_particles_ui_consistency
GPU/CPU particle parameter list consistency changes
2024-10-01 17:30:29 +02:00
Rémi Verschelde
eaac033168
Merge pull request #94240 from MewPurPur/optimize-styleboxflat
Optimize `StyleBoxFlat.draw()`
2024-10-01 17:30:24 +02:00
Rémi Verschelde
41ffc696d2
Merge pull request #93449 from Calinou/basematerial3d-refraction-use-depth-comparison
Fix BaseMaterial3D refracting objects located in front of the material
2024-10-01 17:30:20 +02:00
Rémi Verschelde
cf1d910e10
Merge pull request #92237 from timothyqiu/url-fragment
String: Parse fragment from URL
2024-10-01 17:30:16 +02:00
Rémi Verschelde
8c16e67e4d
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
2024-10-01 17:30:13 +02:00
Rémi Verschelde
0628af4105
Merge pull request #80561 from HolonProduction/i-have-made-my-position-clear
Set position to zero when saving a positioned branch as scene
2024-10-01 17:30:04 +02:00
Pablo Andres Fuente
ff10dee946 Add unit tests for StreamPeer and StreamPeerBuffer
Partially fixes #43440
2024-10-01 12:25:11 -03:00
Pablo Andres Fuente
0a41a715da Add unit tests for PacketPeer
Partially fixes #43440
2024-10-01 12:19:41 -03:00
Brandon Chang
e0957c2fa3
Consolidate remembering window settings into single config 2024-10-01 16:35:36 +02:00
MATTHEW ESTOPINAL
136e4d5636
Add Unit Test cases for Sky 2024-10-01 15:54:53 +02:00
Haoyu Qiu
3c365a7fa5 Add auto translate mode for cells in Tree 2024-10-01 21:24:10 +08:00
HolonProduction
03c3c5f608 Set position to zero when saving a positioned branch as scene 2024-09-30 09:43:47 +02:00
Pablo Andres Fuente
e376c4f30c Add unit tests for SceneMultiplayer
This PR aims to help "fix" #43440

Also fixing a small typo on `SceneMultiplayer` docs.
2024-09-29 21:44:52 -03:00
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
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
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
Gergely Kis
8a41b1d90f GDExtension: Use loader to check if the library exists. 2024-09-29 07:38:45 +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