Commit graph

67149 commits

Author SHA1 Message Date
Rémi Verschelde
fe15f47e22
Merge pull request #95929 from BastiaanOlij/openxr_fix_tracking_bit
OpenXR: Check correct status bit for hand tracking
2024-08-25 22:24:21 +02:00
Rémi Verschelde
1d3bdfcd06
Merge pull request #95862 from adamscott/fix-pitch-scale-before-play
Honor `pitch_scale` value before playing audio sample
2024-08-25 22:24:17 +02:00
Rémi Verschelde
f0d297d059
Merge pull request #95594 from aaronfranke/extension-api-validation
Update expected API validation files for the releases of Godot 4.2 & 4.3
2024-08-25 22:24:14 +02:00
Rémi Verschelde
5beb4ee691
Merge pull request #92684 from smix8/mesh_conv_dialog
Add confirm dialog for render mesh to navigation mesh conversion
2024-08-25 22:24:10 +02:00
Rémi Verschelde
8bb5db6ebd
Merge pull request #96085 from bruvzg/mingw_rpcndr_ver
[Windows] Move `__REQUIRED_RPCNDR_H_VERSION__` to the header.
2024-08-25 22:24:05 +02:00
bruvzg
a07f92a81c [Windows] Move __REQUIRED_RPCNDR_H_VERSION__ to the header. 2024-08-25 22:57:35 +03:00
bruvzg
f8a6c0e8ab
Enable fallback from ANGLE to native and improve ANGLE error messages. 2024-08-25 21:19:54 +03:00
Rémi Verschelde
bc2d0e9f39
Merge pull request #96067 from SaracenOne/advanced_importer_scale_fix
Fix importer preview for models with scaled armatures.
2024-08-25 20:18:46 +02:00
Rémi Verschelde
bb437722ea
Merge pull request #96033 from Tallivm/patch-1
Fix typo in `Array` code example
2024-08-25 20:18:42 +02:00
Rémi Verschelde
3495e82644
Merge pull request #96010 from jwinarske/jw/wayland_fix
Wayland: Use `wayland-egl-core.h` instead of `wayland-egl.h`
2024-08-25 20:18:39 +02:00
Rémi Verschelde
e35a45e166
Merge pull request #95962 from dsnopek/validate-extension-api-disable-warnings
Temporarily disable "validation errors no longer occur" warnings
2024-08-25 20:18:32 +02:00
Rémi Verschelde
887d56721d
Merge pull request #95959 from dsnopek/openxr-api-hand-tracker-crash
Fix crash when calling `OpenXRAPI::get_hand_tracker()` and hand-tracking is disabled
2024-08-25 20:18:28 +02:00
Rémi Verschelde
844ac90bad
Merge pull request #95956 from ItzCog/master
Fix some C# variable types In `AStar2D/3D` Class Reference
2024-08-25 20:18:25 +02:00
Rémi Verschelde
473e7e0df3
Merge pull request #95947 from passivestar/timelineedit-namelimit
Fix animation timeline resize widget allowing invalid internal values
2024-08-25 20:18:21 +02:00
Rémi Verschelde
68d188d521
Merge pull request #95888 from clayjohn/Lightmap-SH-coefficients
Use correct lightmap coefficients to ensure that the directional lightmap mode looks correct
2024-08-25 20:18:18 +02:00
Rémi Verschelde
c9e5008966
Merge pull request #95857 from KoBeWi/novel_variant_of_0
Always store ID of PopupMenu items
2024-08-25 20:18:14 +02:00
Rémi Verschelde
cbe1d6f7af
Merge pull request #95274 from Chaosus/shader_forbind_const_func_decl
Forbid function declaration with a const qualifier in shaders
2024-08-25 20:18:10 +02:00
Rémi Verschelde
dc6d6551e4
Merge pull request #96044 from darksylinc/matias-TheForge-hotfix2
Disable extra memory tracking by default
2024-08-25 20:18:03 +02:00
DeeJayLSP
703c31fb40 WAV: Add missing break on get_length() 2024-08-25 14:18:26 -03:00
Craig-Stoneham
604df4fc83 Improve Template Class Conditionals (Code Style)
Refactored the following template classes by replacing runtime checks with compile-time checks using if constexpr for improved code clarity and maintainability:

- RID_Alloc
- SortArray
- PagedAllocator

Changes made:

- Updated conditional checks for THREAD_SAFE in the RID_Alloc class.
- Updated conditional checks for Validate in the SortArray class.
- Updated conditional checks for thread_safe in the PagedAllocator class.
2024-08-25 18:10:51 +01:00
Adam Scott
7e580150f9
Add import tab "import_script/path" relative path support 2024-08-25 12:50:50 -04:00
A Thousand Ships
5b91040ba6
[Doc] Clarify is_null methods of Callable and Signal 2024-08-25 14:33:07 +02:00
Saracen
06709e6865 Fix importer preview for models with scaled armatures. 2024-08-25 13:15:26 +01:00
Hei
94e434b34e Expose the function 'RenderingServer.canvas_item_attach_skeleton' 2024-08-25 04:13:04 +03:00
DeeJayLSP
b4d44a4253 QOA: Remove unnecessary memory allocation 2024-08-24 21:39:55 -03:00
Matias N. Goldberg
59d0422dcd Disable extra memory tracking by default
PR #90993 added several debugging utilities.

Among them, advanced memory tracking through the use of custom
allocators and VK_EXT_device_memory_report.

However as issue #95967 reveals, it is dangerous to leave it on by
default because drivers (or even the Vulkan loader) can too easily
accidentally break custom allocators by allocating memory through std
malloc but then request us to deallocate it (or viceversa).

This PR fixes the following problems:
 - Adds --extra-gpu-memory-tracking cmd line argument
 - Adds missing enum entries to
RenderingContextDriverVulkan::VkTrackedObjectType
 - Adds RenderingDevice::get_driver_and_device_memory_report
    - GDScript users can easily check via print(
RenderingServer.get_rendering_device().get_driver_and_device_memory_report()
)
- Uses get_driver_and_device_memory_report on device lost for appending
further info.

Fixes #95967
2024-08-24 20:52:39 -03:00
Stuart Carnie
2ef1ef63a5
Metal: Improve startup times by using concurrent shader compilation APIs 2024-08-25 09:05:58 +10:00
Matias N. Goldberg
d26c2f86cc Add VK_EXT_astc_decode_mode support
The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
2024-08-24 17:58:12 -03:00
Tallivm
b516742358 Fix typo in Array code example 2024-08-24 20:44:01 +03:00
kit
3da4f457d0 Fix LineEdit word mode when there are no words 2024-08-24 12:28:18 -04:00
Rémi Verschelde
e3550cb20f
Merge pull request #95975 from darksylinc/matias-TheForge-hotfix
Fix build error in arm32
2024-08-24 01:01:37 +02:00
Joel Winarske
6ce71f0fb0 Use wayland-egl-core.h instead of wayland-egl.h
-avoid use of transitive wayland include

-resolves https://github.com/godotengine/godot/issues/95830

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
2024-08-23 14:16:37 -07:00
kit
23927c3d9b Fix script overwriting with external editor 2024-08-23 16:34:24 -04:00
kerstop
2fd39eca30 fix deadzone slider not working correctly 2024-08-23 12:29:24 -05:00
David Giardi
e371587147 Improve SpinBox interaction, split arrows, add theme attributes 2024-08-23 18:21:20 +02:00
Matias N. Goldberg
38ae58bda2 Fix build error in arm32
Fixes #95973
2024-08-23 12:52:47 -03:00
Alex Docauer
08dcbce6b5
Add movement caveats to InputEventMouseMotion docs
InputEventMouseMotion may fire when the mouse hasn't moved.
Also, it generally won't fire when the mouse stops moving.
This makes reliably detecting when the mouse isn't moving tricky.

Update the docs for InputEventMouseMotion to capture these caveats
and give guidance for the best way to detect lack of mouse movement.
2024-08-23 07:54:18 -07:00
bruvzg
ea252675aa [Windows] Emit native file dialog callback from event loop, fix selected options not saved. 2024-08-23 09:53:16 +03:00
Rémi Verschelde
a1acd38c35
Merge pull request #95945 from stuartcarnie/sgc/metal_mobile_fix
Metal: Fix artefacts for mobile render method and disable multi-view
2024-08-23 08:45:13 +02:00
Lars Pettersson
dfdf7ebcda
Add a zoom speed setting to the 2D editor 2024-08-23 07:13:16 +02:00
DeeJayLSP
b3265497c7 MP3: Remove unnecessary memory allocation 2024-08-23 00:58:07 -03:00
Alex Docauer
125ff3213a
Only reset tooltip timer when mouse actually moved
InputEventMouseMotion isn't guaranteed to fire only on actual mouse
movement. It's not uncommon for the underlying OS motion event to be
sent either by the OS itself or another application even though the
mouse hasn't moved.  Godot will generate such zero-motion
InputEventMouseMotion events itself for things like cursor shape
changes.

Once started, the tooltip timer is reset only after a mouse movement of
at least 5 pixels in one frame.
2024-08-22 19:20:41 -07:00
Radiant
02fc4bbc2a Implement ClassDB::class_call_static_method 2024-08-23 02:56:29 +03:00
David Snopek
6f7c52d17f Temporarily disable "validation errors no longer occur" warnings 2024-08-22 18:16:11 -05:00
Rakka Rage
ba23b22153 Enable revert button for ShaderMaterial::next_pass and ShaderMaterial::render_priority. 2024-08-22 16:28:59 -04:00
Dungeon Master
1928a84f6e Fix some C# variable types In AStar2D/3D Class Reference 2024-08-23 02:25:56 +08:00
David Snopek
11dd1f52ae Fix crash when calling OpenXRAPI::get_hand_tracker() and hand-tracking is disabled 2024-08-22 13:03:05 -05:00
bruvzg
fba7ad8c7b
Remove spaces and punctuation from the beginning of translatable strings. 2024-08-22 20:51:13 +03:00
Vinni Richburgh
3e86f7b50e In Node.xml mentioned that Node::duplicate also copies children.
The list now uses the Oxford comma.
2024-08-22 18:57:05 +02:00
passivestar
155033384c Fix animation timeline resize widget allowing impossible internal values 2024-08-22 16:32:38 +04:00