Commit Graph

10976 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Thaddeus Crews
07e759b74a
Merge pull request #97771 from dsnopek/openxr-linux-egl
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 -05:00
Thaddeus Crews
02088ab44c
Merge pull request #74714 from dalexeev/expose-bresenham-line
Expose `Geometry2D.bresenham_line()` method
2024-10-25 13:04:05 -05:00
Thaddeus Crews
a2e3473532
Merge pull request #98378 from dalexeev/doc-clarify-engine-debugger
Clarify `EngineDebugger` and `EditorDebugger*` documentation
2024-10-25 13:04:04 -05:00
Thaddeus Crews
422535ee86
Merge pull request #97966 from mh114/mh114-fix-control-doc-typo
Fix a documentation typo in `Control._drop_data()` C#-example.
2024-10-25 13:03:56 -05:00
Thaddeus Crews
eb18b0dee2
Merge pull request #98332 from syntaxerror247/Improve-HttpRequest-Docs
Add missing `HTTPRequest` Result descriptions.
2024-10-25 13:03:51 -05:00
Thaddeus Crews
de6814daae
Merge pull request #94108 from Calinou/obj-import-add-generate-lods-shadow-mesh-lightmap-uv2
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
2024-10-25 13:03:50 -05:00
Thaddeus Crews
1f346a5dcd
Merge pull request #98435 from Calinou/audio-add-get-driver-name
Add `AudioServer.get_driver_name()` to get the actual audio driver name
2024-10-25 13:03:41 -05:00
bruvzg
c8609f4c0f
[macOS/iOS] Use hardware sampling rates for audio I/O. 2024-10-25 19:26:24 +03:00
Michael Macha
9e51379cbb
Update OccluderInstance3D.xml
Corrected a typo; "Debug Advanced" should be "Display Advanced".
2024-10-25 09:08:38 -06:00
Haoyu Qiu
6424b201e2 Don't override auto translate mode of custom tooltip 2024-10-25 16:13:45 +08:00
Danil Alexeev
9f0ae21095
Expose Geometry2D.bresenham_line() method
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-10-25 10:27:55 +03:00
Clay John
67dbb46606
Merge pull request #98480 from tetrapod00/link-project-settings-tutorial
Docs: Link to Project Settings tutorial from ProjectSettings class
2024-10-24 18:40:42 -07:00
Hugo Locurcio
b8ee61f45d
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
This puts OBJ mesh import on parity with 3D scene import. It's now
possible to have the same level of optimization as imported 3D scenes
while using the OBJ mesh workflow.

`optimize_indices_for_cache()` is now always called on import as well,
similar to what the 3D scene import already does.
2024-10-25 02:48:42 +02:00
Thaddeus Crews
c278d57233
Merge pull request #98427 from syntaxerror247/document-immersive-mode
Add documentation for Android immersive mode
2024-10-24 13:23:05 -05:00
Thaddeus Crews
cfc05c5e0f
Merge pull request #85338 from EMBYRDEV/shadow-caster-mask
Add `shadow_caster_mask` to Light3D.
2024-10-24 13:22:59 -05:00
Thaddeus Crews
f25c082c40
Merge pull request #98490 from KoBeWi/pointer_to_canvas
Improve `make_canvas_position_local()` description
2024-10-24 13:22:52 -05:00
Thaddeus Crews
28f56eb1c7
Merge pull request #98473 from tetrapod00/str-docs
Docs: Link to GlobalScope string methods from String class ref
2024-10-24 13:22:47 -05:00
Thaddeus Crews
e2bd0a8298
Merge pull request #98458 from KoBeWi/don't_repeat_the_same_mistakes
Clarify tiling of AtlasTexture
2024-10-24 13:22:46 -05:00
Thaddeus Crews
ff5e2d7db1
Merge pull request #98455 from betalars/audio-doc-enhancements
AudioEffects documentation enhancements
2024-10-24 13:22:41 -05:00
Thaddeus Crews
8c52533aed
Merge pull request #86539 from stechyo/gdext/expose-audio-playback-methods
Expose some AudioStreamPlayback methods (namely `mix_audio()`).
2024-10-24 13:22:35 -05:00
Thaddeus Crews
ab4de57904
Merge pull request #98438 from BrianBHuynh/master
Document the differences between GDScript and GlobalScope
2024-10-24 13:22:33 -05:00
Thaddeus Crews
444ee64062
Merge pull request #98304 from timothyqiu/menu-only-shortcut-keys
Clarify `LineEdit.shortcut_keys_enabled` only affects context menu items
2024-10-24 13:22:32 -05:00
betalars
1be2f8c535 AudioEffectFilter and StereoEnhance: Documentation improvements 2024-10-24 15:15:52 +02:00
kobewi
e0c7e063e5 Improve make_canvas_position_local description 2024-10-24 15:10:20 +02:00
tetrapod00
8f7e8c59ff Docs: Link to Project Settings tutorial from ProjectSettings class 2024-10-23 20:51:20 -07:00
tetrapod00
a0134ad375 Docs: link to GlobalScope string methods from String docs 2024-10-23 14:07:27 -07:00
kobewi
3ebac9006b Clarify tiling of AtlasTexture 2024-10-23 23:03:19 +02:00
Brian Huynh
360b84bad5 Clarification to the description of Global scope in regards to GDScript
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.

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

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

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

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

Update doc/classes/@GlobalScope.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-10-23 02:10:03 -04:00
tetrapod00
9cf6cb010e Fix incorrect Transform2D docs
The y vector of a transform 2d was incorrectly described as pointing up.
2024-10-22 17:16:39 -07:00
Hugo Locurcio
77c31b9cc8
Add AudioServer.get_driver_name() to get the actual audio driver name
The project setting does not reflect CLI argument overrides
(including `--headless` which sets the audio driver to `Dummy`),
so it can't be reliably used to detect which audio driver is
actually being used at run-time.
2024-10-22 23:14:59 +02:00
Anish Mishra
827961e4e5 Update documentation for Android immersive mode 2024-10-22 22:55:43 +05:30
Hugo Locurcio
34f5d018f1 Link to Screen-reading shaders tutorial in BackBufferCopy documentation 2024-10-22 16:38:24 +02:00
Thaddeus Crews
22822f71ac
Merge pull request #97905 from 0x53A/patch-1
Update Node.xml: specify that normal processing happens in tree order
2024-10-21 16:39:27 -05:00
Thaddeus Crews
7dbea98c49
Merge pull request #97005 from Repiteo/core/window-corner-style
Core: Add `DisplayServer` flag for sharp corners
2024-10-21 16:39:25 -05:00
Thaddeus Crews
8b5c20e2b0
Merge pull request #98283 from tetrapod00/canvasmodulate-link
Docs: Add link to 2D lights and shadows from CanvasModulate
2024-10-21 16:39:24 -05:00
Thaddeus Crews
77da16ce69
Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 -05:00
Thaddeus Crews
7a438dc72e
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
Thaddeus Crews
4ce5235fbd
Merge pull request #98203 from timothyqiu/layout-dir-created-equal
Add System Locale layout direction for `Control` and `Window`
2024-10-21 16:39:07 -05:00
Danil Alexeev
be41e6f84e
Clarify EngineDebugger and EditorDebugger* documentation 2024-10-21 11:36:59 +03:00
Lukas Rieger
5c65f80199 Update Node.xml: specify that normal processing happens in tree order 2024-10-20 18:41:54 +02:00
Anish Mishra
8baaa2dd5a Add missing HTTPRequest Result descriptions. 2024-10-19 14:22:56 +05:30
Haoyu Qiu
fc7dd35d78 Clarify LineEdit.shortcut_keys_enabled only affects context menu items 2024-10-19 00:49:07 +08:00
Thaddeus Crews
f8c4a683d7
Core: Add DisplayServer flag for sharp corners 2024-10-18 11:20:21 -05:00
tetrapod00
4b37fb3f88 Docs: Add link to 2D lights and shadows from CanvasModulate 2024-10-17 19:53:41 -07:00
Cadence
06dafc9a1a Fix documentation tip for network/debug/remote_host editor setting 2024-10-17 22:29:06 -04:00
Clay John
cdf45f73ab
Merge pull request #96893 from tetrapod00/docs-crosslink-antialiasing
Docs: Add cross-links to antialiasing project settings
2024-10-17 16:54:19 -07:00
TheYellowArchitect
e994c49a40 Remove note about missing per-vertex-shading 2024-10-18 00:00:20 +03:00
Anish Mishra
9d25cf76f2 Improve _begin_customize_scenes description 2024-10-17 20:36:32 +05:30
Haoyu Qiu
009446a277 Add System Locale layout direction for Control and Window 2024-10-17 07:52:07 +08:00
David Giardi
ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +02:00
Thaddeus Crews
04692d83cb
Merge pull request #98238 from timothyqiu/not-append
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
Fix wording in description of `store_line` and `store_string`
2024-10-16 14:16:05 -05:00
Haoyu Qiu
e7e0e65159 Fix wording in description of store_line and store_string 2024-10-16 23:41:50 +08:00