1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00
Commit Graph

72295 Commits

Author SHA1 Message Date
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
Edward Moulsdale
fe416c8046 Augment unit tests for OptionButton 2024-11-24 16:23:50 +00: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
Silc Lizard (Tokage) Renew
ebf7e86bd4 Make start/end can be retrieved from each PlaybackData on AnimPlayer 2024-11-23 22:49:37 +09:00
Pāvels Nadtočajevs
e9b57fce82 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-23 15:11:50 +02:00
Rudolph Bester
4089a6cb8c Fixed occlusion culling for double builds by enforcing float conversion for Embree. 2024-11-23 13:49:12 +02:00
Pablo Andres Fuente
2c9de1d9d2 Add unit tests for UDPServer
This PR aims to help "fix" #43440
2024-11-22 23:08:05 -03:00
kit
b862a394f4 Add tooltips to dock menu and remove disabled 2024-11-22 17:22:19 -05:00
Thaddeus Crews
0c45ace151 Merge pull request #99054 from timothyqiu/session-names
Translate the name of the debugger session tabs
2024-11-22 14:54:49 -06:00
Thaddeus Crews
7faad0cc7a Merge pull request #97388 from tetrapod00/visualshader-linear-srgb
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-11-22 14:54:47 -06:00
Thaddeus Crews
17e8cf0d87 Merge pull request #99044 from Sticksman/bug-fix-98873
Remove deprecated worker.js file
2024-11-22 14:54:41 -06:00
Thaddeus Crews
ea3154a0d4 Merge pull request #99424 from dalexeev/core-fix-builtin-enum-const-binds
Core: Fix built-in enum constant bindings
2024-11-22 14:54:31 -06:00
Thaddeus Crews
37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Thaddeus Crews
dcb59f0e7e Merge pull request #99548 from Repiteo/style/clang-format-19-options
Style: Add 19.1.0 LLVM options to `.clang-format`
2024-11-22 14:54:29 -06:00
Thaddeus Crews
2adfa20ee2 Merge pull request #99544 from jtcat/fix-inspector-favorites
Fix inspector section iteration in `update_tree`
2024-11-22 14:54:28 -06:00
Thaddeus Crews
514d73affc Merge pull request #99416 from adamscott/set-thread-count-for-single-threaded
Force `get_thread_count()` to `1` if single threaded
2024-11-22 14:54:28 -06:00
Thaddeus Crews
a0211b0f2e Merge pull request #99533 from crei0/look_at_modifier3d_documentation_data_typos
Fix wording in `LookAtModifier3D` docs
2024-11-22 14:54:27 -06:00
Thaddeus Crews
e7b11d1c99 Merge pull request #99527 from RandomShaper/fix_threaded_trans
Make loading translations from threads safe
2024-11-22 14:54:26 -06:00
Thaddeus Crews
fca3a224c4 Merge pull request #99525 from bruvzg/win_tts_sync_events
[Windows] Fix TTS events arriving out of order.
2024-11-22 14:54:25 -06:00
Thaddeus Crews
fe1c044c73 Merge pull request #99394 from TokageItLab/root-local
Add `root_motion_local` option to AnimationMixer to pre-multiply root motion rotation accumulator before blending
2024-11-22 14:54:24 -06:00
Thaddeus Crews
336eeda6f8 Merge pull request #99521 from mechalynx/update-packedarray-class-descriptions
Correct PackedInt64Array comparison in description
2024-11-22 14:54:23 -06:00
Thaddeus Crews
d2bfbd759e Merge pull request #97216 from markeel/issue_97207_filter_extension_list_cfg
Ensure excluded GDExtension files are not included in `extension_list.cfg`
2024-11-22 14:54:22 -06:00
Thaddeus Crews
c35e4c41d2 Merge pull request #97716 from pafuent/add_half_precision_floating_point_to_stream_peer
Add half precision floating point support to `StreamPeer` and `FileAccess`
2024-11-22 14:54:19 -06:00
Thaddeus Crews
cef0c3548e Merge pull request #99498 from carsonetb/mesh-gen-optimization
Optimize mesh generation by preventing unneeded shape recalculations
2024-11-22 14:54:18 -06:00
Thaddeus Crews
a82f4c5d64 Merge pull request #97061 from YeldhamDev/rtl_l18n_fix
Fix `RichTextLabel`'s modified stack being wiped on translation changes
2024-11-22 14:54:17 -06:00
Thaddeus Crews
eedc820f37 Merge pull request #99487 from passivestar/fix-viewport-offsets
Fix viewport message offsets
2024-11-22 14:54:16 -06:00
Thaddeus Crews
757a1d3c90 Merge pull request #99102 from Lazy-Rabbit-2001/autocompletion-optimization
Improve GDScript autocompletion for methods
2024-11-22 14:54:16 -06:00
Thaddeus Crews
fae3a28628 Merge pull request #99485 from raulsntos/dotnet/dictionary-compat
[.NET] Preserve no-hint behavior for unmarshallable generics in dictionaries
2024-11-22 14:54:15 -06:00
Thaddeus Crews
f2763b23cf Merge pull request #99483 from badsectoracula/cancel_lightmap_bake
Add lightmap bake cancelling
2024-11-22 14:54:14 -06:00
Thaddeus Crews
d6ad0f65d8 Merge pull request #99482 from Giganzo/toast_and_spam
Fix toast spam about child of container position
2024-11-22 14:54:13 -06:00