Commit Graph

11541 Commits

Author SHA1 Message Date
Thaddeus Crews
7c015a768f
Merge pull request #99958 from lander-vr/reflection-probe-blend-property
Add Blend Distance property to ReflectionProbe
2024-12-12 16:13:32 -06:00
Thaddeus Crews
31bc6afcad
Merge pull request #96802 from dsnopek/expose-resource-importer-get-format-version
Expose `ResourceImporter::get_format_version` via `EditorImportPlugin::_get_format_version()`
2024-12-12 16:13:26 -06:00
Thaddeus Crews
c5f0d571b5
Merge pull request #97985 from RobProductions/add-tablet-nav-preset
Add `Tablet/Trackpad` 3D navigation preset
2024-12-12 16:13:24 -06:00
HP van Braam
6f7525c396 Improve Scene Tree editor performance
We now cache the Node*<>TreeItem* mapping in the SceneTreeEditor. This
allows us to make targeted updates to the Tree used to display the scene
tree in the editor.

Previously on almost all changes to the scene tree the editor would
rebuild the entire widget, causing a large number of deallocations an
allocations. We now carefully manipulate the Tree widget in-situ saving
a large number of these allocations.

In order to know what Nodes need to be updated we add a
editor_state_changed signal to Node, this is a TOOLS_ENABLED,
editor-only signal fired when changes to Node happen that are relevant
to editor state.

We also now make sure that when nodes are moved/renamed we don't check
expensive properties that cannot contain NodePaths. This saves a lot of
time when SceneTreeDock renames a node in a scene with a lot of
MeshInstances. This makes renaming nodes go from ~27 seconds to ~2
seconds on large scenes.

SceneTreeEditor instances will now also not do all of the potentially
expensive update work if they are invisible. This behavior is turned off
by default so it won't affect existing users. This change allows the
editor to only update SceneTreeEditors that actually in view. In
practice this means that for most changes instead of updating 6
SceneTreeEditors we only update 1 instantly, and the others only when
they become visible.

There is definitely more that could be done, but this is already a
massive improvement. In complex scenes we see an improvement of 10x,
things that used to take ~30 seconds now only take 2.

This fixes #83460

I want to thank KoBeWi, TokisanGames, a-johnston, aniel080400 for
their tireless testing. And AeioMuch for their testing and providing a
fix for the hover issue.
2024-12-12 22:47:05 +01:00
Robin Ward
b3e970dde8 Adds get_selection_line_offset to RichTextLabel
This new method allow you to get the line offset of the current
selection (returns -1 if nothing is selected.)

This is useful if you want to pop up a control or menu above the
currently selected text. Previously there was no accurate way to get
this information.

The logic is moved from the implementation of `scroll_to_selection`
verbatim, and that method has been adjusted to avoid repetition.
2024-12-12 16:02:21 -05:00
havi05
b29e93bb51 ItemList - Add Toggle mode 2024-12-12 17:33:04 +01:00
Robert Yevdokimov
7f09804154 Add inherit parameter to open_scene_from_path 2024-12-12 10:24:58 -05:00
David Snopek
af47df1005 Expose ResourceImporter::get_format_version via EditorImportPlugin::_get_format_version() 2024-12-12 08:15:28 -06:00
Rémi Verschelde
4cf1b0d94c
Merge pull request #100135 from Lazy-Rabbit-2001/expose-create-dialog-new
Add `popup_create_dialog()` for `EditorInterface` to create custom create dialog
2024-12-12 14:10:13 +01:00
Rémi Verschelde
d1b683d413
Merge pull request #97140 from BastiaanOlij/xr_action_map_enhancements
OpenXR: Add support for binding modifiers
2024-12-12 14:09:41 +01:00
Rémi Verschelde
0e5c337453
Merge pull request #85653 from BlueCube3310/lightmap-gi-shadowmask
Implement LightmapGI shadowmasks
2024-12-12 14:09:30 +01:00
Lazy-Rabbit-2001
9c34ad1791 Add popup_create_dialog() for EditorInterface to create custom create dialog 2024-12-12 18:13:31 +08:00
BlueCube3310
189c8eb671 Implement shadowmasks for LightmapGI
Co-authored-by: dearthdev <nathandearthdev@gmail.com>
2024-12-12 11:00:28 +01:00
Thaddeus Crews
dee79d55fe
Merge pull request #100204 from KoBeWi/nananananan
Clarify `limit_length()` for infinite vectors
2024-12-11 17:36:03 -06:00
Thaddeus Crews
e9d343805e
Merge pull request #94636 from Calinou/doc-process-delta-low-fps
Document `_process()` and `_physics_process()` delta behavior at low FPS
2024-12-11 17:35:42 -06:00
Thaddeus Crews
153ef23483
Merge pull request #100129 from smix8/pathunspaghettification
Despaghettify NavigationServer path queries
2024-12-11 17:35:38 -06:00
Thaddeus Crews
db2088b0cd
Merge pull request #100126 from dsnopek/gdextension-missing-gdvirtual-bind
Add missing `GDVIRTUAL_BIND()` for `AudioStream::_has_loop()` and `::_get_bar_beats()`
2024-12-11 17:35:33 -06:00
Thaddeus Crews
4146bcc0dc
Merge pull request #99089 from Mickeon/documentation-truth-csharp-rabbit-hoole
Fix C# boolean "Prints" comments in documentation
2024-12-11 17:35:30 -06:00
Thaddeus Crews
c5e6f6276b
Merge pull request #100110 from DarioSamo/rd-get-data-async
Implement `RD::buffer_get_data_async()` and `RD::texture_get_data_async()`
2024-12-11 17:35:29 -06:00
Thaddeus Crews
f20ab9b2cf
Merge pull request #99338 from KoBeWi/consider_it_fixed
Clarify Button's text clipping
2024-12-11 17:35:27 -06:00
Thaddeus Crews
61f2001aba
Merge pull request #99081 from Mickeon/documentation-floats-now-print-the-trailing-zero
Update documentation's "Prints" comments after #47502
2024-12-11 17:35:26 -06:00
Bastiaan Olij
0a61ebdcea OpenXR: Add support for binding modifiers 2024-12-12 09:46:19 +11:00
smix8
476479419b Despaghettify NavigationServer path queries
Despaghettify NavigationServer path queries.
2024-12-11 22:29:48 +01:00
Dario
054891de04 Implement buffer_get_data_async and texture_get_data_async. 2024-12-11 11:55:23 -08:00
Rémi Verschelde
44dfa7e710
Merge pull request #99895 from mihe/jolt-physics
Add Jolt Physics as an alternative 3D physics engine
2024-12-11 14:53:57 +01:00
Mikael Hermansson
d470c2ac6a Add Jolt Physics as an alternative 3D physics engine
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2024-12-11 13:57:25 +01:00
Thaddeus Crews
69c67ede17
Merge pull request #88950 from bruvzg/excap
[macOS, Windows] Add support for excluding windows from a screenshot.
2024-12-10 14:16:10 -06:00
Thaddeus Crews
66dea152b5
Merge pull request #99257 from darksylinc/matias-TheForge-pr04-excluded-ubo+render_opt
Improvements from TheForge
2024-12-10 14:15:55 -06:00
Thaddeus Crews
8f16f864a6
Merge pull request #99765 from dalexeev/core-fix-json-from-to-native
Core: Fix `JSON.{from,to}_native()` issues
2024-12-10 14:15:53 -06:00
Thaddeus Crews
ef0d1e0eb9
Merge pull request #100001 from clayjohn/rd-uniform-set-cache
Increase the size of the uniform set cache to 4096 to avoid cache thrashing from projects with high numbers of unique textures
2024-12-10 14:15:48 -06:00
Thaddeus Crews
d8761f2c79
SCons: Improve colored output 2024-12-10 11:44:48 -06:00
bruvzg
9fece033ab [macOS, Windows] Add support for excluding windows from a screenshot. 2024-12-10 11:00:13 +02:00
Thaddeus Crews
e9679a28ff
Merge pull request #91604 from nongvantinh/implement-7946
Save color palette as resources to reuse later
2024-12-09 14:33:29 -06:00
Thaddeus Crews
94711acfe1
Merge pull request #87375 from limbonaut/instantiate_property_editor
Export `EditorInspector::instantiate_property_editor` for use by plugins
2024-12-09 14:33:28 -06:00
Thaddeus Crews
473c28b1ad
Merge pull request #98118 from bruvzg/escape_colors
Add support for 24-bit color escape sequences, simplify `print_rich` BBCode parsing.
2024-12-09 14:33:25 -06:00
kobewi
3aebcaf4d3 Clarify limit_length() for infinite vectors 2024-12-09 15:53:11 +01:00
Matias N. Goldberg
c77cbf096b Improvements from TheForge (see description)
The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

This is the most "risky" PR so far because the previous ones have been
miscellaneous stuff aimed at either [improve
debugging](https://github.com/godotengine/godot/pull/90993) (e.g. device
lost), [improve Android
experience](https://github.com/godotengine/godot/pull/96439) (add Swappy
for better Frame Pacing + Pre-Transformed Swapchains for slightly better
performance), or harmless [ASTC
improvements](https://github.com/godotengine/godot/pull/96045) (better
performance by simply toggling a feature when available).

However this PR contains larger modifications aimed at improving
performance or reducing memory fragmentation. With greater
modifications, come greater risks of bugs or breakage.

Changes introduced by this PR:

TBDR GPUs (e.g. most of Android + iOS + M1 Apple) support rendering to
Render Targets that are not backed by actual GPU memory (everything
stays in cache). This works as long as load action isn't `LOAD`, and
store action must be `DONT_CARE`. This saves VRAM (it also makes
painfully obvious when a mistake introduces a performance regression).
Of particular usefulness is when doing MSAA and keeping the raw MSAA
content is not necessary.

Some GPUs get faster when the sampler settings are hard-coded into the
GLSL shaders (instead of being dynamically bound at runtime). This
required changes to the GLSL shaders, PSO creation routines, Descriptor
creation routines, and Descriptor binding routines.

 - `bool immutable_samplers_enabled = true`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.

Immutable samplers requires that the samplers stay... immutable, hence
this boolean is useful if the promise gets broken. We might want to turn
this into a `GLOBAL_DEF` setting.

Instead of creating dozen/hundreds/thousands of `VkDescriptorSet` every
frame that need to be freed individually when they are no longer needed,
they all get freed at once by resetting the whole pool. Once the whole
pool is no longer in use by the GPU, it gets reset and its memory
recycled. Descriptor sets that are created to be kept around for longer
or forever (i.e. not created and freed within the same frame) **must
not** use linear pools. There may be more than one pool per frame. How
many pools per frame Godot ends up with depends on its capacity, and
that is controlled by
`rendering/rendering_device/vulkan/max_descriptors_per_pool`.

- **Possible improvement for later:** It should be possible for Godot
to adapt to how many descriptors per pool are needed on a per-key basis
(i.e. grow their capacity like `std::vector` does) after rendering a few
frames; which would be better than the current solution of having a
single global value for all pools (`max_descriptors_per_pool`) that the
user needs to tweak.

 - `bool linear_descriptor_pools_enabled = true`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.
Setting it to false is required when workarounding driver bugs (e.g.
Adreno 730).

A ridiculous optimization. Ridiculous because the original code
should've done this in the first place. Previously Godot was doing the
following:

  1. Create a command buffer **pool**. One per frame.
  2. Create multiple command buffers from the pool in point 1.
3. Call `vkBeginCommandBuffer` on the cmd buffer in point 2. This
resets the cmd buffer because Godot requests the
`VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT` flag.
  4. Add commands to the cmd buffers from point 2.
  5. Submit those commands.
6. On frame N + 2, recycle the buffer pool and cmd buffers from pt 1 &
2, and repeat from step 3.

The problem here is that step 3 resets each command buffer individually.
Initially Godot used to have 1 cmd buffer per pool, thus the impact is
very low.

But not anymore (specially with Adreno workarounds to force splitting
compute dispatches into a new cmd buffer, more on this later). However
Godot keeps around a very low amount of command buffers per frame.

The recommended method is to reset the whole pool, to reset all cmd
buffers at once. Hence the new steps would be:

  1. Create a command buffer **pool**. One per frame.
  2. Create multiple command buffers from the pool in point 1.
3. Call `vkBeginCommandBuffer` on the cmd buffer in point 2, which is
already reset/empty (see step 6).
  4. Add commands to the cmd buffers from point 2.
  5. Submit those commands.
6. On frame N + 2, recycle the buffer pool and cmd buffers from pt 1 &
2, call `vkResetCommandPool` and repeat from step 3.

**Possible issues:** @dariosamo added `transfer_worker` which creates a
command buffer pool:

```cpp
transfer_worker->command_pool =
driver->command_pool_create(transfer_queue_family,
RDD::COMMAND_BUFFER_TYPE_PRIMARY);
```

As expected, validation was complaining that command buffers were being
reused without being reset (that's good, we now know Validation Layers
will warn us of wrong use).
I fixed it by adding:

```cpp
void RenderingDevice::_wait_for_transfer_worker(TransferWorker
*p_transfer_worker) {
	driver->fence_wait(p_transfer_worker->command_fence);
	driver->command_pool_reset(p_transfer_worker->command_pool); //
! New line !
```

**Secondary cmd buffers are subject to the same issue but I didn't alter
them. I talked this with Dario and he is aware of this.**
Secondary cmd buffers are currently disabled due to other issues (it's
disabled on master).

 - `bool RenderingDeviceCommons::command_pool_reset_enabled`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.

There's no other reason for this boolean. Possibly once it becomes well
tested, the boolean could be removed entirely.

Adds `command_bind_render_uniform_sets` and
`add_draw_list_bind_uniform_sets` (+ compute variants).

It performs the same as `add_draw_list_bind_uniform_set` (notice
singular vs plural), but on multiple consecutive uniform sets, thus
reducing graph and draw call overhead.

 - `bool descriptor_set_batching = true;`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.

There's no other reason for this boolean. Possibly once it becomes well
tested, the boolean could be removed entirely.

Godot currently does the following:

 1. Fill the entire cmd buffer with commands.
 2. `submit()`
    - Wait with a semaphore for the swapchain.
- Trigger a semaphore to indicate when we're done (so the swapchain
can submit).
 3. `present()`

The optimization opportunity here is that 95% of Godot's rendering is
done offscreen.
Then a fullscreen pass copies everything to the swapchain. Godot doesn't
practically render directly to the swapchain.

The problem with this is that the GPU has to wait for the swapchain to
be released **to start anything**, when we could start *much earlier*.
Only the final blit pass must wait for the swapchain.

TheForge changed it to the following (more complicated, I'm simplifying
the idea):

 1. Fill the entire cmd buffer with commands.
 2. In `screen_prepare_for_drawing` do `submit()`
    - There are no semaphore waits for the swapchain.
    - Trigger a semaphore to indicate when we're done.
3. Fill a new cmd buffer that only does the final blit to the
swapchain.
 4. `submit()`
    - Wait with a semaphore for the submit() from step 2.
- Wait with a semaphore for the swapchain (so the swapchain can
submit).
- Trigger a semaphore to indicate when we're done (so the swapchain
can submit).
 5. `present()`

Dario discovered this problem independently while working on a different
platform.

**However TheForge's solution had to be rewritten from scratch:** The
complexity to achieve the solution was high and quite difficult to
maintain with the way Godot works now (after Übershaders PR).
But on the other hand, re-implementing the solution became much simpler
because Dario already had to do something similar: To fix an Adreno 730
driver bug, he had to implement splitting command buffers. **This is
exactly what we need!**. Thus it was re-written using this existing
functionality for a new purpose.

To achieve this, I added a new argument, `bool p_split_cmd_buffer`, to
`RenderingDeviceGraph::add_draw_list_begin`, which is only set to true
by `RenderingDevice::draw_list_begin_for_screen`.

The graph will split the draw list into its own command buffer.

 - `bool split_swapchain_into_its_own_cmd_buffer = true;`

Setting it to false enforces the old behavior. This might be necessary
for consoles which follow an alternate solution to the same problem.
If not, then we should consider removing it.

PR #90993 added `shader_destroy_modules()` but it was not actually in
use.

This PR adds several places where `shader_destroy_modules()` is called
after initialization to free up memory of SPIR-V structures that are no
longer needed.
2024-12-09 11:49:28 -03:00
David Snopek
3866a7f818 Add missing GDVIRTUAL_BIND() for AudioStream::_has_loop() and ::_get_bar_beats() 2024-12-08 06:38:47 -06:00
Serhii Snitsaruk
803fa8f2e8
Export EditorInspector::instantiate_property_editor for use by plugins
And export useful properties and methods in the `EditorProperty` class.
2024-12-07 14:07:04 +01:00
Nông Văn Tình
e6a49ab6ac Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-12-06 20:16:06 +07:00
Danil Alexeev
8bf2afd341
Fix CollisionShape{2D,3D}.debug_color inconsistencies 2024-12-06 15:12:20 +03:00
landervr
05010180ce ReflectionProbe add Blend Distance 2024-12-05 23:29:47 +01:00
David
174e659a48
Add 3D translation sensitivity to Editor Settings 2024-12-05 22:50:52 +01:00
Thaddeus Crews
637239e979
Merge pull request #94193 from BastiaanOlij/buildin_includes
Add ability to include built-in include files
2024-12-05 14:12:23 -06:00
Thaddeus Crews
a27d744506
Merge pull request #100002 from wyvrtn/master
Fix a very slight grammatical issue
2024-12-05 14:11:48 -06:00
clayjohn
2535423719 Increase the size of the uniform set cache to 4096 to avoid cache thrashing from projects with high numbers of unique textures. 2024-12-05 12:01:05 -08:00
Michael Alexsander
eb5839dcbb
Add "At Start" mode for sub-emitter particles 2024-12-05 11:48:34 -03:00
Wyv
8a5eef95aa Fix a very slight grammatical issue
Changed the incorrect verb "have" into its correct form, "has."
Fixes #99972

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-05 14:14:32 +00:00
Guilherme Sousa
d7462d223c Add animation node extension 2024-12-05 04:27:16 -08:00
Matt Enad
bd47e4f1ba Add Tablet/Trackpad nav preset
This commit adds a new navigation preset called `Tablet/Trackpad` which enables "Emulate 3 Button Mouse" to more quickly set up good default keys for tablet users.

It also adds support for mouse buttons 4 and 5 in the navigation settings which will be helpful if users want to customize 3D navigation further for specific pens/mice.
2024-12-04 13:02:11 -05:00
Hugo Locurcio
b43c47d6dd Adjust StyleBoxFlat antialiasing to account for 2D stretch scale
This prevents the antialiasing feather from becoming too wide
at viewport sizes higher than the default, which can lead to blurry visuals.

This is adjusted to account for the 2D scale factor returned on the root
Window, so it takes both the `canvas_items` scaling and
`content_scale_factor` into account.
2024-12-04 01:07:25 +01:00
Thaddeus Crews
47bc374edf
Merge pull request #99325 from Calinou/doc-zipreader-extract-all
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Add a code sample that extracts all files to ZIPReader documentation
2024-12-03 14:41:08 -06:00
Thaddeus Crews
44cda51110
Merge pull request #98812 from bruvzg/macos_bundles_as_file
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 14:41:07 -06:00
Thaddeus Crews
ec333a8c32
Merge pull request #99564 from JekSun97/get_connetion_count_method_graphedit
Add `get_connection_count` function to `GraphEdit`
2024-12-03 14:41:02 -06:00
Thaddeus Crews
156bc92282
Merge pull request #98397 from adamscott/add-tmp-support
Add temp utilities (alias `OS::get_temp_dir()`, `FileAccess::create_temp()`, and `DirAccess::create_temp()`)
2024-12-03 14:40:59 -06:00
Thaddeus Crews
26e7b6bdd6
Merge pull request #99164 from bruvzg/int_files
[Export] Write text server data from memory, instead of using temporary file.
2024-12-03 14:40:58 -06:00
Thaddeus Crews
40a65e739d
Merge pull request #99371 from bruvzg/beep
Implement `DisplayServer.beep`.
2024-12-03 14:40:50 -06:00
Thaddeus Crews
42eb4fbc07
Merge pull request #93831 from what-is-a-git/wav-runtime
Add runtime file loading to `AudioStreamWAV`
2024-12-03 14:40:42 -06:00
Pāvels Nadtočajevs
84650f2018 Implement DisplayServer.beep. 2024-12-03 12:43:26 +02:00
bruvzg
d5e599f77e [macOS] Handle bundles as files in the embedded file dialogs. 2024-12-03 12:41:52 +02:00
what-is-a-git
707f1038c3 Add runtime file loading to AudioStreamWAV 2024-12-02 20:03:53 -05:00
Hugo Locurcio
4db9c112ff
Add a code sample that extracts all files to ZIPReader documentation
Tested with various ZIP files found on the web, with a single root
folder or multiple files at its root.

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-12-03 00:37:50 +01:00
Michael Alexsander
f7f6432af6
Make PopupMenu/Panel shadows properly visible again 2024-12-02 14:20:58 -03:00
Adam Scott
1b3e483899
Add file and dir temporary utilities
Co-authored by @Alex2782 for the Android bindings.
Many thanks to the reviewers also.

Co-authored-by: Alex <alex.hart.278@gmail.com>
2024-12-02 12:08:14 -05:00
Pāvels Nadtočajevs
c5ca56f40b [Export] Write text server data from memory, instead of using temporary file. 2024-12-02 18:22:55 +02:00
Rémi Verschelde
0f20e67d8d
Merge pull request #99900 from BlueCube3310/betsy-doc-update
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Betsy: Update docs to reflect BC3 and BC5
2024-12-02 17:20:46 +01:00
Rémi Verschelde
0c4ad02e6d
Merge pull request #99668 from bruvzg/rtl_rn_notes
[RTL] Parse "\r\n" as a single paragraph break, add some documentation notes.
2024-12-02 17:20:35 +01:00
Rémi Verschelde
60e1490df1
Merge pull request #99644 from bruvzg/fd_all_name
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
2024-12-02 17:20:23 +01:00
Rémi Verschelde
bb09a6f061
Merge pull request #99642 from bruvzg/mac_win_tile
[macOS] Use native window drag for the custom editor title bars.
2024-12-02 17:20:19 +01:00
Rémi Verschelde
fa264115ce
Merge pull request #98664 from bruvzg/ts_reset_subpixel_shift
[TextServer] Reset subpixel shift on blank glyphs.
2024-12-02 17:20:07 +01:00
Pāvels Nadtočajevs
2210dd1126 [RTL] Parse "\r\n" as a single paragraph break, add some documentation notes. 2024-12-02 17:50:04 +02:00
Pāvels Nadtočajevs
b248d66265 [macOS] Use native window drag for the custom editor title bars. 2024-12-02 17:40:27 +02:00
BlueCube3310
f5648ac9c9 Betsy: Update docs to reflect BC3 and BC5 2024-12-02 16:23:13 +01:00
Micky
109fcbb43a Remove uses of static typing from the documentation 2024-12-02 15:56:46 +01:00
Rémi Verschelde
d741a646a5
Merge pull request #99924 from Mickeon/documentation-no-implicit_static-typing-yet
Remove uses of implicit static typing from the documentation
2024-12-02 15:52:25 +01:00
Rémi Verschelde
ab54ba92a4
Merge pull request #99752 from Faless/mp/fix_offlfine_mp_docs
[MP] Move OfflineMultiplayerPeer docs to the module
2024-12-02 15:51:34 +01:00
Rémi Verschelde
4a887ceffd
Merge pull request #99736 from Bossdell113/gdellProject
Add C# examples to PropertyTweener docs
2024-12-02 15:51:29 +01:00
Rémi Verschelde
200bb202ba
Merge pull request #99481 from bruvzg/meta_tooltip
[RTL] Add tooltip support to meta/url tag.
2024-12-02 15:51:12 +01:00
Rémi Verschelde
cebf2130ca
Merge pull request #98744 from tetrapod00/rendering-method-driver-backend
Docs: Standardize names and terms for renderers
2024-12-02 15:50:40 +01:00
Rémi Verschelde
ed93ab2f53
Merge pull request #98657 from ydeltastar/stay-sane-using-evaluator
Add editor setting to stop the bottom panel from switching to the Stack Trace
2024-12-02 15:50:31 +01:00
Rémi Verschelde
702f567138
Merge pull request #98533 from dalexeev/adjust-make-rst-for-gds
Adjust `make_rst.py` for GDScript documentation
2024-12-02 15:50:26 +01:00
Micky
7539a3a7cf Remove uses of implicit static typing from the documentation 2024-12-02 15:40:42 +01:00
Florent Guiocheau
3cc43abab0 Document inverse aspect ratio convention of Projection::get_fovy() 2024-12-02 15:10:28 +01:00
Bossdell113
34c7528d3d
Add C# examples to PropertyTweener docs
Co-Authored-By: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-12-02 14:32:17 +01:00
Pāvels Nadtočajevs
dc71fbacc5 [RTL] Add tooltip support to meta/url tag. 2024-12-02 15:26:14 +02:00
JekSun97
95ca0aa7ad Add get_connetion_count function to GraphEdit 2024-12-02 19:15:37 +06:00
A Thousand Ships
77549dd1f3
[Tree] Allow disabling auto generated tooltip for TreeItem 2024-12-01 14:39:51 +01:00
Markus Sauermann
8e00035f08 Introduce Viewport functions for keeping the mouse over state consistent 2024-12-01 11:22:11 +01:00
Micky
d90f045d24 Update documentation's "Prints" comments after #47502 2024-11-30 16:14:11 +01:00
Danil Alexeev
ba943e4481
Adjust make_rst.py for GDScript documentation 2024-11-30 11:48:14 +03:00
tetrapod00
141737d168 Docs: Standardize names and terms for renderers 2024-11-29 19:53:52 -08:00
Wagner
6995b6a03e Allow changing the anisotropic filter level at run-time per Viewport 2024-11-30 00:50:45 -03:00
Rémi Verschelde
31edb7ea3b
Merge pull request #99841 from Calinou/doc-basematerial3d-billboard-mode-remove-outdated-note
Remove outdated note about `BaseMaterial3D.billboard_mode` shadow issue
2024-11-29 22:51:41 +01:00
Rémi Verschelde
1745fe15a4
Merge pull request #99837 from thiagola92/docs_window_files_dropped
Docs: update example from Window signal files_dropped
2024-11-29 22:51:38 +01:00
Rémi Verschelde
5125b66871
Merge pull request #99827 from syntaxerror247/patch-1
Update `use_system_accent_color` note in EditorSettings
2024-11-29 22:51:31 +01:00
Rémi Verschelde
05e93a6010
Merge pull request #99691 from Sauermann/fix-consume-mouse-over
Rename `SubViewportContainer` option `consume_drag_and_drop` to `mouse_target`
2024-11-29 22:51:10 +01:00
Rémi Verschelde
e4ee8a3b32
Merge pull request #99611 from bruno-brant/patch-1
Fix missing sign in ease function curve description
2024-11-29 22:51:06 +01:00
Rémi Verschelde
74db6a1acc
Merge pull request #99584 from arkology/radial-center-offset-bounds
Document `radial_center_offset` bounds for `TextureProgressBar`
2024-11-29 22:51:02 +01:00
Rémi Verschelde
f37fd1c3f2
Merge pull request #99238 from Calinou/doc-node2d-no-z-index
Update Z Index property location in Node2D class reference
2024-11-29 22:47:11 +01:00
Rémi Verschelde
778723d935
Merge pull request #99204 from berarma/patch-1
Clarify documentation for TileSetAtlasSource `texture_region_size`
2024-11-29 22:47:06 +01:00
Rémi Verschelde
5e87bdae74
Merge pull request #98605 from bruvzg/lbl_mult_para
[Label] Handle text as multiple independent paragraphs.
2024-11-29 22:46:42 +01:00
Rémi Verschelde
bfa38e463c
Merge pull request #98022 from vPumpking/editor_file_dialog_filter_master
Unify filter feature and improve space management for EditorFileDialog
2024-11-29 22:46:18 +01:00
Rémi Verschelde
5d74c5370b
Merge pull request #97963 from bruvzg/rtl_valign
[RTL] Add support for vertical alignment.
2024-11-29 22:46:14 +01:00
Rémi Verschelde
8d3fc48abf
Merge pull request #97521 from pafuent/enhance_scroll_container_focus
Add a focus border on `ScrollContainer`
2024-11-29 22:46:09 +01:00
Rémi Verschelde
a0a459ebd8
Merge pull request #78289 from bruvzg/fo_write_errs
[FileAccess] Return error codes from `store_*` methods.
2024-11-29 22:45:27 +01:00
Rémi Verschelde
5d462ee4c5
Merge pull request #67857 from anvilfolk/extended-curve
Extend Curve to allow for domains outside of [0, 1].
2024-11-29 22:45:19 +01:00
bruvzg
a4b17e7852 [FileAccess] Return error codes from store_* methods. 2024-11-29 23:22:31 +02:00
Rémi Verschelde
56a7dba10b
Merge pull request #99799 from akien-mga/fix-typos
Fix various typos and code style issues
2024-11-29 22:02:53 +01:00
Rémi Verschelde
0b2b8f0a53
Merge pull request #99754 from kthang55/fix_follow_viewport
Update CanvasLayer 'Follow Viewport' documentation to match its behavior
2024-11-29 22:02:37 +01:00
Rémi Verschelde
ba488490fc
Merge pull request #99650 from Mickeon/documentation-transform-basis-quaternion-consistency
Make Transform2D/3D, Basis, and Quaternion docs more consistent
2024-11-29 22:02:18 +01:00
Bernat
279dce3d2d
Clarify documentation for TileSetAtlasSource texture_region_size 2024-11-29 22:00:57 +01:00
Hugo Locurcio
e499563faf
Remove outdated note about BaseMaterial3D.billboard_mode shadow issue
The linked pull request was merged in Godot 4.3.
2024-11-29 19:57:26 +01:00
Micky
82bd7db275 Make Transform2D/3D, Basis, and Quaternion docs more consistent 2024-11-29 16:10:11 +01:00
thiagola92
e30da67ce9 Docs: update example from Window signal files_dropped 2024-11-29 11:38:04 -03:00
Anish Mishra
72be8d1b69
Update "use_system_accent_color" note in EditorSettings. 2024-11-29 15:27:17 +05:30
Danil Alexeev
bd1a35ce9e
Core: Fix JSON.{from,to}_native() issues 2024-11-29 12:43:06 +03:00
Rémi Verschelde
88e81ee730
Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
Kent Thang
5d111e852e
Update CanvasLayer 'Follow Viewport' documentation to match its behavior 2024-11-28 16:26:01 +01:00
Thaddeus Crews
ed01f5f2aa
Merge pull request #98670 from DarioSamo/rd-transient-targets
Automatically resolve initial and final action for draw lists.
2024-11-27 10:47:29 -06:00
Thaddeus Crews
8f603c901e
Merge pull request #99679 from timothyqiu/custom-tooltip-doc
Improve documentation for tooltip-related methods
2024-11-27 10:47:21 -06:00
Thaddeus Crews
539be43dad
Merge pull request #99677 from syntaxerror247/patch-1
Update `screen_get_scale` documentation.
2024-11-27 10:47:16 -06:00
Thaddeus Crews
9c300a6c05
Merge pull request #80965 from Calinou/viewport-add-get-stretch-scale-factor
Add a Viewport method to get automatically computed 2D stretch transform
2024-11-27 10:47:12 -06:00
Thaddeus Crews
c5cd7c66ee
Merge pull request #85443 from smix8/gridmap_castshadows
Add ShadowCastingSetting to MeshLibrary / GridMap items
2024-11-27 10:47:10 -06:00
Thaddeus Crews
06f4bcdefb
Merge pull request #97346 from DevPoodle/vertex-attribute-docs
Add descriptions to RDVertexAttribute's properties
2024-11-27 10:47:09 -06:00
Thaddeus Crews
2a147f3ce1
Merge pull request #99091 from Mickeon/documentation-object-boolean-context-4.4
Add documentation note on Object's boolean context
2024-11-27 10:46:54 -06:00
Thaddeus Crews
ed443ccd25
Merge pull request #99079 from FlooferLand/patch-1
Add note about LightmapGI only baking nodes under its parent
2024-11-27 10:46:52 -06:00
ze2j
97e0b43faa Add ArrayMesh::surface_remove 2024-11-27 13:46:15 +01:00
Fabio Alessandrelli
f511ef26f1 [MP] Move OfflineMultiplayerPeer docs to the module
Was missing from the module config, causing the XML to be added to the
main doc folder
2024-11-27 13:18:33 +01:00
smix8
612981c1ea Add ShadowCastingSetting to MeshLibrary / GridMap items
Adds ShadowCastingSetting to MeshLibrary / GridMap items.
2024-11-27 01:06:21 +01:00
Thaddeus Crews
19dd3eda19
Merge pull request #99364 from Mickeon/documentation-global-scope-keys-plus-minus
Rewrite some `@GlobalScope` keys in documentation to use `[code]` tags
2024-11-26 13:04:49 -06:00
Thaddeus Crews
04786f0ee8
Merge pull request #97824 from TokageItLab/retarget-modifier
Add RetargetModifier3D for realtime retarget to keep original rest
2024-11-26 13:04:47 -06:00
Thaddeus Crews
dc0fcf9753
Merge pull request #99612 from TokageItLab/lkat-bn
Make LookAtModifier3D adopt the bone name method
2024-11-26 13:04:44 -06:00
Micky
e653f19032 Rewrite some @GlobalScope keys in documentation to use [code] tags 2024-11-26 18:42:36 +01:00
Jamie Greunbaum
0fc082e1ee
Add CollisionShape3D custom debug colours
This allows changing the display colour of a CollisionShape3D node on a per-shape basis.
It also adds the ability to display a solid coloured preview of a CollisionShape3D.

Closes https://github.com/godotengine/godot-proposals/issues/906
2024-11-26 16:28:13 +01:00
Haoyu Qiu
fb5a4bac6e Improve documentation for tooltip-related methods 2024-11-26 10:04:51 +08: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
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
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
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
Silc Lizard (Tokage) Renew
b76cdf525b Make LookAtModifier3D adopt to bone name method 2024-11-25 15:47:10 +09: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
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
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
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
arkology
6c38824d03 Document radial_center_offset bounds 2024-11-23 20:40:00 +03: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
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
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
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
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
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
47f3e95308 Merge pull request #99352 from Mickeon/documentation-aabb-coords-are-complicated
Fix incorrect Z direction for AABB's position
2024-11-22 14:54:12 -06:00
Thaddeus Crews
0430b977b6 Merge pull request #99348 from TokageItLab/explicit_elapse
Add `explicit_elapse` option to AnimationNodeTimeSeek to handle some processes
2024-11-22 14:54:11 -06:00
Micky
e0b13004a0 Fix incorrect Z direction for AABB's position 2024-11-22 20:25:50 +01:00
vPumpking
0542bccee0 Improve space management for EditorFileDialog
Move buttons related to the file view on the container above so that they take less horizontal space and make search bar similar to the one in FileDialog
2024-11-22 18:59:03 +01:00
André Guedes
e1fa489f77 Fix wording in LookAtModifier3D docs 2024-11-22 13:15:55 +01:00
Danil Alexeev
03b05cf9ac
Core: Fix built-in enum constant bindings 2024-11-22 14:03:21 +03:00
mechalynx
acf351fa6a
Update PackedVector4Array description to include explanation shared by PackedArray classes 2024-11-22 07:12:56 +02:00
mechalynx
133cf62d26
Correct PackedInt64Array comparison in description
All Packed classes that have the same paragraph will compare the currently viewed Packed array type with the equivalent typed Array but here the comparison was with the Int32 version instead of the Int64 version
2024-11-22 06:23:06 +02:00
Thaddeus Crews
f952bfe998
Merge pull request #98972 from dbnicholson/standardize-add-defaults
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Expose `TranslationServer::standardize_locale` `add_default` param publicly
2024-11-21 17:57:01 -06:00
Thaddeus Crews
0d8352bd96
Merge pull request #99511 from Mickeon/documentation-audio-stream-typo
Fix typo in AudioStream's documentation
2024-11-21 17:57:00 -06:00
Thaddeus Crews
d967befc42
Merge pull request #99465 from aaronfranke/arch-bit-has-feature
Suggest using OS.has_feature instead of the engine architecture name for bitness
2024-11-21 17:56:49 -06:00
Thaddeus Crews
0eca686191
Merge pull request #99270 from Sauermann/fix-svc-drop-config
Introduce a `SubViewportContainer` config for drag-and-drop target locations
2024-11-21 17:56:48 -06:00
Thaddeus Crews
1117d91704
Merge pull request #99200 from KingTheFifth/master
Document `AudioStreamPlayer.get_playback_position()` intentionally aways returning `0.0` when using `AudioStreamInteractive`
2024-11-21 17:56:43 -06:00
Dan Nicholson
6f4fadf65d Expose standardize_locale add_default param publicly
Comparing locales can have surprising outcomes since it standardizes
locales with defaults. For example, zh and zh_CN result in an exact
match since the defaults change them both to zh_Hans_CN. Expose the
add_default parameter publicly with a default of false so the fully
standardized locale can be inspected.
2024-11-21 16:50:31 -07:00
Micky
429ea1c8e3 Fix typo in AudioStream's documentation 2024-11-21 21:33:55 +01:00
Aaron Franke
f4c1f89add
Suggest using OS.has_feature instead of the engine architecture name for bitness 2024-11-20 06:33:28 -08:00
Silc Lizard (Tokage) Renew
9ab94df772 Add explicit_elapse option to NodeSeek to handle some processes 2024-11-20 22:51:27 +09:00
Hugo Locurcio
0cf99cf95d
Add a Viewport method to get automatically computed 2D stretch transform
`Viewport.get_stretch_transform()` returns the automatically computed
2D stretch transform. Combined with `Transform2D.get_scale()`, this is
useful when using the `canvas_items` stretch mode in a project.

There are many situations where knowing this factor is useful:

- Divide Camera2D zoom to keep the size of the 2D game world identical
  regardless of the 2D scale factor (so that UI elements can still be scaled).
- Make certain controls always drawn at 1:1 scale
  (e.g. for the crosshair in a FPS). This is done by dividing the Control
  node's scale by the scale factor.
2024-11-19 23:11:13 +01:00
Markus Sauermann
117158d271 Introduce a SubViewportContainer config for drag-and-drop targets
With the drag-and-drop rewrite, `SubViewportContainer` nodes were no
longer available as drop-locations.

This PR introduces a configuration option, that allows
`SubViewportContainer` to be considered as drop-location, but disables the
`Control` nodes inside its `SubViewport` children as drop-location.
2024-11-19 23:06:41 +01:00
Johannes Kung
3ab88c2e6a Document AudioStreamPlayer.get_playback_position() intentionally always returning 0.0 when using AudioStreamInteractive 2024-11-19 22:21:30 +01:00
Thaddeus Crews
e4dbba94d9
Merge pull request #99324 from TokageItLab/fix-fpe-spinner
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-19 15:20:10 -06:00
ntlblpm
086d1ea2ac
Update FileAccess.xml 2024-11-19 03:45:03 -05:00
Silc Lizard (Tokage) Renew
755bcf4737 Add root_motion_local option to AnimationMixer 2024-11-19 08:25:31 +09:00
Thaddeus Crews
fd4c29a189
Merge pull request #98683 from clayjohn/wireframe
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Ensure shadow material and mesh are not used with wireframe mode
2024-11-18 09:23:54 -06:00
Thaddeus Crews
cf541f0997
Merge pull request #97656 from kitbdev/doc-textedit-improve
Improve TextEdit and CodeEdit documentation
2024-11-18 09:23:53 -06:00
Thaddeus Crews
0a50cef751
Merge pull request #98788 from Bonkahe/master
Add `multimesh_get_buffer_rd_rid` method to `RenderingServer`.
2024-11-18 09:23:46 -06:00
Thaddeus Crews
8e324c4589
Merge pull request #86195 from GreenCrowDev/curve3d_close
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 -06:00
Thaddeus Crews
d72112ba0a
Merge pull request #98816 from arkology/to-infinity-and-beyond
Improve `TextureProgressBar.set_radial_initial_angle()` by removing loops
2024-11-18 09:23:28 -06:00
Silc Lizard (Tokage) Renew
f5b49af99f Add RetargetModifier3D for realtime retarget to keep original rest 2024-11-18 22:44:55 +09:00
kobewi
ce512d3eea Clarify Button's text clipping 2024-11-17 23:04:52 +01:00
clayjohn
90b4b48b5a Ensure shadow material and mesh are not used with wireframe mode
And in the Compatibility renderer actually use the wireframe render mode
2024-11-16 22:25:00 -08:00
Silc Lizard (Tokage) Renew
e283fdfb59 Fix spinner in AnimationTrackEdit in FPS mode 2024-11-17 01:54:06 +09:00
matricola787
790efbb783 Implement closed path for Curve3d 2024-11-16 12:59:08 +01:00
Thaddeus Crews
e9ce3932b3
Merge pull request #98099 from dalexeev/pot-gen-add-comment-support
POT Generator: Add support for `TRANSLATORS:` and `NO_TRANSLATE` comments
2024-11-15 10:42:45 -06:00
Thaddeus Crews
1d5c589e71
Merge pull request #99212 from CW-Jesse/patch-1
Describe edge cases for `DisplayServer.get_screen_from_rect()`
2024-11-15 10:42:40 -06:00
Hugo Locurcio
d683ea4772 Update Z Index property location in Node2D class reference
The Z Index property is in CanvasItem since Godot 4.0, so it's shared among
Node2D and Control.
2024-11-15 15:02:10 +01:00
Jesse
121097db0a
[DisplayServer] [docs] Improve readability of get_screen_from_rect()
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-14 16:28:51 -08:00
kit
d467b3acb5 Improve TextEdit and CodeEdit documentation 2024-11-14 17:09:00 -05:00
David House
6e9d31f602 Implemented multimesh_get_buffer_rd_rid function into RenderingServer.
Fixed style error.

Updated dummy mesh_storage to move from cpp to h the return of a blank Rid on _multimesh_get_buffer_rd_rid.
2024-11-14 15:52:08 -06:00
Thaddeus Crews
673f396677
Merge pull request #99132 from BrianBHuynh/master
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Add notes on `DirAccess` documentation
2024-11-14 14:52:04 -06:00
Thaddeus Crews
36fac3df7a
Merge pull request #75164 from Calinou/visualinstance3d-lightmap-scale-float
Allow more flexible adjustments of VisualInstance3D Lightmap Scale
2024-11-14 14:52:00 -06:00
Thaddeus Crews
0b2a75b995
Merge pull request #99185 from Mickeon/documentation-damn-it
Fix `format` description being different between String and StringName
2024-11-14 14:51:55 -06:00
RedMser
30a573e110 Fix TODO comments in class reference 2024-11-14 20:42:13 +01:00
arkology
d692b7bdde Improve set_radial_initial_angle by removing loops
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +03:00
Hugo Locurcio
1e5f0a86ca Allow more flexible adjustments of VisualInstance3D Lightmap Scale
Any floating-point value greater than 0.01 can now be used.
Prior to this change, only factors of 1×, 2× and 4× and 8× could be used.
2024-11-14 17:28:05 +01:00
bruvzg
b329b4ab06 [Label] Handle text as multiple independent paragraphs. 2024-11-14 11:29:46 +02:00
Jesse
4ba533d0b5
[DisplayServer] [docs] Describe edge cases for get_screen_from_rect()
Describes output when multiple screens intersect with rectangle or rectangle has no area.
2024-11-13 22:02:42 -08:00
Hugo Locurcio
af76a896ef Improve documentation on @GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE 2024-11-14 00:05:06 +01:00
Micky
2d855f2955 Fix format description being different between String and StringName 2024-11-13 18:26:16 +01:00
Thaddeus Crews
1627912d11
Merge pull request #98918 from bruvzg/pck_enc_iv
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:34:31 -06:00
Thaddeus Crews
5d152713bb
Merge pull request #99146 from noidexe/patch-3
Clarify effect of setting "page" parameter in ScrollBar nodes
2024-11-13 08:34:19 -06:00
Thaddeus Crews
606f0eb02c
Merge pull request #98621 from tetrapod00/improve-project-settings-links
Docs: Add links to project settings
2024-11-13 08:34:05 -06:00
Thaddeus Crews
07d7d9bca5
Merge pull request #94372 from TokageItLab/advance-on-start
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
2024-11-13 08:33:57 -06:00
Thaddeus Crews
64ce03f261
Merge pull request #93440 from Calinou/import-size-limit-downsample-if-necessary
Downsample textures on import if necessary for technical reasons
2024-11-13 08:33:40 -06:00
bruvzg
45593d45b3 Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors. 2024-11-13 08:16:12 +02:00
Lisandro Lorea
21673336e6
Update doc/classes/Range.xml
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 20:29:04 -03:00
Lisandro Lorea
0175074bc7
Clarify effect of setting "page" parameter
Setting `page` affect the ScrollBar's _grabber_ length, not the ScrollBar node itself.
2024-11-12 18:22:03 -03:00
David Snopek
d6a4fe6c05 XR: Allow locking the camera to the XROrigin3D for benchmarking or automated testing 2024-11-12 15:06:27 -06:00
Brian Huynh
06bed7a8f2 Added notes on DirAccess
Some notes are ported from FileAccess (for example file_exist)
Other notes were added when needed (for example when included on the non static version but not on the static version)
Other entirely new notes were added as well when required for example when getting a list of directories or if a directory exist or not

Clarified note at the top and made it more in line with the one found in file access

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 14:29:01 -05:00
tetrapod00
5c15d346b2 Docs: Add links to project settings 2024-11-12 10:25:38 -08:00
Thaddeus Crews
646cef2ca2
Merge pull request #98680 from jaydensipe/expose-toast-notification-methods
Expose `get_editor_toaster` method to `EditorInterface`
2024-11-12 12:13:22 -06:00
Thaddeus Crews
aa6aa45675
Merge pull request #97373 from kitbdev/fix-splitcontainer-collapsed-doc
Fix SplitContainer collapsed documentation
2024-11-12 12:13:15 -06:00
Thaddeus Crews
179321a0a3
Merge pull request #91201 from bruvzg/con_type
[OS] Add functions to determine standard I/O device type.
2024-11-12 12:13:12 -06:00
Thaddeus Crews
f1d31304b2
Merge pull request #99002 from Mickeon/documentation-more-miscellaneous-oddities
Fix more miscellaneous oddities around the class reference
2024-11-12 12:13:10 -06:00
Thaddeus Crews
9309b37228
Merge pull request #97955 from RobProductions/fix-godot-nav-preset
Restore the original `Godot` preset zoom modifier
2024-11-12 12:13:05 -06:00
Thaddeus Crews
cc6ee3e956
Merge pull request #98713 from dalexeev/core-fix-callable-get-bound-arguments
Core: Fix `Callable.get_bound_arguments{,_count}()` return incorrect data
2024-11-12 12:13:04 -06:00
Thaddeus Crews
a5c5504dc2
Merge pull request #98689 from Meorge/tween-docs
Improve `Tween.set_ease` and `Tween.set_trans` documentation
2024-11-12 12:12:59 -06:00
Micky
eaebb3f864 Fix more miscellaneous oddities around the class reference 2024-11-12 17:44:45 +01:00
Thaddeus Crews
ab5a539549
Merge pull request #98423 from Calinou/doc-textedit-is-caret-visible
Clarify `TextEdit.is_caret_visible()` behavior in the class reference
2024-11-12 09:28:14 -06:00
Thaddeus Crews
686b1c4d98
Merge pull request #94326 from davidrautert/blit-rect-alpha-notes
Add note about alpha channels blending to `Image.blit_rect`
2024-11-12 09:28:12 -06:00
Thaddeus Crews
0f95061092
Merge pull request #98787 from Meorge/tween-docs-stop
Update docs for `Tween.stop` to clarify behavior
2024-11-12 09:28:06 -06:00
Thaddeus Crews
3128bd06ac
Merge pull request #98264 from DevPoodle/rd-texture-format-docs
Add descriptions to RDTextureFormat's methods
2024-11-12 09:28:04 -06:00
Thaddeus Crews
2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
Thaddeus Crews
0439686bea
Merge pull request #99015 from CabalCrow/PacketPeerUDP-docs-example
Add examples to PacketPeerUDP class documentation
2024-11-12 09:27:59 -06:00
Thaddeus Crews
cb286da1dd
Merge pull request #99112 from bruvzg/get_model_name
Implement `get_model_name` on macOS and Windows.
2024-11-12 09:27:52 -06:00
Thaddeus Crews
e66d9988a6
Merge pull request #95774 from Mickeon/documentation-miscellaneous-oddities
Fix miscellaneous oddities around the class reference
2024-11-12 09:27:47 -06:00
Thaddeus Crews
47e7fb4406
Merge pull request #98587 from skyace65/SurroundingCells
Improve `TileMapLayer` get surrounding cells description
2024-11-12 09:27:46 -06:00
Thaddeus Crews
04f33894f5
Merge pull request #97041 from aXu-AP/script-highlight-scene
Highlight scripts used by current scene
2024-11-12 09:27:39 -06:00
Thaddeus Crews
6d08005ddb
Merge pull request #95758 from Mickeon/documentation-no-differences-String
Fix differences between String and StringName's documentation
2024-11-12 09:27:36 -06:00
Thaddeus Crews
9995c3eedd
Merge pull request #98446 from TokageItLab/look-at-modifier
Implement LookAtModifier3D
2024-11-12 09:27:35 -06:00
Thaddeus Crews
3e7d68da46
Merge pull request #98948 from Meorge/docs-clip-children
Add note to `CanvasItem.clip_children` about nesting
2024-11-12 09:27:31 -06:00
Thaddeus Crews
930079740f
Merge pull request #99075 from PhairZ/fix-transform3d-docs
Update `Transform3D.rotated_local()` description
2024-11-12 09:27:30 -06:00
Pablo Andres Fuente
eb86670f94 Add half precision floating point support to StreamPeer
Closes godotengine/godot-proposals#5983

Adds put/get methods to `StreamPeer` that handles half precision
floating point values.
Adds endode/decode half precision floating point to `marshalls`.
Adds `get_half` and `store_half` to `FileAccess`

Co-Authored-By: "Alfonso J. Ramos" <theraot@gmail.com>
2024-11-12 08:46:52 -03:00
Pāvels Nadtočajevs
a6dfd1cf6e Implement get_model_name on macOS and Windows. 2024-11-12 10:34:24 +02:00
Jayden Sipe
722d932466 Expose toast notification methods 2024-11-11 19:39:33 -05:00
Malcolm Anderson
0304f8fd57 Update docs for Tween.stop to clarify behavior
Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Updated wording in comments to be more concise
2024-11-11 16:34:45 -08:00
Micky
f789025d42 Add documentation note on Object's boolean context 2024-11-11 22:21:59 +01:00
David Rautert
ea2ea58a28
Add note about alpha channels blending to Image.blit_rect 2024-11-11 21:24:14 +01:00
Micky
0c2296fb1b Fix C# boolean "Prints" comments in documentation 2024-11-11 21:19:34 +01:00
Thaddeus Crews
a07fea1e93
Merge pull request #97906 from Calinou/doc-fileaccess-non-resource-export
Document non-resource file handling in FileAccess and ResourceLoader
2024-11-11 14:18:39 -06:00
Thaddeus Crews
87cf530bcf
Merge pull request #98282 from cadence-s/doc-fix-remote-debug-host
Fix documentation tip for `network/debug/remote_host` editor setting
2024-11-11 14:18:37 -06:00
Thaddeus Crews
e964811682
Merge pull request #99038 from Mickeon/documentation-truth-and-bold
Fix `true` being surrounded by `[b]` tags in documentation
2024-11-11 14:18:35 -06:00
Thaddeus Crews
a5873ff1e8
Merge pull request #99031 from Mickeon/white-space-jumpscare
Trim a few no-break and zero-width spaces from codebase
2024-11-11 14:18:31 -06:00
Thaddeus Crews
c8ff788052
Merge pull request #96590 from reduz/list-directory
Provide a reliable way to see original resources in a directory
2024-11-11 14:18:28 -06:00
Thaddeus Crews
d76fbb7a40
Merge pull request #97356 from reduz/pck-file-removal
Add ability for PCK patches to remove files
2024-11-11 14:18:27 -06:00
Thaddeus Crews
3ee0c0a76e
Merge pull request #97609 from Manik2607/master
Add missing descriptions to `PhysicalBone3D` class.
2024-11-11 14:18:26 -06:00
Thaddeus Crews
2430b7f9b4
Merge pull request #97352 from reduz/uids-everywhere
Universalize UID support in all resource types
2024-11-11 14:18:25 -06:00
Thaddeus Crews
85c5a4f058
Merge pull request #98499 from tetrapod00/docs-dotnet-constructor-differences
Docs: Add notes about C# differences in Variant constructors
2024-11-11 14:18:22 -06:00
Thaddeus Crews
80345758ff
Merge pull request #96188 from Khusheete/tilemaplayer-cell-update
Add a way to know when a TileMapLayer's cell is modified
2024-11-11 14:18:17 -06:00
Thaddeus Crews
4b447ec4e5
Merge pull request #85430 from Calinou/os-expose-rendering-driver-method
Expose RenderingServer methods to get rendering driver and method name
2024-11-11 14:18:10 -06:00
Thaddeus Crews
4e7cf69e6e
Merge pull request #98738 from clayjohn/DOC-default-texture-filter
Clarify in default texture repeat and filter docs that they only impact the built in texture
2024-11-11 14:18:09 -06:00
Thaddeus Crews
360f42c281
Merge pull request #98859 from ydeltastar/method-selector
Make the method selector dialog available via `EditorInterface`
2024-11-11 14:18:08 -06:00
Thaddeus Crews
3945635142
Merge pull request #95396 from Calinou/doc-cubemap-import-templates
Add template images to the Cubemap class documentation
2024-11-11 14:18:06 -06:00
Thaddeus Crews
30d87229ed
Merge pull request #82845 from Hysterelius/master
Color: Expose OKHSL properties
2024-11-11 14:18:04 -06:00
Thaddeus Crews
869e059f07
Merge pull request #98074 from YeldhamDev/stop_moving_will_ya
Add a pin toggle to prevent involuntary bottom editor switching
2024-11-11 14:18:02 -06:00
Thaddeus Crews
0d47b84f63
Merge pull request #98585 from skyace65/CharFX
Remove link to outdated CharFX example project
2024-11-11 14:18:01 -06:00
Thaddeus Crews
2cf5461b7d
Merge pull request #94092 from allenwp/editor-export-plugin-docs-94045
`EditorExportPlugin` docs: Workaround for customized texture behavior
2024-11-11 14:17:58 -06:00
Thaddeus Crews
ed3de25a9a
Merge pull request #97415 from YeldhamDev/i_love_all_my_properties_equally
Make possible to favorite properties in the inspector
2024-11-11 14:17:57 -06:00
Silc Lizard (Tokage) Renew
6fc061b4fe Implement LookAtModifier3D 2024-11-12 05:03:35 +09:00
Malcolm Anderson
47be06b6ea Update Tween.set_ease and Tween.set_trans to reflect that they only apply to later Tweeners
Update doc/classes/Tween.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Update doc/classes/Tween.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Fix whitespace issue

Remove an unnecessary linebreak

Update doc/classes/Tween.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Fixed `set_trans` wording to match `set_ease` and removed static typing from examples
2024-11-11 11:43:45 -08:00
Hysterelius
2126df2dfd
Color: Expose OKHSL properties 2024-11-11 20:41:57 +01:00
Silc Lizard (Tokage) Renew
0c1f970adb Add advance_on_start option to NodeAnimation 2024-11-12 04:40:15 +09:00
FlooferLand!
22caab0248
Add note about LightmapGI only baking nodes under its parent
`LightmapGI`'s documentation currently doesn't mention the fact it only bakes nodes under its parent.
This can make the user think there is something wrong with their scene setup or 3D models, as it refuses to bake when the user's models / world isn't under the same parent as the `LightmapGI`.
2024-11-11 18:36:58 +02:00
Juan
2ac562cdf8 Add ability for PCK patches to remove files
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2024-11-11 16:34:37 +01:00
Michael Alexsander
bb07b2d619
Add a lock toggle to prevent involuntary bottom editor switching 2024-11-11 12:09:57 -03:00
PhairZ
9bf97b9582 Update [code]Transform3D.rotated_local()[/code] description
fixes #97799
2024-11-11 17:02:30 +02:00
Juan
d57846087b
Universalize UID support in all resource types
Ensures all resource types support UIDs in a project.

This is required to fix:
* Scripts and many other resource types can't be referenced by UID and when refactored the references are lost.
* Path export properties can't use UID for unsupported types.
* Refactoring problems when files are moved outside the editor (this PR effectively fixes it).
* Editor properly refreshing paths if they changed externally while opened (as example, git update).
  This needs to be addressed in a subsequent PR, but this one effectively sets the prerequisites.

Resource types that do not support UID will get a .uid file appended to them (this includes .gd, .gdshader, .gdextension, etc. files).
2024-11-11 15:59:56 +01:00
Souchet Ferdinand
d92f5e5799
Add TileMapLayer._update_cells virtual callback called when the TileMapLayer's cells are updated
Made `_update_cells` a hook into the `TileMapLayer`'s internal update
2024-11-11 13:29:38 +01:00
yds
9db8b0e333 Make the method selector dialog available via EditorInterface 2024-11-11 08:36:02 -03:00
Micky
932b1c434c Clean up more [b]Example:[/b] lines from the class reference 2024-11-11 12:05:34 +01:00
tetrapod00
c6cfed44e4 Docs: Update AStar3D examples 2024-11-10 14:19:14 -08:00
Micky
05745aaa4b Fix true being surrounded by [b] tags in documentation 2024-11-10 22:11:48 +01:00
Thaddeus Crews
e7867a7c8e
Merge pull request #97917 from TheYellowArchitect/patch-1
Remove note about missing per-vertex-shading
2024-11-10 12:13:08 -06:00
Thaddeus Crews
6bbc1cb6a9
Merge pull request #98036 from bruvzg/para_btn_spacing
[TextParagraph/Button] Add support for line spacing.
2024-11-10 12:13:03 -06:00
Thaddeus Crews
63838c936c
Merge pull request #98278 from a-johnston/fuzzy-search-rebase
Add fuzzy string matching to quick open search
2024-11-10 12:12:56 -06:00
Thaddeus Crews
b0a8540775
Merge pull request #98782 from tetrapod00/docs-tilemap-deprecation
Docs: Update TileSet to reference TileMapLayer instead of TileMap
2024-11-10 12:12:52 -06:00
Thaddeus Crews
4f416378a5
Merge pull request #98773 from KeyboardDanni/tileset_collision_priority
Add collision priority property to TileSet physics layers
2024-11-10 12:12:49 -06:00
Thaddeus Crews
f07f7e6e35
Merge pull request #98769 from arkology/timer_tool_autostart
Document Timer autostart in tool scripts
2024-11-10 12:12:48 -06:00
Thaddeus Crews
33ad26dad5
Merge pull request #98748 from tetrapod00/fix-aabb-docs
Docs: Fix AABB is_finite() and is_equal_approx()
2024-11-10 12:12:41 -06:00
Thaddeus Crews
da01ffc312
Merge pull request #98742 from yahkr/fix-docs
[Editor] Fix EditorSettings.xml docs for "ask_before_revoking_unique_name"
2024-11-10 12:12:38 -06:00
Thaddeus Crews
e2a7d510f0
Merge pull request #98966 from Dr-helicopter/master
Fix `engine_type_colors`'s description
2024-11-10 12:12:28 -06:00
Micky
1ffe8bb191 Trim a few no-break and zero-width spaces from codebase 2024-11-10 19:04:32 +01:00
Malcolm Anderson
ae9f2bd9df Add note to CanvasItem.clip_children about nesting
Add CanvasGroup information to clipping note
2024-11-10 09:51:57 -08:00
Emanuil Chizhov
5516088c51
Add examples to PacketPeerUDP class documentation.
Add examples for sending packets and listening for packets.

Fix documentation indentation.

Change tabs to spaced for codeblocks.

Fix typos

Remove typing in documentation code

Add a blank line to comply with style guidelines

Fix blank line to contain tabs

Remove tabs from empty code lines

Commit suggested changes by Mickeon

Use correct syntax for >
2024-11-10 18:34:29 +02:00
Silc Lizard (Tokage) Renew
761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
Micky
5c5460b026 Fix many untagged true/false/null in the documentation 2024-11-10 11:26:39 +01:00
Dr_helicopter
b04369e4e3 Fix engine_type_colors's description
in editor>editor settings>Text Editor>Theme, if you hover hover over "Engine Type Color", it has "Vector2", "Vector3"and "Color" as example but these are not Engine types. and their color is controlled by the "Base Type Color" setting. I discovered this while trying to customize my editor a bit more.
2024-11-09 12:40:18 +00:00
Thaddeus Crews
9b23b202ae
Merge pull request #98873 from girdenis-p/shadowed-variable-warning
Fix analyzer pushing `SHADOWED_VARIABLE` warning for members shadowed in subclass
2024-11-07 12:36:33 -06:00
Thaddeus Crews
8d03a463b3
Merge pull request #98899 from Calinou/doc-resourceloader-load-threaded-get-status
Clarify `ResourceLoader.load_threaded_get_status()` completion ratio description
2024-11-07 12:36:30 -06:00
Thaddeus Crews
671d6e3230
Merge pull request #98150 from hunterloftis/fix-default-import-threaded
Fix freeze on non-thread-safe custom importers
2024-11-07 12:36:20 -06:00
Hugo Locurcio
44b2c4e00d
Clarify ResourceLoader.load_threaded_get_status() completion ratio description 2024-11-06 16:53:18 +01:00
girdenis-p
413490c270 Fix analyzer pushing SHADOWED_VARIABLE warning for members shadowed in subclasses
This fixes a bug in the analyzer where it did not push the SHADOWED_VARIABLE_BASE_CLASS
warning for members shadowed by variable in subclass. It does this by comparing the class
which contains the shadowed member with the class containing the variable, and pushing
SHADOWED_VARIABLE only if the classes are the same. Additionally, SHADOWED_VARIABLE_BASE_CLASS
can take an extra symbol which helps to specify the line for non native base class.
2024-11-06 15:04:14 +00:00
bruvzg
76164c2aa9
[OS] Add functions to determine standard I/O device type. 2024-11-06 13:33:38 +02:00
Thaddeus Crews
0976c6a1a6
Merge pull request #98828 from tetrapod00/docs-springarm-link
Docs: Add link to SpringArm3D tutorial
2024-11-05 18:36:11 -06:00
clayjohn
fa4f701e0e Clarify in default texture repeat and filter docs that they only impact the built in texture 2024-11-05 12:14:09 -08:00
aXu-AP
f168d0c80f Highlight scripts used by current scene 2024-11-05 17:10:02 +02:00
Thaddeus Crews
7d950c1567
Merge pull request #98712 from syntaxerror247/android_accent_color
[Android] Implement support for accent color retrieval
2024-11-04 21:52:04 -06:00
Thaddeus Crews
11b90086b7
Merge pull request #96705 from elmajime/camera_from_external_feed
Add support for external camera feed from external plugin on Android
2024-11-04 21:51:50 -06:00
Danil Alexeev
e379cc76e5
Core: Fix Callable.get_bound_arguments{,_count}() return incorrect data 2024-11-04 22:41:56 +03:00
tetrapod00
742fdf9a92 Docs: Add link to SpringArm tutorial 2024-11-04 11:19:25 -08:00
tetrapod00
e3999c00ff Docs: Update TileSet to reference TileMapLayer instead of TileMap 2024-11-04 09:14:35 -08:00
arkology
d000d3b101 Document Timer autostart in tool scripts 2024-11-03 11:08:19 +03:00
Danni
3d132076b2 Add collision priority property to TileSet physics layers 2024-11-02 15:37:49 -04:00
ocean (they/them)
6c65213487 Extend Curve to allow for arbitrary domains 2024-11-02 08:25:40 -04:00
tetrapod00
ba30a8707a Docs: Fix AABB is_finite() and is_equal_approx() 2024-11-01 18:04:16 -07:00
yahkr
4d41b455ba [Editor] Fix EditorSettings.xml docs for "ask_before_revoking_unique_name" 2024-11-01 19:31:07 -04:00
Anish Mishra
7b866f302f [Android] Implement support for accent color retrieval 2024-11-01 16:19:09 +05:30
bruvzg
e81a2afbc4
[TextServer] Reset subpixel shift on blank glyphs and import option to enable/disable it. 2024-11-01 10:18:57 +02:00
Thaddeus Crews
c6c464cf9a
Merge pull request #98679 from Bromeon/qol/rename-static-call
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Rename `ClassDB::class_call_static_method` -> `class_call_static`
2024-10-31 20:14:44 -05:00
Thaddeus Crews
be70c2f873
Merge pull request #98350 from syntaxerror247/android-native-filepicker
[Android] Implement native file picker support
2024-10-31 20:14:41 -05:00
Thaddeus Crews
194ddfd0c4
Merge pull request #97257 from YeldhamDev/guess_godot_is_unity_after_all
Add "Game" editor for better runtime debugging
2024-10-31 20:14:34 -05:00
Clay John
7187c251da
Merge pull request #98620 from zeux/lodgen-cleanup
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
2024-10-30 17:13:57 -07:00
Jan Haller
a025ceddc0 Rename ClassDB::class_call_static_method -> class_call_static 2024-10-30 19:07:28 +01:00
maxime.chambefort
6f846eb5c5 Added external camera feed from external plugin on Android 2024-10-30 18:30:28 +01:00
Michael Alexsander
16524a8a01
Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Anish Mishra
b2130efb31 [Android] Implement native file picker support 2024-10-30 14:53:02 +05:30
Anish Mishra
0dfd18c84b [DisplayServer] Add feature flag for native file dialog access to user/res and options 2024-10-30 14:13:43 +05:30
Thaddeus Crews
598cfbdfd6
Merge pull request #97020 from GuilhermeGSousa/fix-non-const-anim-node-process
Fix non const animation node `_process` virtual function
2024-10-29 19:26:00 -05:00
Thaddeus Crews
6d09a20c82
Merge pull request #97247 from thimenesup/draw_indirect_rd
Add draw indirect to Rendering Device
2024-10-29 19:25:57 -05:00
Thaddeus Crews
a8931f1aa9
Merge pull request #98652 from stuartcarnie/2d_texture_state_fixes
2D: Fix various issues and minor performance optimisations
2024-10-29 19:25:54 -05:00
Thaddeus Crews
3de789ec80
Merge pull request #98523 from MichaelMacha/patch-2
Fix typo in `OccluderInstance3D` documentation
2024-10-29 19:25:53 -05:00
Thaddeus Crews
7c7de0e889
Merge pull request #98265 from syntaxerror247/patch-2
Improve `_begin_customize_scenes` description
2024-10-29 19:25:52 -05:00
Thaddeus Crews
73830b3c12
Merge pull request #88628 from bruvzg/i_have_no_idea_what_im_doing
[macOS/iOS] Use hardware sampling rates for audio I/O.
2024-10-29 19:25:47 -05:00
Thaddeus Crews
b8f626a0e1
Merge pull request #65962 from 4d49/format-object
Add `Object` support for `String.format`
2024-10-29 19:25:45 -05:00
Thaddeus Crews
4fb1700d03
Merge pull request #98081 from ArjhanToteck/patch-1
Fix grammar mistake in Shortcut documentation
2024-10-29 19:25:43 -05:00
Thaddeus Crews
08d8909a65
Merge pull request #98574 from syntaxerror247/android_input_dialog
[Android] Implement native input dialog support
2024-10-29 19:25:37 -05:00
yds
e6eeaf28df Add editor setting to stop the bottom panel from switching to the stack trace 2024-10-29 19:50:13 -03:00
Stuart Carnie
0d1d945727
2D: Fix various issues and minor performance optimisations 2024-10-30 08:36:45 +11:00
Mansur Isaev
98c89f17c4 Add Object support for String.format 2024-10-29 22:27:33 +01:00
Clay John
748f4079e3
Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebased
Add Swappy & Pre-Transformed Swapchain
2024-10-29 12:34:40 -07:00
thimenesup
d36a872432 Add draw indirect to Rendering Device 2024-10-29 17:40:28 +01:00
Anish Mishra
be5d7f757d [Android] Implement native input dialog support 2024-10-29 20:02:08 +05:30
Michael Alexsander
d678b095f9
Make possible to favorite properties in the inspector 2024-10-28 21:18:21 -03:00
Matias N. Goldberg
aaa0e2fddf Add Swappy & Pre-Transformed Swapchain
- Adds Swappy for Android for stable frame pacing
- Implements pre-transformed Swapchain so that Godot's compositor is in
charge of rotating the screen instead of Android's compositor
(performance optimization for phones that don't have HW rotator)

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

Changes from original PR:

- Removed "display/window/frame_pacing/android/target_frame_rate" option
to use Engine::get_max_fps instead.
- Target framerate can be changed at runtime using Engine::set_max_fps.
- Swappy is enabled by default.
- Added documentation.
- enable_auto_swap setting is replaced with swappy_mode.
2024-10-28 18:55:37 -03:00
Adam Johnston
3ac043c508 Add fuzzy string matching to quick open search
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 -07:00
Arseny Kapoulkine
494fe2fe21 LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
"Raycast Normals" was introduced in 4.4 dev and defaulted to "false".
The limited testing results at the time suggested that raycasting
generally reduces normal quality compared to native simplifier results,
at the same time increasing vertex memory and import time.

To play it safe, we introduced a setting that defaulted to false, with
the goal of removing it later in 4.4 development cycle if no regressions
are noticed. Since we already had three dev snapshots and no reports,
this change removes the setting and associated code.

"Normal Split Angle" was only used when raycast normals were enabled;
this change removes it from the settings, but keeps it in the script
binding for compatibility.

Existing meshes import exactly the same after this change (unless they
chose to override raycasting which would be surprising).

split_normals helper was only used in this code path and is also removed
for simplicity; it is unlikely that this code will be useful as is, as
it can only regenerate normals without fixing tangents or updating
positions.
2024-10-28 10:14:04 -07:00
Clay John
a3080477ac
Merge pull request #98281 from timothyqiu/custom-tooltip-atm
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Don't override auto translate mode of custom tooltip
2024-10-27 19:25:37 -07:00
ArjhanToteck
eb761d83cb
Fix grammar mistake in Shortcut documentation 2024-10-27 14:39:57 -06:00
tetrapod00
c51cdaf006 Docs: Add note about C# differences in Variant constructors 2024-10-27 13:24:26 -07:00
skyace65
b16888286b Improve get surrounding cells description 2024-10-27 14:28:42 -04:00
skyace65
fdfd37f1a4 Remove link to outdated CharFX example project 2024-10-27 14:03:33 -04:00
kobewi
db70cf2585 Mention native file dialogs editor setting in EditorFileDialog description 2024-10-26 22:20:11 +02:00
Guilherme Sousa
ec62978dd0 Fix non const animation node process function 2024-10-26 17:56:51 +02:00
Thaddeus Crews
15bec19e11
Merge pull request #98421 from Calinou/doc-backbuffercopy-screen-reading-shaders-tutorial
Link to Screen-reading shaders tutorial in BackBufferCopy documentation
2024-10-25 13:04:11 -05:00