Commit graph

9739 commits

Author SHA1 Message Date
Rémi Verschelde
da916221a7
Merge pull request #88577 from davthedev/itemlist-light-refactor
Fix item positioning, text alignment & unwanted clipping of ItemList items
2024-02-29 13:54:03 +01:00
Rémi Verschelde
5c38b9bcf4
Merge pull request #88255 from Calinou/doc-richtextlabel-meta-clicked
Document using RichTextLabel's `meta_clicked` to handle clickable URLs
2024-02-29 13:53:54 +01:00
Rémi Verschelde
1cc9190c70
Merge pull request #81822 from nlupugla/nodepath-slice
Add `NodePath::slice` method
2024-02-29 13:53:34 +01:00
João Henrique Machado Silva
88df5ea8ac Add RandomNumberGenerator::rand_weighted method 2024-02-29 13:29:53 +01:00
A Thousand Ships
9b5cd8e240
[Doc] Fix some incorrect uses of "children" 2024-02-29 11:52:55 +01:00
Danil Alexeev
d90c9db27f
Core: Add Callable.create static method for Variant callables 2024-02-29 10:45:00 +03:00
kobewi
3aeb4a5542 Improve cursor_set_custom_image() method 2024-02-28 20:32:25 +01:00
Hugo Locurcio
3fe01226b7 Use black for font outlines by default instead of white
This makes font outlines more usable out of the box, as black
is one of the most commonly used colors for font outlines.
2024-02-28 20:25:15 +01:00
A Thousand Ships
1cc5b0aa0d
[Doc] Clarify some details about deferred calls 2024-02-28 17:04:47 +01:00
Adam Scott
dcf4cf79fd
Hide snap_2d_vertices_to_pixel setting to advanced 2024-02-28 10:59:41 -05:00
Rémi Verschelde
4a1397b58c
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
Closes #82885.
2024-02-28 13:46:23 +01:00
Rémi Verschelde
df78c0636d
Merge pull request #88798 from Malcolmnixon/xr-body-tracker
XR: Add body tracking support.
2024-02-28 09:34:40 +01:00
Malcolm Nixon
57aa734562 Add body tracking support. 2024-02-27 19:51:59 -05:00
Rémi Verschelde
f80cdeb597
Merge pull request #87504 from smix8/nav_mesh_auto_rebake
Auto-bake edited NavigationPolygons in the Editor on a timer
2024-02-27 21:22:56 +01:00
smix8
10e8f3698b Auto-bake edited NavigationPolygons in the Editor on a timer
Auto-bakes edited NavigationPolygons in the Editor on a timer.
2024-02-27 20:51:38 +01:00
Hugo Locurcio
67e9ccdbc4
Display the build date in the editor and when starting the engine
This can be used to quickly see how recent a development build is,
without having to look up the commit date manually.
When juggling around with various builds (e.g. for benchmarking),
this can also be used to ensure that you're actually running the
binary you intended to run.

The date stored is the date of the Git commit that is built, not
the current date at the time of building the binary. This ensures
binaries can remain reproducible.

The version timestamp can be accessed using the `timestamp` key
of the `Engine.get_version_info()` return value.
2024-02-27 20:39:17 +01:00
Hugo Locurcio
ea03154a27
Document using RichTextLabel's meta_clicked to handle clickable URLs 2024-02-27 20:22:32 +01:00
David Giardi
f63728cb9f Fix item positioning & pointer detection areas of ItemList 2024-02-27 20:03:10 +01:00
A Thousand Ships
fe203d7003
Prevent threading problems in TileMap 2024-02-27 15:38:25 +01:00
Rémi Verschelde
0df286fde0
Merge pull request #88875 from aaronfranke/doc-textedit-gutter-type
Explain gutter types in the TextEdit documentation
2024-02-27 10:18:39 +01:00
Rémi Verschelde
4a4937318b
Merge pull request #88825 from adamscott/add-create-folder-icon
Add create folder icon
2024-02-27 10:18:13 +01:00
Rémi Verschelde
3780604d79
Merge pull request #88819 from lyuma/import_nodes_as_skeleton_bones
Add new scene import option to import as Skeleton
2024-02-27 10:18:00 +01:00
Rémi Verschelde
915f176903
Merge pull request #87973 from flooxo/master
Remove duplicate `ARRAY_CUSTOM_RGBA8_UNORM` ref in Mesh docs
2024-02-27 10:17:15 +01:00
Rémi Verschelde
7c0461af48
Merge pull request #82968 from Calinou/doc-physics-bounce-damping
Document Bounce = 1.0 not being sufficient for infinite energy conservation
2024-02-27 10:17:11 +01:00
Rémi Verschelde
e1be09145c
Merge pull request #80372 from Mickeon/doc-peeves-engineering
Overhaul Engine singleton documentation
2024-02-27 10:17:07 +01:00
Micky
c11b52b1e5 Overhaul Engine documentation 2024-02-26 20:59:47 +01:00
Hugo Locurcio
7ff1704b1b
Document Bounce = 1.0 not being sufficient for infinite energy conservation 2024-02-26 19:30:43 +01:00
Aaron Franke
8a3e1dfa02
Explain gutter types in the TextEdit documentation 2024-02-26 11:03:29 -06:00
Micky
03400d0326 Tweak SceneTree Documentation 2024-02-26 16:27:58 +01:00
Adam Scott
fd3666298c
Add create folder icon 2024-02-26 09:04:24 -05:00
Pedro J. Estébanez
5e144022e7 Enhance cache modes in resource loading
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669, #82830).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
2024-02-26 14:59:04 +01:00
Lyuma
652ef966f9 Add new scene import option to import as Skeleton
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08:00
Rémi Verschelde
08a3493f07
Merge pull request #88811 from Sauermann/fix-focus-change-doc
Mention how Control focus loss affects `Viewport.gui_focus_change`
2024-02-26 10:49:19 +01:00
Rémi Verschelde
785c69d5e2
Merge pull request #88791 from MajorMcDoom/add-bone-index
Make `Skeleton3D::add_bone` return the new bone index
2024-02-26 10:49:15 +01:00
Rémi Verschelde
9509a9e8dd
Merge pull request #83691 from theraot/slidedocs
Expanded documentation for vector slide and project
2024-02-26 10:48:37 +01:00
bruvzg
dad4aae386
[TextEdit] Add support for optional wrapped line indentation. 2024-02-26 08:20:14 +02:00
Markus Sauermann
80d8907f01 Mention how Control focus loss affects Viewport.gui_focus_change 2024-02-25 13:17:54 +01:00
Zi Ye
995bc8d049 Make Skeleton3D::add_bone return the new bone index right away, instead of requiring an additional call to get_bone_count. 2024-02-25 05:24:48 -06:00
Rémi Verschelde
ec901ae16e
Merge pull request #88767 from AThousandShips/string_doc_fix
[Doc] Fix GDScript casing of `String.num_scientific`
2024-02-25 11:50:12 +01:00
Rémi Verschelde
e69cdf3680
Merge pull request #87181 from Mickeon/doc-peeves-quaternion-i-keep-misspelling-it
Overhaul Quaternion documentation
2024-02-25 11:50:02 +01:00
Micky
38cd13c51a Overhaul Quaternion documentation 2024-02-25 01:09:15 +01:00
A Thousand Ships
b384beccc5
[Doc] Fix GDScript casing of String.num_scientific 2024-02-24 17:51:21 +01:00
K. S. Ernest (iFire) Lee
04d43947bf
Add ufbx for FBX importing
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion.

Key changes include:

- Support for importing geometry helper nodes in FBX files.
- Addition of cameras and lights with updated names.
- Removal of the fbx importer manager.
- Introduction of ModelDocument3D and updates to its methods.
- Changes to FBX import options and visibility.
- Updating the documentation and handling some errors.
- Store the original non-unique node, mesh and animation names in FBX and glTF.

Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com>
2024-02-23 22:33:04 +01:00
Rémi Verschelde
09c58edc0a
Merge pull request #88708 from AThousandShips/experimental_docs
[Docs] Fix some experimental/deprecated hints
2024-02-23 22:19:22 +01:00
Rémi Verschelde
0d83267923
Merge pull request #88639 from dsnopek/xrserver-hand-tracker
Provide generic interface for XR hand tracking
2024-02-23 22:19:05 +01:00
A Thousand Ships
9e6158d687
[Docs] Fix some experimental/deprecated hints 2024-02-23 19:48:53 +01:00
David Snopek
2184fa9698 Provide generic interface for XR hand tracking 2024-02-23 12:20:22 -06:00
bruvzg
ad017a20ea
[TextServer] Implement soft hyphen handling. 2024-02-23 12:40:13 +02:00
Rémi Verschelde
5b968af176
Merge pull request #88444 from DaltonSW/master
Fix function description for `Font.get_char_size()`
2024-02-23 11:29:37 +01:00
Rémi Verschelde
12817f2993
Merge pull request #87025 from bruvzg/button_wrap
[Button] Add autowrap feature.
2024-02-23 11:29:32 +01:00
Rémi Verschelde
42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals 2024-02-23 11:29:22 +01:00
Raul Santos
5ba92e5a57
Fix some DEFVALs to use the right type
- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
2024-02-23 01:50:18 +01:00
Rémi Verschelde
213c835cde
Merge pull request #85017 from Geometror/vs-redesign
Redesign the graph editor for visual shaders
2024-02-22 23:34:19 +01:00
Hendrik Brucker
02a33b67a8 Redesign the graph editor for visual shaders 2024-02-22 20:40:09 +01:00
Rémi Verschelde
b15105a358
Merge pull request #88641 from Calinou/doc-add-keywords
Add keywords to improve search in the class reference
2024-02-22 16:53:59 +01:00
Rémi Verschelde
c17f3d7c05
Merge pull request #88665 from KoBeWi/nice_help_bro
Fix implementation of `property_can_revert()` in PropertyListHelper
2024-02-22 16:39:44 +01:00
Rémi Verschelde
43771659cb
Merge pull request #86610 from Joseph-DiGiovanni/system-theme-options
Add option for editor to follow system theme and accent colors
2024-02-22 16:39:40 +01:00
Hugo Locurcio
f781571d07
Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01:00
kobewi
aeec3c1309 Add methods to add submenus without using names 2024-02-22 15:13:53 +01:00
kobewi
5473c7e222 Fix implementation of property_can_revert() in PropertyListHelper 2024-02-22 15:05:19 +01:00
Rémi Verschelde
9c626b6236
Merge pull request #88661 from TokageItLab/fix-dominant-conv
Force non-numeric ValueTrack to use Discrete with Dominant
2024-02-22 14:39:21 +01:00
Silc Lizard (Tokage) Renew
8423574a24 Force non-numeric ValueTrack use Discrete with Dominant 2024-02-22 21:43:35 +09:00
Rémi Verschelde
ac7c763381
Merge pull request #88635 from SaNeOr/master_update_mainloop_docs
C#: Document that MainLoop needs to be registered in the global class
2024-02-22 11:23:31 +01:00
Rémi Verschelde
9a58d1a977
Merge pull request #88593 from dustdfg/patch-1
Clarify that `is_pixel_opaque` function gets position in local coordinates
2024-02-22 11:23:24 +01:00
bruvzg
00480fc818
[Button] Add autowrap feature. 2024-02-22 12:11:58 +02:00
smix8
313c1d1100 Add function to get navigation map iteration id from NavigationServer
Adds function to get navigation map iteration id from NavigationServer.
2024-02-22 09:45:49 +01:00
SaNeOr
3122b368c0 Additional docs: c# mainloop needs to be registered in the global class 2024-02-22 00:40:26 +08:00
Rémi Verschelde
846d075a2f
i18n: Sync translations with Weblate
First sync with the 4.3 changes.
2024-02-21 15:32:56 +01:00
Yevhen Babiichuk (DustDFG)
c4a59b26f2 Clarify that is_pixel_opaque function gets position in local coordinates
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-02-21 16:23:21 +02:00
Rémi Verschelde
14a05f0e84
Merge pull request #84584 from mutantbob/capture-doc
Add details about `AudioEffectCapture.clear_buffer()` and `get_buffer()`
2024-02-21 15:22:39 +01:00
Florian Grabmeier
02faccd14f Remove duplicate reference of CUSTOM_ARRAY_RBGA8_URNOM in docs 2024-02-21 13:54:31 +01:00
Rémi Verschelde
292f4c7f97
Merge pull request #80214 from BastiaanOlij/rendering_effect
Implement hooks into renderer
2024-02-20 23:59:27 +01:00
Rémi Verschelde
dc2d1e3f47
Merge pull request #79452 from /ysort-update-first-item-position 2024-02-20 23:59:17 +01:00
Rémi Verschelde
73d502fbc1
Merge pull request #88602 from puchik/remove-cpuparticle-custom-aabb-init
Remove unnecessary AABB initialization for CPUParticles
2024-02-20 19:34:57 +01:00
Rémi Verschelde
73758e093e
Merge pull request #88456 from sabslikesobs/master
Expose pixel snapping settings add pixel-art notes
2024-02-20 19:34:48 +01:00
Arman Elgudzhyan
c41725c9c6 Removed unnecessary AABB initialization for CPUParticles
Setting an AABB manually for CPUParticles unnecessarily registers as a custom AABB and can cause issues on some platforms and hardware.
2024-02-20 09:48:18 -08:00
Robert Forsman
182b9ef38e
Add details about AudioEffectCapture.clear_buffer() and get_buffer() 2024-02-20 18:27:19 +01:00
TML
6a17f2a82d
Expose CanvasLayer::get_canvas_layer_node() 2024-02-20 18:14:47 +01:00
Jezer Mejía
07313a08f4 Migrate macos controller API to GameController.h
This should fix a lot of issues regarding to old controller API, such as vibration

Haptics (vibrations) are only available in macOS 11+, so haptics are now
processed in macOS 11+ only. Also, this doesn't interfere with
controller's input as controller support is available in macOS 10.9+.

Added a Note for macOS regarding vibration support
2024-02-20 08:13:05 -06:00
Rémi Verschelde
07254d9b1b
Merge pull request #88443 from Mickeon/documentation-hunting-for-deprecated
Update many Deprecated/Experimental descriptions for consistency
2024-02-20 11:12:07 +01:00
Rémi Verschelde
da05766107
Merge pull request #80690 from dalexeev/make-rst-docs-consistent-with-editor-help
Make RST docs consistent with Editor Help docs
2024-02-20 11:11:53 +01:00
Danil Alexeev
8ed19d1a24
Make RST docs consistent with Editor Help docs 2024-02-19 20:03:27 +03:00
Cariad Eccleston
9472ccbcdd
Fix "dimensionnal" typo 2024-02-19 16:43:42 +00:00
Rémi Verschelde
aa7ac130c0
Merge pull request #88312 from Malcolmnixon/face-tracker-provider
Add XR Face Tracking support
2024-02-19 10:43:45 +01:00
Rémi Verschelde
da26ef2d3e
Merge pull request #88492 from TokageItLab/dominant-anim
Make `ANIMATION_CALLBACK_MODE_DISCRETE_DOMINANT` be default for AnimationPlayer
2024-02-19 01:25:10 +01:00
Rémi Verschelde
f2dd03f112
Merge pull request #88503 from AThousandShips/albedo_fix
Fix some leftover references to `hint_albedo` in docs
2024-02-19 00:08:58 +01:00
Rémi Verschelde
0734ee6383
Merge pull request #83606 from k0T0z/enhance-process-material-doc
Clarify that some `ParticleProcessMaterial` properties have effect over the lifetime
2024-02-19 00:07:26 +01:00
Rémi Verschelde
739cb2d9e1
Merge pull request #79758 from KoBeWi/understandment
Clarify `Tween.set_parallel()`
2024-02-19 00:07:16 +01:00
A Thousand Ships
e5266f71b9
Fix some leftover references to hint_albedo in docs 2024-02-18 16:57:38 +01:00
Silc Lizard (Tokage) Renew
3d6d5a6a36 Make CallbackModeDiscrete.Dominant be default for AnimationPlayer 2024-02-18 20:02:20 +09:00
Bastiaan Olij
5a98845655 Implement hooks into renderer 2024-02-18 21:54:21 +11:00
Rémi Verschelde
e8755b380a
Merge pull request #84792 from scriptsengineer/distance-fog
Add optional depth fog to Environment
2024-02-18 11:23:29 +01:00
Eidolon
08f4560e69 Add optional depth fog 2024-02-17 22:39:34 -03:00
Malcolm Nixon
7d1a1abe76 Initial XRFaceTrackingProvider and XRFaceTracker work.
Updated to XRFaceModifier3D.
2024-02-17 20:12:47 -05:00
Sabs, like Sobs
3475156ae3 Expose pixel snapping settings add pixel-art notes
This small in-engine documentation change aims to make it easier to
discover ways to handle pixel art aesthetics.

- I have moved 2D pixel snapping settings out of "Advanced." This now matches other pixel-art-friendly settings for
GUI Snapping and Default Texture filtering.
- I've added notes to the project settings and Sprite/AnimatedSprite sources to hint users towards better understanding of why pixelated sprites may not work correctly and what to do about it. This should help users make informed decisions for their needs.

Context: Proper handling of pixel art in Godot is routinely frustrating for new users: I, like others, assumed that Godot would act on pixels, not subpixels, when I was working a pixel art game. I was confused when my interpolations would appear blurry, and when pixel textures would be distorted for no apparent reason (this was because of centering).
I had naively thought that setting Linear interpolation would be the single "it's a pixel art game" toggle, but that only hid the underlying issues until later. I had no idea there was a snap-to-pixel option because it was hidden in the Advanced options, since my default assumption was that a pixel art game would want no subpixels at all.

Some references for the frustration:

- https://github.com/godotengine/godot/issues/82696
- https://www.reddit.com/r/godot/comments/fah25e/best_way_to_achieve_pixel_perfect_rendering/
- https://shaggydev.com/2021/09/21/project-setup-for-pixel-art/
2024-02-17 23:40:53 +00:00
Micky
f9a758772a Update many Deprecated/Experimental descriptions for consistency 2024-02-17 21:33:12 +01:00
Rémi Verschelde
92fcbe2f5c
Revert "Allow configuration warnings to refer to a property"
This reverts commit bf37a9bac6.
2024-02-17 19:04:18 +01:00
Dalton
c9bc54637b
Fix function description for Font.get_char_size()
Removed description implying you can pass a second char in order to account for kerning
2024-02-17 10:00:01 -06:00
Silc Lizard (Tokage) Renew
4659090543 Make consistent the retrieval of audio tracks 2024-02-18 00:15:33 +09:00