Commit Graph

77006 Commits

Author SHA1 Message Date
Dario adabd14d08 Add support for enhanced barriers in D3D12.
Enables support for enhanced barriers if available.

Gets rid of the implementation of [CROSS_FAMILY_FALLBACK] in the D3D12 driver. The logic has been reimplemented at a higher level in RenderingDevice itself.

This fallback is only used if the RenderingDeviceDriver reports the API traits and the capability of sharing texture formats correctly. Aliases created in this way can only be used for sampling: never for writing. In most cases, the formats that do not support sharing do not support unordered access/storage writes in the first place.
2024-05-20 13:04:44 -03:00
Rémi Verschelde 40b4130c93 Merge pull request #92151 from timothyqiu/frame-dup
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde eef7e29527 Merge pull request #92143 from m4gr3d/cleanup_android_plugin_on_exit
Add logic to unregister the Godot plugins on engine termination
2024-05-20 17:07:05 +02:00
Rémi Verschelde b44e9b0ce4 Merge pull request #92136 from Maran23/editor-feature-profile-improvements
Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited
2024-05-20 17:07:02 +02:00
Rémi Verschelde 15a888712d Merge pull request #92116 from RadiantUwU/new_audio_icons
Change the AudioStreamPlayer icons to be clearer.
2024-05-20 17:06:58 +02:00
Rémi Verschelde b0822250d6 Merge pull request #92112 from KoBeWi/is_there_something_this_class_can't_do
Improve documentation on TreeItem's cell modes
2024-05-20 17:06:52 +02:00
Rémi Verschelde fc9a8d1e91 Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Rémi Verschelde 45f6aaeb10 Merge pull request #91887 from minionprocyk/master
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Rémi Verschelde 3bd2a6ad6e Merge pull request #91700 from Sievaxx/checkbox_max_width
Fix CheckBox and CheckButton not using `icon_max_width`
2024-05-20 17:06:37 +02:00
Rémi Verschelde b5f8f103aa Merge pull request #91291 from m4gr3d/fix_unreachable_export_button_android_editor
Fix export dialog sizing issue on small devices
2024-05-20 17:06:34 +02:00
Rémi Verschelde 7b89bd4496 Merge pull request #89798 from timothyqiu/clear-all
Disable Clear All button when not filtering in Settings
2024-05-20 17:06:31 +02:00
Rémi Verschelde 68ac4ee358 Merge pull request #80232 from Calinou/vulkan-pipeline-cache-improve-messages
Improve warning messages related to Vulkan pipeline cache
2024-05-20 17:06:25 +02:00
Dario e54b928974 Replace List with LocalVector on Skeleton3D's bone transform update. 2024-05-20 11:58:36 -03:00
bruvzg 497f65fa50 [Windows] Use CRLF in the terminal prints. 2024-05-20 14:23:17 +03:00
Marius Hanl 7008111a3f Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited 2024-05-20 11:32:41 +02:00
Riley Willows ea7860c614 Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
Haoyu Qiu becc98162e Fix error when duplicating visual shader node inside a Frame 2024-05-20 15:56:16 +08:00
jsjtxietian d1cd0c4780 Prevent add shader uniform doc when DocTool is not inited 2024-05-20 12:26:26 +08:00
Fredia Huya-Kouadio 5a74e5812b Add logic to unregister the Godot plugins on engine termination 2024-05-19 19:27:04 -07:00
Bastiaan Olij 6582be0c50 OpenXR: Fix updating swapchain for foveation 2024-05-20 12:23:56 +10:00
Michael Alexsander 9353081338 Fix scrollbar issues in ScrollContainer 2024-05-19 22:20:43 -03:00
Fredia Huya-Kouadio 625b92e3cd Input logic cleanup:
- Fix invalid detection of mouse input. Prioritize using the event tool type to detect the type of the event, and only use the event source as fallback.

- Ensure that pressure and tilt information is passed for touch drag events

- Consolidate logic and remove redundant methods

- Improve the logic to detect when external hardware keyboards are connected to the device
2024-05-19 14:08:01 -07:00
Christian Kaiser 6c62392fb0 Fixed log rebuilding crashing when there's no messages 2024-05-19 14:55:43 -03:00
Radiant b20d7afa53 Change the AudioStreamPlayer icons to be more clear.
Co-authored-by: mieldepoche <mieldepoche@users.noreply.github.com>
2024-05-19 19:32:52 +03:00
Haoyu Qiu ed61d41697 Change param name of AStar's _estimate_cost method 2024-05-19 22:08:36 +08:00
Haoyu Qiu e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
kobewi a541d4508f Improve documentation on TreeItem's cell modes 2024-05-19 14:15:38 +02:00
Haoyu Qiu 55459dd74e Disable Clear All button when not filtering in Editor Settings 2024-05-19 19:29:48 +08:00
kobewi ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Mikael Hermansson a23717c8c6 Bind physics server methods related to shape margin 2024-05-19 12:28:26 +02:00
Rémi Verschelde daa81bbb7d Merge pull request #92087 from Repiteo/scons/windows-color-fix-maybe
SCons: Fix potential Windows ANSI exception
2024-05-19 11:21:18 +02:00
Rémi Verschelde c63383fa88 Merge pull request #92035 from rune-scape/rune-gdscript-invalid
GDScript: Fix segfault on invalid script
2024-05-19 11:21:14 +02:00
Rémi Verschelde 4ce95d684c Merge pull request #91653 from HolonProduction/autocompletion-analyze-recursively-but-leave-the-parser-alone
Autocompletion: Analyze CLASS types as they are encountered
2024-05-19 11:21:11 +02:00
Rémi Verschelde 6761923f4f Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
Fredia Huya-Kouadio 60a4cc2fbe Fix export dialog sizing issue on small devices
Fixes https://github.com/godotengine/godot/issues/73130

- Update the min height from `700` to `500` to match the editor's min height of `600`
- Wrap the sections of the `TabContainer` within a `ScrollContainer`. This prevents the export dialog from trying to resize to fit the tallest of those sections, and make them accessible on small screen devices.
2024-05-18 11:27:50 -07:00
Thaddeus Crews a9810cffb4 SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
Rémi Verschelde f58a96cfa2 Merge pull request #92075 from autoit4you/fix-92062
Use `GLOBAL_GET` for `window_{height,width}_override`
2024-05-18 17:41:48 +02:00
Rémi Verschelde 7437b9a833 Merge pull request #92060 from raulsntos/core/memdelete-engine-later
Release Engine after unregistering GDExtensions
2024-05-18 17:41:45 +02:00
Rémi Verschelde 337e5dacab Merge pull request #92053 from Repiteo/ci/exec-perm-fixes
CI: Fix incorrect executable perms
2024-05-18 17:41:42 +02:00
Rémi Verschelde 6aece8e1b6 Merge pull request #92045 from RandomShaper/context_getter
Add context getter to RenderingDevice
2024-05-18 17:41:38 +02:00
Rémi Verschelde 7cd9f61d32 Merge pull request #91853 from semensanyok/fix-compatibility-gles3-load-compressed-layered-tex-2dArray
Fix compatibility renderer load of compressed layered `GL_TEXTURE_2D_ARRAY`
2024-05-18 17:41:31 +02:00
lawnjelly 512b0f16a3 Tight shadow culling - increase epsilon to prevent flickering
Near colinear triangles were still causing inaccuracy in culling planes, so the threshold for colinearity is bumped up.
2024-05-18 14:14:27 +01:00
Lea 414cc6c89e Use GLOBAL_GET for window_{height,width}_override
Before ProjectSettings::get was used, resulting in ignoring
feature tag overrides for display/window/size/window_width_override
and display/window/size/window_height_override.

Fixes #92062
2024-05-18 11:51:04 +02:00
rune-scape 9fa13da16f GDScript: fix segfault on invalid script 2024-05-17 15:26:25 -07:00
semensanyok 07c15ef3c8 fix compatibility gles3 driver load of compressed layered GL_TEXTURE_2D_ARRAY 2024-05-17 22:00:25 +02:00
Raul Santos e516479889 Release Engine after unregistering GDExtensions
The Engine is used to retrieve singletons, and GDExtensions may try to retrieve a singleton (e.g.: `OS`) in their deinitialization.
2024-05-17 21:29:11 +02:00
Thaddeus Crews 96d1e61ee6 CI: Fix incorrect executable perms 2024-05-17 10:47:40 -05:00
Rémi Verschelde bd2300d77a Merge pull request #92043 from akien-mga/ci-scons-3.0.0-python-3.6
SCons: Bump min version to 3.1.2, test it on CI with one Linux job
2024-05-17 13:00:41 +02:00
Rémi Verschelde 85463fd5eb Merge pull request #92042 from bruvzg/fix_edit_popup
Fix Tree and FileSystemList edit popup double events and ESC behavior.
2024-05-17 13:00:38 +02:00
Rémi Verschelde b569ae3ddc Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +02:00