1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00
Commit Graph

72295 Commits

Author SHA1 Message Date
Thaddeus Crews
e3751721af Merge pull request #98451 from RandomShaper/ext_text_err
ExternalTexture: Avoid error when destroyed without having been used
2024-10-24 13:22:38 -05:00
Thaddeus Crews
da01b2a462 Merge pull request #98063 from TCROC/fix-headless-import
Fix Headless --import --quit crashes editor
2024-10-24 13:22:36 -05:00
Thaddeus Crews
8c52533aed Merge pull request #86539 from stechyo/gdext/expose-audio-playback-methods
Expose some AudioStreamPlayback methods (namely `mix_audio()`).
2024-10-24 13:22:35 -05:00
Thaddeus Crews
3b70a96164 Merge pull request #96518 from Giganzo/popup-panel-style
Fix PopupPanel and PopupMenu menu styles
2024-10-24 13:22:34 -05:00
Thaddeus Crews
ab4de57904 Merge pull request #98438 from BrianBHuynh/master
Document the differences between GDScript and GlobalScope
2024-10-24 13:22:33 -05:00
Thaddeus Crews
444ee64062 Merge pull request #98304 from timothyqiu/menu-only-shortcut-keys
Clarify `LineEdit.shortcut_keys_enabled` only affects context menu items
2024-10-24 13:22:32 -05:00
Garetonchick
2bd759964e fix drag-and-drop in windows 2024-10-24 19:43:30 +03:00
Thaddeus Crews
9968828913 SCons: Set appropriate prefix when using clang-cl 2024-10-24 10:22:32 -05:00
kobewi
abb9c0f171 Fix InputEvent crash when opening project 2024-10-24 17:05:05 +02:00
betalars
1be2f8c535 AudioEffectFilter and StereoEnhance: Documentation improvements 2024-10-24 15:15:52 +02:00
kobewi
e0c7e063e5 Improve make_canvas_position_local description 2024-10-24 15:10:20 +02:00
Chaosus
463e81413e Make OUTPUT_IS_SRGB/CLIP_SPACE_FAR shader built-ins global 2024-10-24 12:32:05 +03:00
Yuri Rubinsky
ff9fb0abea Merge pull request #93590 from Chaosus/shader_custom_func_discard
Allow usage of `discard` inside custom shader functions
2024-10-24 09:38:10 +03:00
Yuri Rubinsky
03641a425f Merge pull request #93650 from Chaosus/shader_stage_custom_funcs
Allow using stage functions inside custom shader functions
2024-10-24 09:32:04 +03:00
Haoyu Qiu
1b4f6f6bfa DirAccessPack: Fix file_exists and dir_exists in exported projects 2024-10-24 14:26:36 +08:00
tetrapod00
8f7e8c59ff Docs: Link to Project Settings tutorial from ProjectSettings class 2024-10-23 20:51:20 -07:00
Haoyu Qiu
9aea7cbd15 Fix some flickering tooltips 2024-10-24 08:34:29 +08:00
Clay John
e25776e95c Merge pull request #98442 from tetrapod00/transform-2d-docs-fix
Fix incorrect Transform2D docs
2024-10-23 16:50:06 -07:00
Hugo Locurcio
ad24dd4ba2 Increase range hint for StyleBoxFlat border_width, corner_radius and expand_margin 2024-10-24 01:21:40 +02:00
tetrapod00
a0134ad375 Docs: link to GlobalScope string methods from String docs 2024-10-23 14:07:27 -07:00
kobewi
3ebac9006b Clarify tiling of AtlasTexture 2024-10-23 23:03:19 +02:00
David Snopek
e2386de505 Fix bug with OpenXR composition layers added after OpenXR is running 2024-10-23 15:34:05 -05:00
Clay John
3dbef70d17 Merge pull request #98405 from SilverCreekEntertainment/fix-create-window-failed-message-box
Fix window exiting with no message to user if _create_window fails
2024-10-23 12:56:12 -07:00
Zae
06df5275c2 C#: Fix StringName leak when converting Variant to Signal / Callable 2024-10-24 00:08:43 +08:00
Zae
2a3d400dd8 C#: Escape signal parameters 2024-10-23 23:24:00 +08:00
Ainsley Su
cd126a041e No freezing when size in header is too large
Give warning if the size in header mismatch the actual file size. If
data chunk size is greater than the actual data size, try to import by
treating all the remaining data as data chunk and give warning to users.
2024-10-23 16:53:10 +02:00
kobewi
5c0f2414cd Always add decimal when printing float 2024-10-23 15:00:21 +02:00
Robbie Lodico
c7f421ef5f Fix GodotFetch glue code for null response bodies
The spec says that Response.body can be null (in the event of requests that should have no body, like HEAD requests) and Firefox adheres to it which results in request failure for HEAD requests on Firefox for web exports.

This commit addresses that by treating a null body as an "empty" body (without using a polyfill) and avoids changing the request lifecycle as much as possible.

PR review changes:
- Use == instead of strict ===
- Do not use ?? null
- Comment formatting
2024-10-23 08:10:35 -04:00
Pedro J. Estébanez
98b8beddc5 ExternalTexture: Avoid error when destroyed without having been used 2024-10-23 10:04:38 +02:00
bruvzg
503574441e [RTL] Allow setting image alignment as separate bbcode argument. 2024-10-23 10:15:33 +03:00
Brian Huynh
360b84bad5 Clarification to the description of Global scope in regards to GDScript
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.

In general there are small changes to the wording which makes it more clear and concise.
Wording change

Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"

Changed language from "not specific to" to "which work in any language"

After consulting multiple people the new wording seems easier to parse, even for non coders

Update doc/classes/@GlobalScope.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-10-23 02:10:03 -04:00
Yevhen Babiichuk (DustDFG)
8e75e029b3 Make module dependency check recursive
The `env.disabled_modules` and `methods.disable_module` weren't used anywhere
so the first one was repurposed and the second just deleted

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-10-23 08:26:22 +03:00
m-pranav-r
fcea158927 Fixed light culling mask behavior in Mobile and Compat renderers 2024-10-23 08:38:56 +05:30
Matias N. Goldberg
668c9b74e2 Fix race conditions in breadcrumbs
Adds "--accurate-breadcrumbs" CLI command

Additionally, leave out breadcrumbs code in non-debug, non-dev builds.
Fix regression introduced in #98388 where command_insert_breadcrumb() is
called even in non-debug builds.

Fixes #98338
2024-10-22 22:08:46 -03:00
Haoyu Qiu
e321faa59b Fix Add Metadata dialog not focusing name field by default 2024-10-23 08:18:13 +08:00
tetrapod00
9cf6cb010e Fix incorrect Transform2D docs
The y vector of a transform 2d was incorrectly described as pointing up.
2024-10-22 17:16:39 -07:00
Hugo Locurcio
77c31b9cc8 Add AudioServer.get_driver_name() to get the actual audio driver name
The project setting does not reflect CLI argument overrides
(including `--headless` which sets the audio driver to `Dummy`),
so it can't be reliably used to detect which audio driver is
actually being used at run-time.
2024-10-22 23:14:59 +02:00
Travis Lange
2e1fc241f9 fix headless import attempting to load graphics driver 2024-10-22 16:17:09 -04:00
Clay John
533c616cb8 Merge pull request #98391 from RandomShaper/rd_thread_switch
Implement thread ownership change for RenderingDevice
2024-10-22 13:10:32 -07:00
Keegan McGonigle
05b266bd89 Fix PWA callback assignment and error handling 2024-10-22 10:28:21 -07:00
Anish Mishra
827961e4e5 Update documentation for Android immersive mode 2024-10-22 22:55:43 +05:30
bjornmp
06998a3927 Enforce that custom nodes keep their original type
Enforce that custom nodes and resources created via the "Create New Node" dialog, should permanently retain their original type (script). This means:

- Type continuity: It should be impossible for the user to (accidentally) clear the original script of a custom node that was created via the "Create New Node" dialog.

- Extensibility: The user should be able to extend custom types as usual (create a script that inherits the original type and replace the original script of that node with his own). However, if he then clears his extension-script from that node later on, the custom type should revert to its original script instead of becoming a non-scripted type.
2024-10-22 18:18:16 +02:00
Thaddeus Crews
99ef817098 Implement CODEOWNERS corrections 2024-10-22 09:50:38 -05:00
Hugo Locurcio
2cd007fa4a Clarify TextEdit.is_caret_visible() behavior in the class reference 2024-10-22 16:48:58 +02:00
Hugo Locurcio
34f5d018f1 Link to Screen-reading shaders tutorial in BackBufferCopy documentation 2024-10-22 16:38:24 +02:00
kobewi
d5fbc7dab1 Improve Scale Selection in Animation tab 2024-10-22 15:54:17 +02:00
kobewi
82b53b1e1b Fix legacy picking label bounds 2024-10-22 13:50:49 +02:00
rune-scape
eb8b9898c9 GDScript: Fix cached parser error when using typed Dictionaries 2024-10-22 02:13:16 -07:00
dan
403e53e1d3 Fix window exiting with no message to user if _create_window fails 2024-10-21 17:31:30 -07:00
Bastiaan Olij
3e36f52524 OpenXR: change bindings to 'flatten' source paths 2024-10-22 10:31:11 +11:00