1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00
Commit Graph

71817 Commits

Author SHA1 Message Date
Florent Guiocheau
3376b9166b Fix SSS with reverse-z 2024-11-26 10:51:22 +01:00
0x0ACB
a8cd0e9677 Use direct composition for d3d12 backend 2024-11-26 10:28:40 +01:00
Haoyu Qiu
fb5a4bac6e Improve documentation for tooltip-related methods 2024-11-26 10:04:51 +08:00
Lukas Tenbrink
ffd4de67d0 Add variant_get_ptr_internal_getter to gdextension_interface.h. The function returns functions to retrieve a pointer to a Variant's internal value. This enables GDExtensions to implement functionality similar to VariantGetInternalPtr, to access Variant internal values directly. 2024-11-26 02:19:03 +01:00
David Snopek
38e0532ffa Android: OS.create_instance() should return -1 on failure 2024-11-25 15:58:06 -06:00
Markus Sauermann
003647972f Rename consume_drag_and_drop to mouse_target
The functionality of the parameter is not limited to drag-and-drop
operations, but it has also other uses.
So its name should not be tied to drag-and-drop.

The API was created in the not yet released Godot 4.4-dev6, so this
change should not be considered compatibility breaking.
2024-11-25 21:36:29 +01:00
Rémi Verschelde
f2f48aaf36 Fix stringification of Projection 2024-11-25 21:10:32 +01:00
Thaddeus Crews
d09d82d433 Merge pull request #99068 from yahkr/fix_monitor_display
[Editor] Fix float value used for integer performance monitors
2024-11-25 13:22:36 -06:00
Thaddeus Crews
9b5c7e9efa Merge pull request #99545 from KoBeWi/Vector4.0
Fix stringification of Vector4
2024-11-25 13:22:33 -06:00
Thaddeus Crews
0d88737a9f Merge pull request #99542 from bruvzg/stdin_str
Convert line breaks to `\n` and strip line break from the end of string returned by `OS::read_string_from_stdin`/`OS::get_stdin_string`.
2024-11-25 13:22:30 -06:00
Thaddeus Crews
6e6fbdd593 Merge pull request #99605 from Alex2782/fix_errmsg_java_sdk_path
Fix missing space after period in error message.
2024-11-25 13:22:30 -06:00
Thaddeus Crews
57125f48ce Merge pull request #98069 from thedinosoar/fix/service-worker-sandbox-error-98068
[Web] Fix PWA callback assignment causing crash in sandboxed iframes
2024-11-25 13:22:29 -06:00
Thaddeus Crews
81733e6622 Merge pull request #99506 from Giganzo/scale-2d-selection
Change how multi selection scale is applied to canvas item
2024-11-25 13:22:28 -06:00
Thaddeus Crews
29e6ef4277 Merge pull request #99597 from Faless/upnp/custom_instance
[UPNP] Allow disabling UPNP implementation on the Web
2024-11-25 13:22:27 -06:00
Thaddeus Crews
20d4755c64 Merge pull request #99629 from AThousandShips/fix_scu_win
[Buildsystem] Fix path format for SCU builds on Windows
2024-11-25 13:22:26 -06:00
Thaddeus Crews
5b11eb6de1 Merge pull request #99562 from badsectoracula/improve_voxelgi_bake_ui
Add VoxelGI bake cancelling and progress UI improvement
2024-11-25 13:22:25 -06:00
Thaddeus Crews
fc6c8bb982 Merge pull request #99688 from akien-mga/revert-99178
Revert "Make `delay_usec` more precise on Windows to fix framepacing"
2024-11-25 13:22:24 -06:00
Thaddeus Crews
7c9d0300b7 Merge pull request #99332 from Repiteo/ci/bump-scons
CI: Bump SCons to latest (4.8.0 → 4.8.1)
2024-11-25 13:22:24 -06:00
Thaddeus Crews
ec01ad65fd Merge pull request #99620 from tetrapod00/doc-control-children
Docs: Update Control class to properly reflect behavior of Themes on Control Children
2024-11-25 13:22:20 -06:00
Thaddeus Crews
7104f20634 Merge pull request #97986 from dustdfg/metadata/forbid_deleting_inherited_metadata
Editor: forbid deleting inherited metadata properties
2024-11-25 13:22:18 -06:00
Rémi Verschelde
8e1a6ea431 Revert "Make delay_usec more precise"
This reverts commit df3367f334.

Fixes #99593.
2024-11-25 19:43:21 +01:00
arkology
15bd2a9bc1 Show TextureProgressBar radial cross only when editing the scene 2024-11-25 21:00:50 +03:00
Spartan322
e297506365 Round DDS width/height to next divisor multiple for block compression 2024-11-25 12:55:05 -05:00
Dario
6d5ac8f7ef Resolve load and store ops automatically for render passes for discardable textures. 2024-11-25 11:27:48 -03:00
Anish Mishra
3413c6ce9d Update screen_get_scale documentation. 2024-11-25 19:07:05 +05:30
bruvzg
e0b4f3d314 [Windows] Fix root and current folder in native file dialog.
Co-authored-by: RedMser <redmser.jj2@gmail.com>
2024-11-25 15:00:25 +02:00
Pāvels Nadtočajevs
0708048530 [TextServer] Fix some line breaking edge cases. 2024-11-25 10:31:07 +02:00
Pāvels Nadtočajevs
a2b8b51097 [RTL] Fix clearing text with set_text(""). 2024-11-25 09:36:53 +02:00
Silc Lizard (Tokage) Renew
38d274b021 Make flipping flag consider influence in LookAtModifier3D 2024-11-25 15:59:39 +09:00
Silc Lizard (Tokage) Renew
b76cdf525b Make LookAtModifier3D adopt to bone name method 2024-11-25 15:47:10 +09:00
arkology
99886f3204 Remove double is_editor_hint() check inside NOTIFICATION_READY for Camera2D node
`Engine::get_singleton()->is_editor_hint()` is already a part of `is_part_of_edited_scene()` function.
2024-11-25 09:28:16 +03:00
Giganzo
06d7b67f8a Fix closing dropdown on EditorResourcePicker in Single Window Mode 2024-11-24 23:47:59 +01:00
tetrapod00
13b565c64d Docs: Update Control class to properly reflect behavior of Themes on Control Children
Document fact that themes only propagate to control children
(not Node2D, etc). Wording is copied from Theme docs.
Also clarifies line somewhat.

Co-Authored-By: Allyson Chan <allysonn.chann@gmail.com>
2024-11-24 10:30:02 -08:00
Saracen
74611a74d1 Generate editor thumbnails on imported scenes. 2024-11-24 10:23:56 -08:00
Pāvels Nadtočajevs
1d43fa9a64 Change file dialog all files filter name from All Files (*) to All Files(*.*). 2024-11-24 20:09:05 +02:00
yahkr
8f5b11ac25 [Editor] Update SceneUniqueName button text when disabled to clarify access. 2024-11-24 12:26:13 -05:00
A Thousand Ships
1c522c9f0c [Buildsystem] Fix path format for SCU builds on Windows 2024-11-24 15:33:47 +01:00
smix8
37c3907d0e Change navigation map performance monitor to use a struct
Changes navigation map performance monitor to use a struct as it is easier to pass to sub functions.
2024-11-24 13:27:45 +01:00
Chaosus
7ecdfc8b52 Add samplerExternalOES type to shader globals 2024-11-24 14:33:52 +03:00
Silc Lizard (Tokage) Renew
27bd7b23f6 Fix forward_vector scale to handle safe_margin in LookAtModifier 2024-11-24 13:43:07 +09:00
Pablo Andres Fuente
86ea0127a3 Add a focus border on ScrollContainer
Also added new unit tests for `Control`.

Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2024-11-23 23:54:38 -03:00
Bruno Brant
84f4178850 Fix missing sign in ease function curve description
The range was broken because -1.0 was informed as being 1.0.
2024-11-23 23:02:14 -03:00
Alexander Hartmann
796d943f14 Fix missing space after period in error message. 2024-11-24 02:46:42 +01:00
Jamie Pate
45a7bcc477 Fix gl_compatibility lightmap uniforms not being set
Fixes #99592

The following variables were set too early, and later code never ran..
prev_shader, prev_variant, prev_spec_constants variables

These variables were shared in two different branch conditions but were
updated inside the first one, so the second could never be true..

The condition to update lighting also should check prev_spec_constants
since it updates that uniform.
2024-11-23 16:43:07 -08:00
Lane Barnes
2e8c941812 Fix example code snippet in AudioStreamGenerator.xml
I was playing around with C# code snippet but I kept hearing a clipping sound. I think this is because the phase variable is being set to 0 in the wrong spot.

The phase at the end of the FillBuffer() method is some non zero number. When FillBuffer is called again, the phase is suddenly changed back to zero. This causes the end of one sin wave segment to be out of sync with the next sin wave segment. The sin wave needs to be continuous between FillBuffer calls so no clipping sound occurs.

Moving the phase variable out of FillBuffer and putting it in a scope above makes it retain its value between FillBuffer calls, making the sin wave continuous, and the clipping sound is gone.

For further proof, the demo project "Audio Generator Demo" has the phase variable be one scope above FillBuffer and it does not set phase=0 inside of FillBuffer. If anything, I'm fixing this documentation to match the working demo
2024-11-23 15:36:03 -07:00
Bastiaan Olij
1bffefb346 Adding ability to include build-in include files (precursor to custom shader templates) 2024-11-24 08:47:45 +11:00
Fabio Alessandrelli
0df602afed [UPNP] Allow disabling UPNP implementation on the Web
Make UPNP classes custom instance, so they can come with empty
implementation on the Web (where the would not work anyway) without
breaking scripts referencing it.

This results in smaller Web builds by not including the library which
also results in the emscripten socket wrappers to be stipped away.
2024-11-23 20:17:28 +01:00
Bad Sector
da191168fe Add VoxelGI bake cancelling and progress UI improvement 2024-11-23 21:12:57 +02:00
A Thousand Ships
f6ea6cdb67 Fix some invalid int property ranges
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
  note
2024-11-23 19:17:29 +01:00
arkology
6c38824d03 Document radial_center_offset bounds 2024-11-23 20:40:00 +03:00