1
0
Fork 0
Commit Graph

11651 Commits

Author SHA1 Message Date
Thaddeus Crews 5c7c5270a9
Merge pull request #107509 from MJacred/patch-1
Add warning about infinite recursion to NavigationAgent docs
2025-06-24 18:34:30 -05:00
Thaddeus Crews db28859774
Merge pull request #107591 from timothyqiu/group-enable-default
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
kobewi 015cc38912 Mark GDScript and shader warnings for translation 2025-06-24 23:11:56 +02:00
Thaddeus Crews 987832be46
Merge pull request #107895 from AThousandShips/fix_doc_spelling
[Docs] Various grammar and spelling fixes
2025-06-24 09:58:50 -05:00
Thaddeus Crews e5ece3c514
Merge pull request #107862 from Naros/scripteditor-clear-docs-from-script
Expose `ScriptEditor.clear_docs_from_script`
2025-06-24 09:58:48 -05:00
MJacred b313955936 Add a note about navigation mesh baking issues when using `0` for the `agent_radius` 2025-06-24 15:10:07 +02:00
A Thousand Ships 2db7ecd410
[Docs] Various grammar and spelling fixes 2025-06-23 20:54:08 +02:00
MJacred ef2ec1d937 Add a note about navigation mesh baking issues when using `0` for the `agent_radius` 2025-06-23 10:23:09 +02:00
Rémi Verschelde ba049a5565
Merge pull request #107825 from bruvzg/gr_slot_fm
[GraphNode] Fix slot focus rect draw, make slot focus mode configurable.
2025-06-23 00:21:07 +02:00
Rémi Verschelde d0d13b5f4c
Merge pull request #101732 from Yelloween10/update-capsule-docs
Update capsule documentations for size constraint clarifications
2025-06-23 00:20:56 +02:00
Chris Cranford 7e0b1dfb25
Expose `ScriptEditor.clear_docs_from_script` 2025-06-22 13:55:01 -04:00
Pāvels Nadtočajevs 71834ebbdd
[GraphNode] Fix slot focus rect draw, make slot focus mode configurable. 2025-06-22 15:07:11 +03:00
kobewi 29a3f56701 Clarify _set/_get description 2025-06-21 22:58:54 +02:00
Yelloween 48d1c95a17 Update capsule documentations for size constraint clarifications 2025-06-21 20:49:41 +03:00
notgoyome e37efa8722 Fix: make nav_map_2d uses rasterizer cell scale options in 2d navigation settings 2025-06-21 16:51:17 +02:00
Rémi Verschelde bd90d6926d
Merge pull request #107786 from akien-mga/revert-102313
Revert "Rework scene preview thumbnails"
2025-06-21 11:14:22 +02:00
Rémi Verschelde a0f9f5d90a
Merge pull request #107770 from RandomShaper/fix_res_dupe_bindings
Enhance bindings of deep resource duplication
2025-06-21 11:14:19 +02:00
Rémi Verschelde 1792d4e572
Merge pull request #105048 from Mickeon/documentation-no-differences-RayCast
Fix differences between RayCast2D and RayCast3D documentation
2025-06-21 11:14:02 +02:00
Rémi Verschelde 45533589e4
Revert "Rework scene preview thumbnails"
This reverts commit 08343189dc.

While the feature is great, a number of issues have been found with the
implementation, and we need more time to resolve them.

So we roll this back for 4.5, to rework the feature for a later Godot
release.
2025-06-21 00:05:57 +02:00
Pedro J. Estébanez 7dc37bdc9c Enhance bindings of deep resource duplication 2025-06-20 18:40:41 +02:00
Thaddeus Crews c7d2ea4f68
Merge pull request #107388 from BastiaanOlij/openxr_render_models_ext
OpenXR: Add support for render models extension
2025-06-20 08:38:57 -05:00
Thaddeus Crews 8aba865a86
Merge pull request #107708 from bruvzg/os_restore
Restore per font oversampling override.
2025-06-20 08:38:56 -05:00
Pāvels Nadtočajevs 22e99a4901
Restore per font oversampling override. 2025-06-19 18:10:54 +03:00
Thaddeus Crews 71680094f8
Merge pull request #107715 from devloglogan/body-tracker-joint-fix
Adjust names of new `XRBodyTracker` joints
2025-06-19 09:53:54 -05:00
Bastiaan Olij b65b367a6f OpenXR: Adding support for the render model extension 2025-06-19 19:14:49 +10:00
Thaddeus Crews 08e72e8e6c
Merge pull request #107609 from raulsntos/dotnet/shortcut-docs
C#: Fix Shortcut example
2025-06-18 18:13:58 -05:00
Thaddeus Crews a07ea48f64
Merge pull request #104530 from RedMser/accept-dialog-custom-action-docs
Clarify that AcceptDialog's `custom_action` is only triggered if action is non-empty
2025-06-18 18:13:55 -05:00
Thaddeus Crews a8d66fc6aa
Merge pull request #107576 from Elip100/patch-1
Docs: Fix typo and spacing in vector coordinates
2025-06-18 18:13:47 -05:00
Thaddeus Crews 3a81b57e8c
Merge pull request #107567 from Joey-Einerhand/master
Remove angle constraint mention from SkeletonModification2DFABRIK class docs
2025-06-18 18:13:46 -05:00
Thaddeus Crews 82879db530
Merge pull request #107564 from KoBeWi/super_notifications
Add a note about `_notification()` being multilevel
2025-06-18 18:13:44 -05:00
Thaddeus Crews dd3ae0b1a3
Merge pull request #107554 from timothyqiu/depstr
Improve `ResourceLoader.get_dependencies()`'s description
2025-06-18 18:13:41 -05:00
Thaddeus Crews 2fc899e4dd
Merge pull request #98566 from Geometror/vs-refactor-p1
Fix and improve editor state persistence for the VisualShader editor
2025-06-18 18:13:23 -05:00
devloglogan 7a2db8c67d Adjust names of new XRBodyTracker joints 2025-06-18 12:26:25 -05:00
Raul Santos 46bd73a4d0
C#: Fix Shortcut example
- Follow our code-style and conventions.
- Match the GDScript example more closely.
- Replace `set_events()` method with `events` property.
2025-06-17 19:13:21 +02:00
kobewi b103f2d8c1 Add a note about _notification() being multilevel 2025-06-16 22:26:37 +02:00
Micky a8e9d8e37a Reword `text_editor/completion/add_type_hints`'s description 2025-06-16 19:04:44 +02:00
Elip100 62bcb5c315
Docs: Fix typo and spacing in vector coordinates
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-16 15:44:20 +02:00
Haoyu Qiu a7ab249a2a Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default 2025-06-16 20:03:49 +08:00
Haoyu Qiu 2952e6f6aa Improve `ResourceLoader.get_dependencies()`'s description 2025-06-16 16:07:53 +08:00
Rémi Verschelde ce9faf6833
Merge pull request #107565 from mihe/rigid-body-docs-warning
Clarify note in documentation about childing rigid bodies
2025-06-16 01:52:57 +02:00
Rémi Verschelde b6e09b7242
Merge pull request #107474 from bruvzg/ds_docs_cap
[Docs] Add few notes about screen capture.
2025-06-16 01:52:24 +02:00
Mikael Hermansson ced648ff77 Clarify warning in documentation about childing rigid bodies 2025-06-15 22:27:29 +02:00
Joey Einerhand bc246408f5
Remove angle constraint mention from SkeletonModification2DFABRIK.xml
SkeletonModification2DFABRIK.xml does not support angle constraints, so the line in the docs saying it does should be removed.
2025-06-15 20:20:03 +02:00
Micky 76a7c31a5d Rename TreeItem's `alt_text` to `description` for consistency
...with Accessibility API
2025-06-14 19:56:30 +02:00
Hendrik Brucker 666d7c030b [VisualShader] Fix and improve editor state persistence 2025-06-14 13:10:17 +02:00
Rémi Verschelde 4c5c577612
Merge pull request #107368 from Meorge/docs/what-is-fuzzy-2
Improve description of fuzzy matching in editor settings documentation
2025-06-13 18:37:30 +02:00
Malcolm Anderson cf56390e81 Improve description of fuzzy matching in editor settings documentation
Update doc/classes/EditorSettings.xml

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

Update `max_fuzzy_misses` docs and "Fuzzy Search" tooltip to match `enable_fuzzy_matching`

Improve examples used and remove "middle of the filename" description

Apply suggestions from code review

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

Update doc/classes/EditorSettings.xml

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Improve phrasing for `enable_fuzzy_matching` description

Update doc/classes/EditorSettings.xml

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

Semicolons
2025-06-13 08:28:36 -07:00
Rémi Verschelde e15770e96a
Merge pull request #107472 from timothyqiu/classref-fixes
Fix various errors in the class reference
2025-06-13 15:54:05 +02:00
Rémi Verschelde cec5c89f9d
Merge pull request #107143 from Mickeon/documentation-miscellaneous-oddities-part-5
Fix miscellaneous oddities around the class reference (part 5)
2025-06-13 15:53:47 +02:00
Haoyu Qiu 0e5b06c26d Fix various errors in the class reference 2025-06-13 21:14:55 +08:00
smix8 cbd446ac29 Add navigation path query parameter limits
Adds navigation path query parameter limits.
2025-06-13 14:42:26 +02:00
Pāvels Nadtočajevs f54b314ae3
[Docs] Add few notes about screen capture. 2025-06-13 10:51:01 +03:00
Hugo Locurcio b6dcb111d2
Document typed dictionaries and arrays in the class reference 2025-06-13 01:53:17 +02:00
Rémi Verschelde c66d89d55d
Merge pull request #107382 from Calinou/editor-lightmapprobe-add-gizmo-size-setting
Add a LightmapProbe gizmo size editor setting
2025-06-13 01:30:56 +02:00
Rémi Verschelde 95e72a36f3
Merge pull request #107347 from bruvzg/hr_hr_hr
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support.
2025-06-13 01:30:47 +02:00
Rémi Verschelde 856da6858c
Merge pull request #107085 from KoBeWi/new_in_folder
Always use base directory in `CONTEXT_SLOT_FILESYSTEM_CREATE`
2025-06-13 01:30:43 +02:00
Rémi Verschelde 22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Rémi Verschelde fae09980bd
Merge pull request #105314 from bruvzg/ac_set_sep
Add separate editor accessibility mode setting.
2025-06-13 01:30:18 +02:00
Rémi Verschelde 4261cc07a5
Merge pull request #107420 from JulianHeuser/audiostream_doc_update
Documentation: Add clarification to `AudioStream.get_length`
2025-06-12 23:32:55 +02:00
Rémi Verschelde ce3ebacb3e
Merge pull request #107381 from smix8/ref_iterations_2d
Change 2D navigation region and link updates to an async process
2025-06-12 23:32:48 +02:00
Rémi Verschelde ae33da972b
Merge pull request #106709 from m4gr3d/fix_transparency_flags
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
Rémi Verschelde 34e4abd220
Merge pull request #107445 from KoBeWi/lost_truth
Fix outdated `MODE_FULLSCREEN` description
2025-06-12 22:49:16 +02:00
Rémi Verschelde 2d8e408e7e
Merge pull request #103012 from KoBeWi/far_textures
Better explain texture repeat
2025-06-12 22:48:27 +02:00
OsakiTsukiko 805ad87340
Add PackedByteArray conversion to PackedVector2Array, PackedVector3Array, PackedVector4Array and PackedColorArray 2025-06-12 17:05:57 +02:00
Julian 246253661d Documentation: Add clarification to AudioStream::get_length 2025-06-12 11:04:54 -04:00
kobewi 41009718d2 Fix outdated MODE_FULLSCREEN description 2025-06-12 11:58:47 +02:00
Pāvels Nadtočajevs e87cccefca
Add `line_breaking_strictness` project setting. 2025-06-12 09:26:52 +03:00
Rémi Verschelde 0fe406c73b
Merge pull request #106679 from KoBeWi/disable_files_in_file_dialog
Allow customizing FileDialog's features
2025-06-12 01:15:42 +02:00
Rémi Verschelde 986cc40c42
Merge pull request #103907 from beicause/slider-draw-tick-center
Slider: Add bottom and top ticks and tick offset
2025-06-12 01:15:39 +02:00
Rémi Verschelde 0497ae9947
Merge pull request #80710 from apples/7174-apples-stencil
Add stencil support to spatial materials
2025-06-12 01:15:35 +02:00
kobewi 4b1d5b55c7 Allow customizing FileDialog's features 2025-06-11 20:12:15 +02:00
Danil Alexeev f864d0ce11
GDScript: Re-add `ord()` function 2025-06-11 21:01:13 +03:00
Apples d674c9e289 Add stencil support for spatial materials 2025-06-11 09:59:10 -05:00
Rémi Verschelde 875a0979f3
Merge pull request #107344 from timothyqiu/can-auto-translate
Expose `Node.can_auto_translate()`
2025-06-11 11:20:18 +02:00
Rémi Verschelde 033e55f4b1
Merge pull request #103418 from aaronfranke/adv-imp-attach-script
Allow attaching scripts to nodes in the Advanced Import Settings dialog
2025-06-11 11:19:59 +02:00
Haoyu Qiu 4e20e33e21 Expose `Node.can_auto_translate()` 2025-06-11 11:26:43 +08:00
Thaddeus Crews 1bbfe637c6
Merge pull request #107357 from ProgrammerOnCoffee/fix-dictionary-style
Enforce GDScript and C# dictionary spacing style guidelines in code samples
2025-06-10 19:22:43 -05:00
Hugo Locurcio 437e2ee80a Add a LightmapProbe gizmo size editor setting
- Decrease default size of LightmapProbe gizmos to make smaller-scale
  scenes with dense probes easier to edit.
2025-06-11 01:04:01 +02:00
smix8 2458370de4 Change 2D navigation region and link updates to an async process
Changes 2D navigation region and link updates to an async process.
2025-06-11 00:51:02 +02:00
Pāvels Nadtočajevs cbd1e1cfe9
Partially revert 107110, process all lines in VC_CHARS_BEFORE_SHAPING mode to return correct line count. 2025-06-10 20:44:28 +03:00
ProgrammerOnCoffee 11af23a7a7 Enforce GDScript and C# dictionary spacing style guidelines in code samples
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2025-06-10 13:32:57 -04:00
Aaron Franke a3daba29dd
Allow attaching scripts to nodes in the Advanced Import Settings dialog 2025-06-10 09:35:24 -07:00
Rémi Verschelde cc9761c3f0
Merge pull request #107188 from berarma/moviewriter-add-theora
Add Ogg Theora support to MovieWriter
2025-06-10 16:22:57 +02:00
Rémi Verschelde 74f5b863bc
Merge pull request #106670 from smix8/ref_iterations
Change navigation region and link updates to an async process
2025-06-10 16:22:53 +02:00
Rémi Verschelde 8f716f2be7
Merge pull request #104391 from jaydensipe/minor-doc-update
Minor doc update for `low_processor_mode_sleep_usec` editor settings
2025-06-10 16:22:46 +02:00
Rémi Verschelde 7b9e7b9162
Merge pull request #98929 from dsnopek/editor-syntax-highlighter-create
Expose the `EditorScriptHighlighter::_create()` method to GDExtension
2025-06-10 16:22:22 +02:00
Bernat Arlandis a16b04fe07 Add Ogg Theora support to MovieWriter
Movie Maker mode can now record files in `.ogv` format, which can be
directly viewed in Godot's VideoStreamPlayer node along with most
video players. This is a lossy format with inter-frame compression,
unlike AVI + MJPEG which only performs intra-frame compression.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Leo de Penning <leo.depenning@illuminoo.com>
2025-06-10 15:52:24 +02:00
smix8 877da269d8 Change navigation region and link updates to an async process
Changes navigation region and link updates to an async process.
2025-06-10 14:18:47 +02:00
Rémi Verschelde 86408d1849
Merge pull request #107331 from bruvzg/rtl_para_sep
[RTL] Add paragraph separation theme property.
2025-06-10 12:30:45 +02:00
Rémi Verschelde 624d1d0853
Merge pull request #107279 from aaronfranke/doc-light-direction
Document the direction that directional and spot lights emit light in
2025-06-10 12:30:38 +02:00
Rémi Verschelde e2075d3fc7
Merge pull request #107228 from Calinou/doc-timer-stop
Clarify behavior of `Timer.stop()`
2025-06-10 12:30:29 +02:00
Pāvels Nadtočajevs a262747cdf
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support. 2025-06-10 12:22:02 +03:00
Pāvels Nadtočajevs 1e2fc9bcad
[RTL] Add paragraph separation theme property. 2025-06-10 12:13:48 +03:00
Pāvels Nadtočajevs a0c4a8c4a9
Restore 3.x style material auto-extraction import option. 2025-06-10 12:03:45 +03:00
Thaddeus Crews 4e6f5f31dc
Merge pull request #107305 from timothyqiu/single-window-title
Fix window title drawn outside the title bar
2025-06-09 12:31:34 -05:00
Thaddeus Crews ae9c0786b0
Merge pull request #106409 from dalexeev/gds-add-abstract-methods
GDScript: Add abstract methods
2025-06-09 12:31:33 -05:00
Thaddeus Crews 6427343ec8
Merge pull request #106660 from bruvzg/ac_node_to_ctl
Move some accessibility properties from Node to Control
2025-06-09 12:31:32 -05:00
Danil Alexeev a7cf2069d5
GDScript: Add abstract methods
Co-authored-by: ryanabx <ryanbrue@hotmail.com>
2025-06-09 20:11:58 +03:00
Haoyu Qiu f028bc93db Fix window title drawn outside the title bar 2025-06-09 16:20:26 +08:00
LuoZhihao 257c6ebe3c Slider: Add tick position property and tick offset theme item
Allow ticks to be placed at the top, bottom, or center with custom offset.
2025-06-09 12:36:08 +08:00
Rémi Verschelde bf4dd5078b
Merge pull request #107282 from timothyqiu/windows-legacy
Don't store deprecated `auto_translate` property for `Window`
2025-06-09 00:45:56 +02:00
Rémi Verschelde 77f2623c54
Merge pull request #107252 from GlitchedCode922/shortcuts
Update `Shortcut` class reference
2025-06-09 00:45:32 +02:00
Rémi Verschelde e0ca031eae
Merge pull request #107249 from beicause/color-picker-ok-hs-hl-rectangles
ColorPicker: Add okhsl HS and HL rectangular picker shapes
2025-06-09 00:45:18 +02:00
Rémi Verschelde 63578eae68
Merge pull request #107110 from bruvzg/rtl_vis_line
Unify `get_[_visible]paragraph/line_count` behavior.
2025-06-09 00:44:37 +02:00
Rémi Verschelde 00ecf514d9
Merge pull request #106191 from aaronfranke/fileaccess-file-cursor
Document the FileAccess read/write cursor
2025-06-09 00:44:16 +02:00
Rémi Verschelde d06170b063
Merge pull request #101563 from MajorMcDoom/basis_scaled_local
Optimize and expose `Basis::scaled_local` to script
2025-06-09 00:43:55 +02:00
Haoyu Qiu 3886ee84e6 Don't store deprecated `auto_translate` property 2025-06-08 21:53:28 +08:00
Pāvels Nadtočajevs d6b132527e
Add separate editor accessibility mode setting. 2025-06-08 16:34:36 +03:00
Pāvels Nadtočajevs aff5b413aa
Move some accessibility properties from Node to Control 2025-06-08 16:25:28 +03:00
Aaron Franke a5c2e82e8d
Document the direction that directional and spot lights emit light in 2025-06-08 03:34:01 -07:00
GlitchedCode922 3a30a1c576 Update `Shortcut` class reference 2025-06-08 10:08:56 +00:00
LuoZhihao 7b4c95e6d8 ColorPicker: Add okhsl HS and HL rectangular picker shapes 2025-06-07 22:30:40 +08:00
Aaron Franke 0b8360ff42
Document the FileAccess read/write cursor
Co-authored-by: Micky <micheledevita2@gmail.com>
2025-06-06 15:44:19 -07:00
Rémi Verschelde c171166b6e
Merge pull request #107220 from devloglogan/body-tracker-joints
Add new joints to `XrBodyTracker`
2025-06-07 00:44:16 +02:00
Rémi Verschelde 052e7cf155
Merge pull request #107212 from Calinou/doc-node-physics-interpolation-mode
Clarify behavior of `Node.physics_interpolation_mode` in the class reference
2025-06-07 00:44:02 +02:00
Rémi Verschelde 056982225d
Merge pull request #107166 from Calinou/doc-globalscope-wrap-exclusive
Clarify parameters in `@GlobalScope.wrap()` being inclusive/exclusive
2025-06-07 00:43:54 +02:00
Rémi Verschelde 4eab259327
Merge pull request #103847 from DeeJayLSP/recommend-hl
AudioEffectCompressor: Recommend HardLimiter over deprecated Limiter
2025-06-07 00:43:39 +02:00
Rémi Verschelde 066c15b33d
Merge pull request #103448 from TimCoraxAudio/patch-1
Clarify requirement for `action` match in `InputEvent.is_action_pressed`
2025-06-07 00:43:33 +02:00
Rémi Verschelde 0194c26563
Merge pull request #102610 from shahriarlabib000/vroom_vroom_docs
Clarify forward direction for `VehicleBody3D`
2025-06-07 00:43:30 +02:00
Rémi Verschelde bf6d94b561
Merge pull request #102520 from Giganzo/CollisionShape3D-disabled-doc
Add info about `set_deferred` for CollisionShape3D disabled property
2025-06-07 00:43:26 +02:00
Rémi Verschelde 7585dfca99
Merge pull request #102511 from DevPoodle/breadcrumb_docs
Add basic descriptions to the BreadcrumbMarker enum
2025-06-07 00:43:17 +02:00
Tim Oliver 15bdac4e9e
Clarify requirement for action match in InputEvent.is_action_pressed 2025-06-07 00:23:32 +02:00
Hugo Locurcio 916f8cc919
Clarify behavior of `Timer.stop()` 2025-06-06 22:13:16 +02:00
shahriarlabib000 cb82e68e82 clarify forward dirction for VehicleBody3D 2025-06-07 00:38:06 +06:00
devloglogan e16dd051fd Add new joints to XrBodyTracker 2025-06-06 13:37:21 -05:00
Hugo Locurcio 006be9b077
Clarify behavior of `Node.physics_interpolation_mode` in the class reference 2025-06-06 19:21:01 +02:00
Hugo Locurcio 5404d98d9f
Clarify parameters in `@GlobalScope.wrap()` being inclusive/exclusive 2025-06-06 19:19:26 +02:00
Rémi Verschelde dea3269c35
Merge pull request #107172 from clayjohn/docs-texture-create
Clarify the data param in the docs for RD.texture_create
2025-06-06 17:37:44 +02:00
Rémi Verschelde 09c7214235
Merge pull request #106846 from TokageItLab/mod-target
Implement `ModifierBoneTarget3D` which can be target of the other `SkeletonModifier3D`s
2025-06-06 17:37:19 +02:00
Rémi Verschelde 16eb4892db
Merge pull request #104941 from Calinou/doc-camera2d-zoom
Improve `Camera2D.zoom` description to be less ambiguous
2025-06-06 17:36:51 +02:00
Rémi Verschelde 5fe8eeb2b1
Merge pull request #102398 from a-johnston/animation_state_machine_signals
Add node started/finished signals for animation state machines
2025-06-06 17:36:46 +02:00
DevPoodle 8cb8243719 Add basic descriptions to the BreadcrumbMarker enum 2025-06-06 08:16:06 -07:00
Apples 7574a5dbb3 Add depth function for spatial materials 2025-06-06 09:21:19 -05:00
Micky 621500c1d9 Fix differences between RayCast2D and RayCast3D documentation 2025-06-06 15:25:39 +02:00
Micky 3613306bba Fix miscellaneous oddities around the class reference (part 5) 2025-06-06 15:21:25 +02:00
kobewi 13f642d959
Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Adam Johnston d72006119d Add node started/finished signals for animation state machines 2025-06-05 12:09:16 -07:00
Zi Ye b957cf73ef Optimized and exposed Basis::scaled_local. 2025-06-05 13:06:46 -05:00
clayjohn 2ef28a138e Clarify the data param in the docs for RD.texture_create 2025-06-05 10:35:53 -07:00
Hugo Locurcio db1f8419b1 Improve `Camera2D.zoom` description to be less ambiguous 2025-06-05 18:26:57 +02:00
Rémi Verschelde b6f04cbe10
Merge pull request #107130 from timothyqiu/pure-virtual
Doc: Add "required" qualifier to methods
2025-06-05 17:24:58 +02:00
Rémi Verschelde 37982d4a01
Merge pull request #107116 from beicause/expose-mesh-surface-update-index-buffer
Expose `RS.mesh_surface_update_index_region`
2025-06-05 17:24:54 +02:00
Silc Lizard (Tokage) Renew aa2c3da63a Implement ModifierBoneTarget3D which can be target of the other mods 2025-06-05 23:46:36 +09:00
Haoyu Qiu 1ca5bc2d04 Doc: Add "required" qualifier to methods 2025-06-05 21:41:07 +08:00
LuoZhihao 63c124fa45 Expose `RS.mesh_surface_update_index_region`
And `mesh_surface_get_format_index_stride`
2025-06-05 19:35:59 +08:00
Pāvels Nadtočajevs b6461a3bd5
Add `WorkerThreadPool.get_caller_group_id` 2025-06-05 14:23:26 +03:00
Rémi Verschelde bb9d6d0d02
Merge pull request #107113 from mihe/macos-open-in-program
Add `OS::open_with_program` for opening files/directories with a specific program on macOS
2025-06-05 13:13:49 +02:00
Rémi Verschelde 8862d4c9b5
Merge pull request #107029 from mhilbrunner/expose-workerthreadpool-gettaskid
Expose `WorkerThreadPool.get_caller_task_id()`
2025-06-05 13:12:48 +02:00
Rémi Verschelde c79ba6a59c
Merge pull request #106862 from KerekesDavid/fix-scene-tree-get-frame-docs
Clarify `SceneTree.get_frame()` description
2025-06-05 13:12:25 +02:00
Rémi Verschelde acc0e14d95
Merge pull request #106841 from TokageItLab/refactor-boneattachment
Refactor `BoneAttachment` property registration
2025-06-05 13:12:20 +02:00
Rémi Verschelde 68eb04a61a
Merge pull request #106791 from tomsterBG/master|add-docs-1
Add description for `Skeleton3D.bone_list_changed`
2025-06-05 13:12:11 +02:00
Rémi Verschelde 590225f3d1
Merge pull request #106690 from NessaTeal/expose-camera2d-current-rotation
Expose Camera2D current rotation
2025-06-05 13:12:07 +02:00
Rémi Verschelde 42a89af552
Merge pull request #106327 from Calinou/doc-spinbox-apply
Improve SpinBox class documentation
2025-06-05 13:11:48 +02:00
Rémi Verschelde 8e0c258408
Merge pull request #106300 from bruvzg/rtl_ualp
[RTL] Add options to override underline color and default alpha.
2025-06-05 13:11:39 +02:00
Rémi Verschelde f342601ce2
Merge pull request #106217 from DeeJayLSP/variable-weights-editor
Force weights on custom editor fonts when variable
2025-06-05 13:11:35 +02:00
Rémi Verschelde 31c3c8d04b
Merge pull request #106159 from timothyqiu/enum-enum
[Docs] Remove redundant info on the enum types used
2025-06-05 13:11:30 +02:00
Rémi Verschelde 7aee071097
Merge pull request #106013 from akien-mga/move-MovieWriterMJPEG-to-jpg-module
Move MovieWriterMJPEG class to `jpg` module it depends on
2025-06-05 13:11:18 +02:00
Rémi Verschelde b25f609eed
Merge pull request #105994 from syntaxerror247/split_container
Add option for a touch-friendly drag handle in `SplitContainer`
2025-06-05 13:11:14 +02:00
Rémi Verschelde 8343ab45e6
Merge pull request #105888 from TokageItLab/optional-rotation-axis-spring
Add optional rotation axis & Fix initial pose with rotation axis in SpringBone
2025-06-05 13:11:01 +02:00
Rémi Verschelde 1f517a029d
Merge pull request #105746 from mihe/jolt/area-vs-static
Remove Jolt Physics project setting "Areas Detect Static Bodies"
2025-06-05 13:10:57 +02:00
Rémi Verschelde c27c87b852
Merge pull request #105245 from timothyqiu/canvas-layer-range
Relax the range hint for canvas layer properties
2025-06-05 13:10:50 +02:00
Rémi Verschelde 4df2e1b61a
Merge pull request #104996 from KeyboardDanni/ruler_width_setting
Add ruler width editor setting to 2D editor
2025-06-05 13:10:44 +02:00
Rémi Verschelde db170e8636
Merge pull request #104533 from leandro-benedet-garcia/doc-change
Add clarifications to PhysicsDirectSpaceState docs on how to get their instance
2025-06-05 13:10:40 +02:00
Rémi Verschelde ebc04d7587
Merge pull request #103231 from aaronfranke/doc-free-memdelete
Document that `memdelete()` is the GDExtension C++ version of `free()`
2025-06-05 13:10:32 +02:00
Rémi Verschelde ea76c48bd0
Merge pull request #102313 from daniel080400/generate_scene_thumbnails
Rework scene preview thumbnails
2025-06-05 13:10:28 +02:00
Rémi Verschelde 8131883b16
Merge pull request #99504 from LunaCapra/audio-metadata
Add metadata tags to WAV and OGG audio streams
2025-06-05 13:10:12 +02:00
Leandro (Cerberus1746) Benedet Garcia f3ef56dafa
Add clarifications to PhysicsDirectSpaceState docs on how to get their instance 2025-06-05 11:46:42 +02:00
Pāvels Nadtočajevs 332352d37f
[RTL] Add options to override underline color and default alpha. 2025-06-05 12:39:25 +03:00
Rémi Verschelde 78eb0b68d3
Move MovieWriterMJPEG class to `jpg` module it depends on
Fixes #90932.
2025-06-05 10:29:22 +02:00
Mikael Hermansson f610c81943 Add `OS::open_with_program` for opening files/directories with a specific program on macOS
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2025-06-05 10:12:01 +02:00
Silc Lizard (Tokage) Renew 4f1d1fefa3 Refactore BoneAttachment property registration 2025-06-05 09:42:31 +09:00
Silc Lizard (Tokage) Renew 9cef0d5ca5 Add optional rot axis / Fix initial pose with rot axis in SpringBone 2025-06-05 09:38:06 +09:00
Thaddeus Crews bf6bec9ac5
Merge pull request #106911 from Yobbolita/patch-1
Improve the `PhysicsShapeQueryParameters3D`'s description
2025-06-04 10:34:29 -05:00
Pāvels Nadtočajevs f4f26e6edc
Unify `get_[_visible]paragraph/line_count` behavior. 2025-06-04 09:39:01 +03:00
Aaron Franke c58483ad0b
Document that memdelete() is the GDExtension C++ version of free() 2025-06-03 23:37:41 -07:00
Haoyu Qiu 1e82bafa3a Remove redundant info on the enum types used 2025-06-04 08:21:47 +08:00
Nessa Teal cf59d74b15 Expose Camera2D current rotation 2025-06-04 00:22:18 +03:00
Thaddeus Crews 1b37dacc18
Merge pull request #106622 from beicause/rm-unnecessary-validate-property-call
Remove unnecessary calling `_validate_property()` in the core from all extended classes
2025-06-03 15:30:28 -05:00
Thaddeus Crews bdc8ef3325
Merge pull request #81266 from bruvzg/mac_shell_env
[macOS] Add support for loading shell environment from UI apps.
2025-06-03 15:30:27 -05:00
Thaddeus Crews af32c5234b
Merge pull request #101219 from L2750558108/add-video-speed-virtual
Add speed scale feature for VideoStreamPlayer node
2025-06-03 15:30:26 -05:00
Thaddeus Crews 3fbebdf4da
Merge pull request #107087 from shiena/fix/update-camera-server-document
Update CameraServer document for Android
2025-06-03 15:30:25 -05:00
Thaddeus Crews 20928f66e9
Merge pull request #107082 from KoBeWi/this_setting_does_not_exist
Clarify existence of custom project settings
2025-06-03 15:30:21 -05:00
Thaddeus Crews 1b2adba320
Merge pull request #107081 from timothyqiu/debug-draw-copy-pasting
Fix copy-paste error in Viewport classref
2025-06-03 15:30:21 -05:00
Thaddeus Crews 757cf4c8d5
Merge pull request #107069 from Calinou/doc-astar2d-link-tutorial
Link demo project in AStar2D and AStarGrid2D documentation
2025-06-03 15:30:19 -05:00
Thaddeus Crews e16e6a48f9
Merge pull request #107068 from Calinou/doc-heightmapshape3d-holes
Fix incorrect note about holes in HeightMapShape3D
2025-06-03 15:30:18 -05:00
Thaddeus Crews 003e9db27f
Merge pull request #107064 from sakubou/sprite-offset-note
Clarify `offset.y` behavior for Sprite2D vs Sprite3D
2025-06-03 15:30:17 -05:00
Thaddeus Crews 51b17759a2
Merge pull request #103719 from YeldhamDev/build_detection_improvements
Make build profile project detection also set build options
2025-06-03 15:30:14 -05:00
Thaddeus Crews ba5e43aa54
Merge pull request #106659 from bruvzg/ac_kit_16
[AccessKit] Update API to 0.16.0.
2025-06-03 15:30:13 -05:00
Hugo Locurcio fb9a5699a1
Fix incorrect note about holes in HeightMapShape3D 2025-06-03 19:10:07 +02:00
kobewi b0110788ba Clarify existence of custom project settings 2025-06-03 18:49:04 +02:00
bruvzg ee181951b6
[macOS] Add support for loading shell environment from UI apps. 2025-06-03 18:27:29 +03:00
Anish Mishra b5dad5a0b2 Improve SplitContainer usability in the Android editor 2025-06-03 19:49:56 +05:30
Anish Mishra bccf36b27b Add option for a touch-friendly drag handle in `SplitContainer` 2025-06-03 19:49:56 +05:30
KOGA Mitsuhiro b5003f60c2 Update CameraServer document for Android 2025-06-03 23:13:35 +09:00
Michael Alexsander 454e4f817c
Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
LuoZhihao 713ed59a77 Remove unnecessary `_validate_property()` calling 2025-06-03 21:57:36 +08:00
kobewi 9e8396c9c7 Always use base directory in CONTEXT_SLOT_FILESYSTEM_CREATE 2025-06-03 15:45:16 +02:00
Yobbolita bfbb63129a
Improve the PhysicsShapeQueryParameters3D's description
Made it clearer that this class is used in several of PhysicsDirectSpaceState3D's
methods and not just on `intersect_shape()`.
2025-06-03 15:18:47 +02:00
Haoyu Qiu e74ebaf18d Fix copy-paste error in Viewport classref 2025-06-03 20:47:06 +08:00
Mikael Hermansson e160040f0c Remove Jolt Physics project setting "Areas Detect Static Bodies" 2025-06-03 09:52:57 +02:00
Pāvels Nadtočajevs 6565c8e83f
[AccessKit] Update API to 0.16.0. 2025-06-03 10:49:04 +03:00
Fredia Huya-Kouadio 547450befd Fix transparency background issue on Android
Fixes https://github.com/godotengine/godot/issues/106703
2025-06-02 22:45:16 -07:00
kobewi 706bfd810b Add thumbnail mode to FIleDialog 2025-06-03 02:06:14 +02:00
Thaddeus Crews 5935356962
Merge pull request #100984 from TokageItLab/bone-constraint
Implement `BoneConstraint3D` with `CopyTransform`/`ConvertTransform`/`Aim` Modifiers
2025-06-02 18:51:57 -05:00
Thaddeus Crews 9ee7d78274
Merge pull request #106859 from syntaxerror247/alias
Add support for `OS.get_version_alias()` on Android
2025-06-02 18:51:56 -05:00
Thaddeus Crews 1c0669bd23
Merge pull request #106970 from m4gr3d/update_documentation_javaclasswrapper_androidruntimeplugin
Update the documentation for `JavaClassWrapper` and `AndroidRuntimePlugin`
2025-06-02 18:51:50 -05:00
Thaddeus Crews fd600b32df
Merge pull request #105680 from KoBeWi/my_recent_favorites
Add favorites and recent directories to FileDialog
2025-06-02 18:51:47 -05:00
Thaddeus Crews a6be6d1cd1
Merge pull request #106959 from bruvzg/w10_cleanup
[Windows] Drop support for Windows 7/8/8.1.
2025-06-02 18:51:46 -05:00
Thaddeus Crews 12b97c250d
Merge pull request #104907 from bruvzg/scr_ids
Cleanup and unify `DisplayServer` screen methods and documentation.
2025-06-02 18:51:45 -05:00
Thaddeus Crews 2fc072585d
Merge pull request #106820 from OzelotVanilla/fix-editor-plugin-callback-path-param
Fix `EditorContextMenuPlugin` `CONTEXT_SLOT_FILESYSTEM_CREATE` does not receive path information for some menus
2025-06-02 18:51:43 -05:00
Thaddeus Crews 028a7d3776
Merge pull request #89530 from dalexeev/ed-allow-rename-theme-types
Editor: Add ability to rename theme types
2025-06-02 18:51:40 -05:00
Thaddeus Crews 67d5d4b790
Merge pull request #107062 from KoBeWi/ultimate_initial_clarification
Clarify `set_initial_value()`
2025-06-02 18:51:39 -05:00
Thaddeus Crews ec5a771d62
Merge pull request #104999 from RobProductions/patch-1
[Docs] Update RichTextLabel alignment documentation
2025-06-02 18:51:35 -05:00
Thaddeus Crews 79db51871c
Merge pull request #106917 from shiena/fix/camera-feed-document
Update CameraFeed document for Android
2025-06-02 18:51:32 -05:00
Thaddeus Crews 46a7fc317b
Merge pull request #103716 from aaronp64/script_dictionary_docs
Link `Script` method documentation to details about returned dictionaries
2025-06-02 18:51:30 -05:00
Thaddeus Crews a654f7b2b5
Merge pull request #105502 from tehKaiN/editor_interface_close_scene
Add `EditorInterface::close_scene()`
2025-06-02 18:51:29 -05:00
Thaddeus Crews e8a02152c4
Merge pull request #105757 from bruvzg/no_temp
[PCK] Move directory to the end of file, write exported/saved PCK in place.
2025-06-02 18:51:28 -05:00
Thaddeus Crews 4f64eaef0c
Merge pull request #69012 from KoBeWi/settings_of_editor_project
Allow to override editor settings per project
2025-06-02 18:51:26 -05:00
Thaddeus Crews 430bb6294c
Merge pull request #107022 from Calinou/doc-softbody3d-recommend-jolt
Recommend Jolt Physics in SoftBody3D class reference
2025-06-02 18:51:23 -05:00
Thaddeus Crews e41af67e29
Merge pull request #107020 from Aioshiro/typo-array-slice
Fix extra parenthesis in `Array.slice` description
2025-06-02 18:51:22 -05:00
Thaddeus Crews d7d6bc77ed
Merge pull request #106369 from Calinou/doc-array-get
Improve documentation for `Array.get()` and `Packed*Array.get()` methods
2025-06-02 18:51:20 -05:00
Hugo Locurcio aaa9c58b2c
Link demo project in AStar2D and AStarGrid2D documentation 2025-06-03 01:50:18 +02:00
syzygy f9c0789326 Clarify offest.y behavior for Sprite2D vs Sprite3D 2025-06-02 15:35:32 -06:00
Max Hilbrunner 7ef1cf3c2e Expose WorkerThreadPool.get_caller_task_id() 2025-06-02 22:00:24 +02:00
kobewi 55c139f9f5 Clarify set_initial_value() 2025-06-02 21:58:49 +02:00
kobewi b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
tomsterBG b3f633defa
Add description for `Skeleton3D.bone_list_changed` 2025-06-02 15:23:29 +02:00
Pāvels Nadtočajevs 8cb2817976
[PCK] Move directory to the end of file, write exported/saved PCK in place. 2025-06-02 12:54:09 +03:00
Ozelot Vanilla 94669955d8 fix: EditorContextMenuPlugin CONTEXT_SLOT_FILESYSTEM_CREATE does not receive path information for some menu
Also add explanation in `EditorContextMenuPlugin`'s doc for fixing path information passing

(Accept PR #106820 suggestion by: Tomasz Chabora <kobewi4e@gmail.com>)
2025-06-02 15:37:12 +09:00
Pāvels Nadtočajevs 2d93e004b9
Cleanup and unify `DisplayServer` screen methods and documentation. 2025-06-02 08:03:48 +03:00
Silc Lizard (Tokage) Renew 4a2a95678b Implement BoneConstraint3D with Copy/ConvertTransfrom & TrackBone mods 2025-06-02 03:42:45 +09:00
Hugo Locurcio b89b2e9aa7 Recommend Jolt Physics in SoftBody3D class reference
Jolt Physics has greatly improved SoftBody3D usability in Godot
compared to what was previously available with GodotPhysics3D.
2025-06-01 17:16:04 +02:00
Aioshiro 8fc060b8b3 Fix extra parenthesis in `Array.slice` description 2025-06-01 17:05:30 +02:00
Capry 20c0a0b489 Add metadata tags to WAV and OGG audio streams 2025-05-31 11:43:01 +02:00
daniel080400 08343189dc Rework scene preview thumbnails 2025-05-31 16:57:51 +08:00
Fredia Huya-Kouadio 658d3736f4 Update the documentation for `JavaClassWrapper` and `AndroidRuntimePlugin`
Follow-up to https://github.com/godotengine/godot-docs/pull/10979
2025-05-30 09:39:53 -07:00
Pāvels Nadtočajevs 617e12a6b4
[Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
Anish Mishra 458850b2d9 Add support for `OS.get_version_alias()` on Android 2025-05-30 19:57:15 +05:30
Danil Alexeev e6c9a832c1
Editor: Add ability to rename theme types 2025-05-29 21:57:48 +03:00
kobewi f75c564d58 Add favorites and recent directories to FileDialog 2025-05-29 15:50:29 +02:00
KOGA Mitsuhiro 7762f70f69 Update CameraFeed document for Android 2025-05-29 07:24:00 +09:00
KaiN 8cdb1768a4 Add EditorInterface::close_scene()
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-28 21:53:32 +02:00
Thaddeus Crews bb47f01481
Merge pull request #106390 from akien-mga/linux-drop-ppc32
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
2025-05-28 09:47:34 -05:00
2750558108 c2eba05312 Add speed scale feature for VideoStreamPlayer node 2025-05-28 08:58:32 +08:00
Thaddeus Crews f619ca2519
Merge pull request #60143 from Rindbee/better-connection-dialog
Add a flag to make the connection automatically emit the source object.
2025-05-27 09:39:34 -05:00
Thaddeus Crews 91b3a26438
Merge pull request #106848 from Faless/mp/rpc_config_revert
Expose `get_rpc_config` and `get_node_rpc_config`
2025-05-27 09:39:32 -05:00
Thaddeus Crews 05ceab6b7b
Merge pull request #106321 from elzewyr/shrink-factor
SoftBody3D: Add a property for scaling rest lengths of edge constraints
2025-05-27 09:39:29 -05:00
Thaddeus Crews 63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
Thaddeus Crews bdf03ac2b3
Merge pull request #106811 from OzelotVanilla/fix-editor-plugin-filesystem-create
Fix missing popup item defined in `EditorContextMenuPlugin` with slot `CONTEXT_SLOT_FILESYSTEM_CREATE`
2025-05-27 09:39:24 -05:00
Thaddeus Crews 15b4b6b3d2
Merge pull request #106807 from Calinou/doc-editorproperty-not-ready
Document EditorProperty behavior when the node isn't fully ready yet
2025-05-27 09:39:23 -05:00
Thaddeus Crews d4793d016f
Merge pull request #106157 from Calinou/doc-acceptdialog-close-on-escape
Clarify the input action that affects `AcceptDialog.dialog_close_on_escape`
2025-05-27 09:39:22 -05:00
Thaddeus Crews 482dacc300
Merge pull request #103583 from beicause/color-picker-add-intensity
ColorPicker: Add an intensity slider to all modes for HDR
2025-05-27 09:39:21 -05:00
Rindbee 5e2396e001
Add a flag to make the connection automatically emit the source object.
Mainly used to improve the connection dialog.

Not implemented in `emit_signalp()`, append the source object when a PackScene is instantiated.
2025-05-27 20:19:03 +08:00
Lorenzo Zimmmerer 8152ecabed Editing SceneTree.get_frame() documentaion
to reflect that it returns physics steps that have been processed,
not frames rendered.

fixes #90539

Add reference to physics_frame signal.

Add reference to Engine.get_process_frames

Update doc/classes/SceneTree.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-27 12:48:38 +02:00
Ozelot Vanilla 14d9aa9672 fix: EditorContextMenuPlugin with slot CONTEXT_SLOT_FILESYSTEM_CREATE does not add popup item to all menu
As there are multiple menu containing creating new files, this commit add the popup menu item from the plugin to all those menu to keep consistency.
The fixing uses empty array to indicate different types of context menu.

Added to these menu:
* Right-click on empty space on the tree (`_tree_empty_click`).
* Right-click on empty space on the file panel (`_file_list_empty_clicked`)

Also add explanation in `EditorContextMenuPlugin::CONTEXT_SLOT_FILESYSTEM_CREATE`'s doc for previous fixing

(Accept PR #106811 code suggestion by: Tomasz Chabora <kobewi4e@gmail.com>)
2025-05-27 10:15:21 +09:00
Haoyu Qiu 8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08:00
Fabio Alessandrelli b73ec1fa9b Expose get_rpc_config and get_node_rpc_config 2025-05-27 00:43:21 +02:00
Hugo Locurcio 260af83647
Document EditorProperty behavior when the node isn't fully ready yet 2025-05-27 00:42:10 +02:00
Hugo Locurcio 3168fd4c56
Clarify the input action that affects `AcceptDialog.dialog_close_on_escape`
It uses `ui_cancel` behind the scenes, which allows users to add/modify
which keys or gamepad buttons are taken into account for this.
2025-05-27 00:38:58 +02:00
Thaddeus Crews de2cd663fd
Merge pull request #100463 from PiCode9560/softbody-apply-force-and-impulse
Add ability to apply forces and impulses to `SoftBody3D`
2025-05-26 11:24:45 -05:00
Thaddeus Crews c38b856f39
Merge pull request #106717 from KoBeWi/uid_in_path_factory
Expose helper methods for converting UIDs
2025-05-26 11:24:40 -05:00
Thaddeus Crews e89c4b0f9f
Merge pull request #102330 from RGDTAB/add_partial_smaa
Add SMAA 1x to screenspace AA options
2025-05-26 11:24:35 -05:00
Thaddeus Crews 506417fe43
Merge pull request #105623 from lodetrick/section-feature-hide
Allow Inspector Section Checkboxes to hide features, Add "On" text to checkboxes
2025-05-26 11:24:25 -05:00
Thaddeus Crews 6132792f05
Merge pull request #106386 from bruvzg/mac_fs_name
Implement `get_filesystem_type` on macOS and Linux.
2025-05-26 11:24:25 -05:00
Thaddeus Crews f984e15b39
Merge pull request #106244 from lawnjelly/fti_optimize_scene_tree4
FTI - Optimize `SceneTree` traversal
2025-05-26 11:24:21 -05:00
Pedro J. Estébanez 6841b45552 Add tests for resource duplication 2025-05-26 17:05:04 +02:00
Fabio Alessandrelli c28d5d0058 Revert "Expose get_rpc_config and get_node_rpc_config"
This reverts commit 8835f326b1.
2025-05-26 15:57:38 +02:00
Pedro J. Estébanez 342266cfd9 Overhaul `Variant::duplicate()` for resources
This in the scope of a duplication triggered via any type in the `Variant` realm. that is, the following: `Variant` itself, `Array` and `Dictionary`. That includes invoking `duplicate()` from scripts.

A `duplicate_deep(deep_subresources_mode)` method is added to `Variant`, `Array` and `Dictionary` (for compatibility reasons, simply adding an extra parameter was not possible). The default value for it is `RESOURCE_DEEP_DUPLICATE_NONE`, which is like calling `duplicate(true)`.

Remarks:
- The results of copying resources via those `Variant` types are exactly the same as if the copy were initiated from the `Resource` type at C++.
- In order to keep some separation between `Variant` and the higher-level animal which is `Resource`, `Variant` still contains the original code for that, so it's self-sufficient unless there's a `Resource` involved. Once the deep copy finds a `Resource` that has to be copied according to the duplication parameters, the algorithm invokes the `Resource` duplication machinery. When the stack is unwind back to a nesting level `Variant` can handle, `Variant` duplication logic keeps functioning.

While that is good from a responsibility separation standpoint, that would have a caveat: `Variant` would not be aware of the mapping between original and duplicate subresources and so wouldn't be able to keep preventing multiple duplicates.

To avoid that, this commit also introduces a wormwhole, a sharing mechanism by which `Variant` and `Resource` can collaborate in managing the lifetime of the original-to-duplicates map. The user-visible benefit is that the overduplicate prevention works as broadly as the whole `Variant` entity being copied, including all nesting levels, regardless how disconnected the data members containing resources may be across al the nesting levels. In other words, despite the aforementioned division of duties between `Variant` and `Resource` duplication logic, the duplicates map is shared among them. It's created when first finding a `Resource` and, however how deep the copy was working at that point, the map kept alive unitl the stack is unwind to the root user call, until the first step of the recursion.

Thanks to that common map of duplicates, this commit is able to fix the issue that `Resource::duplicate_for_local_scene()` used to ignore overridden duplicate logic.
2025-05-26 10:06:40 +02:00
Pedro J. Estébanez 2a03b459b9 Overhaul `Resource::duplicate()`
Thanks to a refactor, `Resource::duplicate_for_local_scene()` and `Resource::duplicate()` are now both users of the same, parametrized, implementation.

`Resource::duplicate()` now honors deepness in a more consistent and predictable fashion. `Resource::duplicate_deep()` is added (instead of just adding a parameter to the former, for compatibility needs).

The behavior after this change is as follows:
  - Deep (`deep=true`, formerly `subresources=true`):
    - Previously, only resources found as direct property values of the one to copy would be, recursively, duplicated.
    - Now, in addition, arrays and dictionaries are walked so the copy is truly deep, and only local subresources found across are copied.
    - Previously, subresources would be duplicated as many times as being referenced throughout the main resource.
    - Now, each subresource is only duplicated once and from that point, a referenced to that single copy is used. That's the enhanced behavior that `duplicate_for_local_scene()` already featured.
    - The behavior with respect to packed arrays is still duplication.
    - Formerly, arrays and dictionaries were recursive duplicated, with resources ignored.
    - Now, arrays and dictionaries are recursive duplicated, with resources duplicated.
    - When doing it through `duplicate_deep()`, there's a` deep_subresources_mode` parameter, with various possibilites to control if no resources are duplicated (so arrays, etc. are, but keeping referencing the originals), if only the internal ones are (resources with no non-local path, the default), or if all of them are. The default is to copy every subresource, just like `duplicate(true)`.
  - Not deep (`deep=false`, formerly `subresources=false`): <a name="resource-shallow"></a>
    - Previously, the first level of resources found as direct property values would be duplicated unconditionally. Packed arrays, arrays and dictionaries were non-recursively duplicated.
    - Now, no subresource found at any level in any form will be duplicated, but the original reference kept instead. Packed arrays, arrays and dictionaries are referenced, not duplicated at all.
    - Now, resources found as values of always-duplicate properties are duplicated, recursively or not matching what was requested for the root call.

This commit also changes what's the virtual method to override to customize the duplication (now it's the protected `_duplicate()` instead of the public `duplicate()`).
2025-05-26 10:05:25 +02:00
kobewi 9c37ca5383 Expose helper methods for converting UIDs 2025-05-25 00:26:16 +02:00
lawnjelly c7764ef26b FTI - Optimize `SceneTree` traversal 2025-05-24 17:38:33 +01:00
Pāvels Nadtočajevs d609cf62a0
Implement `get_filesystem_type` on macOS and Linux. 2025-05-23 23:05:06 +03:00
PiCode fe3aaa2ae3 Add functions to apply impulse and force to SoftBody on GodotPhysics and JoltPhysics 2025-05-23 22:04:52 +03:00
Thaddeus Crews 274ed34ac4
Merge pull request #93836 from aaronfranke/capsule-mid-height
Add mid height property to CapsuleShape2D/3D
2025-05-23 09:46:13 -05:00
LuoZhihao 8a9409257b ColorPicker: Add intensity slider
Add intensity slider to all color modes. Replace raw mode by linear mode, which uses linear color space.

When color is overbright, automatically switch hex text to script text. Allow executing expression in script text field to set color. Add the "script" icon to the default theme.
2025-05-23 12:45:29 +08:00
Thaddeus Crews ce400a93b5
Merge pull request #106613 from Calinou/doc-string-subsequence-contains
Clarify `String.is_subsequence_of()` working differently from `String.contains()`
2025-05-22 12:15:09 -05:00
Thaddeus Crews 5b2525673a
Merge pull request #102360 from berarma/theora_seek
Implement seek operation for Theora video files, improve multi-channel audio resampling.
2025-05-22 12:15:07 -05:00
Thaddeus Crews 8085fd3102
Merge pull request #93142 from clayjohn/z_clip_scale
Add new shader built ins: `Z_CLIP_SCALE` and `PERSPECTIVE_SCALE`
2025-05-22 12:15:06 -05:00
Thaddeus Crews 6258a3e224
Merge pull request #98750 from aaronfranke/grisu
Use Grisu2 algorithm in `String::num_scientific` to fix serializing
2025-05-22 12:15:02 -05:00
Aaron Franke 15de1d6c35
Use Grisu2 algorithm in String::num_scientific to fix serializing 2025-05-22 09:13:16 -07:00
Bernat Arlandis b9bebf7081 Full Theora video support in VideoStreamPlayer
- Implement `set_stream_position` and `get_stream_length`.
- Don't show blank frame when stopping the video (smooth loops).
- Fix audio for videos with up to 8 channels.
- Improve internal audio handling.
2025-05-22 14:00:57 +02:00
kobewi 42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
Hugo Locurcio f69d2eda80
Clarify `String.is_subsequence_of()` working differently from `String.contains()`
`is_subsequence_of()` has very different behavior from `contains()`.
2025-05-22 03:01:13 +02:00
Logan Detrick 1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
Raymond DiDonato 6b99608950 Add SMAA 1x 2025-05-21 15:02:09 -04:00
Haoyu Qiu 7010d171b1 Relax the requirements for making EditorImportPlugin 2025-05-21 22:13:09 +08:00
clayjohn 9a1def8da1 Add new StandardMaterial properties to allow users to control FPS-style objects (hands, weapons, tools close to the camera)
Add new shader built in Z_CLIP_SCALE to easily adjust clipping distance to avoid clipping walls etc.

Add fov_override to StandardMaterial3D to easily have a custom FOV for FPS objects

Add IN_SHADOW_PASS built-in to shaders for tweaking materials without impacting shadow maps
2025-05-21 10:16:05 -03:00
Hugo Locurcio 59a75babf8
Improve documentation for `Array.get()` and `Packed*Array.get()` methods 2025-05-20 23:47:04 +02:00
Rémi Verschelde 25a3c27c41
Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Ricardo Sanchez-Saez 47971c0a27
Introduce 'visionos' platform derived from 'apple_embedded' 2025-05-19 15:47:01 -07:00
Ricardo Sanchez-Saez 457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Thaddeus Crews 54a368b454
Merge pull request #106476 from timothyqiu/tooltip-scale
Improve description of `Control.scale`
2025-05-19 16:22:27 -05:00
Thaddeus Crews 0f21ccd4b8
Merge pull request #104560 from TokageItLab/bone-name-validation
Add bone name/idx matching validation and lacked virtual methods to `SkeletonModifier3D`
2025-05-19 08:01:40 -05:00
Thaddeus Crews 70fa7fba19
Merge pull request #101792 from TokageItLab/oneshot-scale
Change `NodeOneShot` fading to uses self delta instead of input delta
2025-05-19 08:01:30 -05:00
DeeJayLSP 0d4d0d44c9 Force weights on custom editor fonts when variable 2025-05-18 23:44:31 -03:00
Silc Lizard (Tokage) Renew b4ac896c66 Changed NodeOneShot fading so that it does not depend on input delta 2025-05-18 09:27:05 +09:00
Silc Lizard (Tokage) Renew 17d068963f Add bone name/idx matching validation & virtual func to skel Modifier 2025-05-17 06:18:25 +09:00
Adam Scott 6e6c4d3045
[Web] Always return `0` for `OS::get_process_id()` 2025-05-16 15:46:34 -04:00
Elzewyr 9f67bf96fa SoftBody3D: Add a property for scaling rest lengths of edge constraints 2025-05-16 18:38:00 +03:00
Thaddeus Crews 13aaf5e228
Merge pull request #103462 from GlitchedCode922/master
Fix InputEventMouseMotion reference
2025-05-16 10:29:01 -05:00