Commit Graph

10691 Commits (fe84b84b51df1ff6db658f521d1040aa563cedd0)

Author SHA1 Message Date
Rémi Verschelde 5fc786911f
Merge pull request #96286 from adamscott/add-js_buffer_to_packed_byte_array
Add `JavaScriptBridge` buffer methods
2024-09-17 09:17:42 +07:00
Rémi Verschelde e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +07:00
Haoyu Qiu 818acb4290 Make editor use translation domains
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.

Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +07:00
Haoyu Qiu c5d147b9b5 Allow configuring which translation domain Object.tr uses 2024-09-17 13:09:44 +07:00
Haoyu Qiu 68d494e24e Add translation domain 2024-09-17 13:09:44 +07:00
Hugo Locurcio 540ac86b60
Warn for potential performance issues with Auto Switch to Remote Scene Tree editor setting 2024-09-16 23:42:25 +07:00
Nikita Prianichnikov c54e49cd9a Clarify the coordinate space for the bounding rectangle returned by Label.get_character_bounds 2024-09-16 20:45:42 +07:00
Adam Scott a9b934b657
Add `JavaScriptBridge` buffer methods 2024-09-16 12:13:34 +07:00
demolke 0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +07:00
Rémi Verschelde a75bacebef
Merge pull request #97072 from iscke/string-doc-not
Remove outdated note about `not` operator with String and StringName
2024-09-16 15:25:51 +07:00
Rémi Verschelde 6311dd2e4c
Merge pull request #94684 from Musicgun47/soft-body-overhaul-ui
Fix `SoftBody3D` pinned points interaction
2024-09-16 15:25:37 +07:00
elle 90aad071f5 Remove outdated note about `not` operator with String and StringName 2024-09-16 21:51:18 +07:00
Joel Fortier a58ae8e1c6 Fixed SoftBody3D handles not being clickable in 3D Editor Viewport
Fix erratic behaviour when modifying pinned_points via inspector
2024-09-16 21:30:31 +07:00
Rémi Verschelde c86fcccf68
Merge pull request #97033 from Daylily-Zeleen/daylily-zeleen/fix_sort_custom_description
Fix description of `Array.sort_custom()`.
2024-09-16 13:35:54 +07:00
Rémi Verschelde 903f15d0fb
Merge pull request #96975 from Kiisu-Master/fix-docs-typo-render-time-function
Fix typo in RenderingServer docs
2024-09-16 13:35:39 +07:00
Rémi Verschelde 89cf031c94
Merge pull request #96866 from Mickeon/documentation-XRPose-name
Improve wording on XRPose's `name` description
2024-09-16 13:35:09 +07:00
Rémi Verschelde 8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +07:00
Rémi Verschelde 67c9708eb8
Merge pull request #95915 from BlueCube3310/betsy-bc1
Betsy: Add caching and BC1 compression support
2024-09-16 13:34:26 +07:00
Rémi Verschelde 91553f5811
Merge pull request #94246 from theashtronaut/fix-astar-partial-path
Fix AStar2D, AStar3D, AStarGrid2D from not returning a path when the destination is disabled/solid even with `allow_partial_path` option
2024-09-16 13:34:22 +07:00
Daylily-Zeleen c6f7c89149 Fix description of `Array.sort_custom()` 2024-09-15 15:52:50 +07:00
Koyper f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 +07:00
Markus Sauermann 60aaa017ff Enable Drag and Drop for SubViewports and Windows
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.

In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.

Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +07:00
Haoyu Qiu 504e0656bb Add TextEdit option to prevent copying without a selection 2024-09-14 09:39:36 +07:00
Kiisu_Master 3a1160bff1
Fix typo in RenderingServer docs 2024-09-13 21:57:51 +07:00
Rémi Verschelde b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +07:00
Slashscreen 89491f4403 Add callable support for `find` and `rfind` `Array` methods 2024-09-13 00:01:53 +07:00
allison c46b5af06b fix astar partial path destination can be solid/disabled
* AStar2D, AStar3D and AStarGrid2D will now return a path when allow_partial_path is true even if the destination is a solid/disabled point.

# Conflicts:
#	core/math/a_star_grid_2d.cpp
#	core/math/a_star_grid_2d.h
2024-09-12 20:09:41 +07:00
A Thousand Ships dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +07:00
kobewi b36bebc6da Add SCROLL_MODE_RESERVE to ScrollContainer 2024-09-12 14:02:01 +07:00
bruvzg b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered. 2024-09-12 11:47:24 +07:00
Rémi Verschelde cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +07:00
Rémi Verschelde f1742991dc
Merge pull request #96870 from IntangibleMatter/patch-1
Remove "default font" from `ResourceImporterDynamicFont` Documentation
2024-09-12 09:25:50 +07:00
Rémi Verschelde 55f1ae0d41
Merge pull request #96868 from dsnopek/android-editor-launching-xr-app-fix
Fix launching XR apps from the Android editor
2024-09-12 09:25:46 +07:00
Rémi Verschelde 612d4ea8f4
Merge pull request #95773 from tetrapod00/document-normal-texture-compositor
Add documentation for need for normal roughness texture conversion for CompositorEffects
2024-09-12 09:25:15 +07:00
Rémi Verschelde f5bf9b60bd
Merge pull request #92916 from Naros/expose-update-docs-from-script
Expose `update_docs_from_script` method
2024-09-12 09:17:35 +07:00
tetrapod00 461283887f Docs: Add cross-links to antialiasing project settings 2024-09-11 20:17:55 +07:00
BlueCube3310 606eedb0c9 Betsy: Add caching and BC1 compression support 2024-09-11 23:48:29 +07:00
David Snopek 30a63396e5 Fix launching XR apps from the Android editor 2024-09-11 14:31:54 +07:00
Stuart Carnie a657ea42f1
2D: Add batching to RendererCanvasRenderRD 2024-09-12 05:26:06 +07:00
Lyric Moysey-Rubin 0089915c65
Remove "default font" from `ResourceImporterDynamicFont` Documentation
The Docs for ResourceImporterDynamicFont's `multichannel_signed_distance_field` option appears to have been copy pasted from the version in ProjectSettings, including mentioning it's the "default font", instead of just "font" as it should in this class.
2024-09-11 11:05:27 +07:00
Micky 02ab0627d6 Improve wording on XRPose's `name` description 2024-09-11 18:10:08 +07:00
Rémi Verschelde a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +07:00
Rémi Verschelde b0328993e6
Merge pull request #87674 from WhalesState/line-edit
Prevent `LineEdit` focus loss when text is submitted or rejected and allow selecting without editing with arrow keys.
2024-09-11 12:34:31 +07:00
Malcolm Nixon 3e93970ef5 Expose the optimize method of the Animation class to gdscript. 2024-09-11 01:18:30 +07:00
Mounir Tohami c36f466a4c Prevent `LineEdit` from losing focus when text is submitted or rejected. 2024-09-10 13:43:31 +07:00
Rémi Verschelde 97ef3c8372
Merge pull request #96780 from bruvzg/no_type_ed_settings
[Resource Loader] Do not check property type for non registered properties.
2024-09-10 10:37:11 +07:00
bruvzg 3009073b39 [Resource Loader] Do not check property type for non registered properties. 2024-09-10 11:27:16 +07:00
smix8 287fdb16d5 Add navigation region point and segment queries
Adds point and segment queries for regions, e.g. closet point, point normal, or segment intersection.
2024-09-10 01:38:46 +07:00
Rémi Verschelde dcc15aa4e2
Merge pull request #96757 from Giganzo/doc-default-font-size
Fix description of invalid values for `Theme.default_font_size`
2024-09-09 17:52:00 +07:00
Giganzo 575a0b4dfb Fix below what value is invalid in default_font_size doc 2024-09-09 14:09:02 +07:00
Aaron Franke b0f99099b4
Add "Use Node Type Suffixes" scene import option 2024-09-09 01:12:14 +07:00
Rémi Verschelde 81f99eac00
Merge pull request #96599 from jsjtxietian/compute-hint
Mention user should remove compute shader hint when use `set_stage_source`
2024-09-08 23:22:01 +07:00
Rémi Verschelde e3be605387
Merge pull request #96583 from Calinou/doc-node2d-skew
Improve documentation on Node2D transform properties such as Skew
2024-09-08 23:21:57 +07:00
Apples 2c78284422 Updated TreeItem documentation 2024-09-06 19:38:53 +07:00
Rémi Verschelde a6db33ef89
Merge pull request #96614 from graydoubt/feat/cancel_drag
Expose `Viewport.gui_cancel_drag()` to GDScript as a counterpart to `Control.force_drag()`
2024-09-06 22:38:37 +07:00
Rémi Verschelde 6815c47869
Merge pull request #96507 from bruvzg/menu_index
[MenuBar] Make menu start index more consistent.
2024-09-06 22:38:33 +07:00
Rémi Verschelde 8aae31b879
Merge pull request #94434 from bruvzg/nonblock_pipes
Add support for non-blocking IO mode to `OS.execute_with_pipe`.
2024-09-06 22:38:21 +07:00
Rémi Verschelde 0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +07:00
Hugo Locurcio c8313764bb
Improve documentation on Node2D transform properties such as Skew
- Mention the units used for Skew in the inspector and code.
2024-09-06 22:37:48 +07:00
bruvzg da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip. 2024-09-06 14:55:07 +07:00
bruvzg 10f3c1f587
Add support for non-blocking IO mode to `OS.execute_with_pipe`. 2024-09-06 14:16:39 +07:00
bruvzg 3da43ebec4
[MenuBar] Make menu start index more consistent. 2024-09-06 13:21:01 +07:00
graydoubt e589c5baf3 Expose Viewport.gui_cancel_drag() to GDScript as a counterpart to Control.force_drag() 2024-09-06 06:20:22 +07:00
Rémi Verschelde 58b3481eaf
Merge pull request #89649 from dalexeev/core-bind-and-doc-iter-virtual-methods
Core: Bind and document iterator API virtual methods
2024-09-06 11:10:58 +07:00
Rémi Verschelde 05709b35fa
Merge pull request #96603 from bruvzg/fs_ext_list
[FileSystem Dock] Add option to show some unsupported files in the dock.
2024-09-06 10:09:36 +07:00
Rémi Verschelde 1476578a5c
Merge pull request #96276 from KoBeWi/deprecated_on_arrival
Deprecate `set_min_buttons_width_from_icons`
2024-09-06 10:09:24 +07:00
Rémi Verschelde 4629f7d040
Merge pull request #96496 from aXu-AP/lerp-transform
Add support for Transform2D/3D in `lerp()`
2024-09-05 17:44:11 +07:00
bruvzg 22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock. 2024-09-05 18:29:29 +07:00
kobewi bde64c4633 Deprecate set_min_buttons_width_from_icons 2024-09-05 15:43:54 +07:00
jsjtxietian 332b129221 Mention user should remove compute shader hint when use `set_stage_source` 2024-09-05 17:16:58 +07:00
Ryan 8835f326b1 Expose get_rpc_config and get_node_rpc_config
add documentation

Update doc/classes/Node.xml

change name of get_node_rpc_config to get_rpc_config

Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com>
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-09-04 15:45:22 +07:00
Rémi Verschelde 4ab358481b
Merge pull request #96340 from m4gr3d/update_pip_mode_options
[Android Editor] Update the options for launching the Play window in PiP mode
2024-09-04 18:55:35 +07:00
Rémi Verschelde a1012058dd
Merge pull request #94886 from gturri/dev
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
2024-09-04 18:55:24 +07:00
Rémi Verschelde db6af2ecc6
Merge pull request #85018 from smix8/skinnedmeshbake
Add option to bake a mesh from animated skeleton pose
2024-09-04 18:55:16 +07:00
Guillaume Turri ea9dff87ae
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
    myPathFollow2D.set_progress_ratio(0.5)
    myPathFollow2D.get_progress_ratio()
does not return 0.5)

This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +07:00
Thaddeus Crews 9853a69144
Implement typed dictionaries 2024-09-04 10:27:26 +07:00
Rémi Verschelde 9364aace9b
Merge pull request #96556 from dalexeev/doc-polygon-triangulation
Document use of pre-calculated triangulation when drawing polygons
2024-09-04 17:12:16 +07:00
Danil Alexeev 78abc3f57a
Document use of pre-calculated triangulation when drawing polygons 2024-09-04 11:31:22 +07:00
Daniel Kinsman 5e04f0760a Add target fps editor setting to visual profiler
Use same max fps as project setting

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-04 09:47:26 +07:00
Marius Hanl 27b7b433e0 Fix Inspector may scrolls away when editing a property that adds or removes sub properties 2024-09-04 01:20:11 +07:00
kobewi ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +07:00
smix8 a99a1699aa Add option to bake a mesh from animated skeleton pose
Adds option to bake a mesh from animated skeleton  pose.
2024-09-03 22:16:05 +07:00
andrei-g99 61ddf05eef
Add descriptions to `PolygonPathFinder` `setup` and `is_point_inside` methods 2024-09-03 16:38:38 +07:00
Rémi Verschelde a985d59603
Merge pull request #96473 from LunaTheFoxgirl/patch-1
Fix ambiguity in `angle_difference` function documentation
2024-09-03 16:14:05 +07:00
Rémi Verschelde 79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +07:00
aXu-AP 7218dd6a3a Add support for Transform2D/3D in lerp()
Implements godotengine/godot-proposals#10579
2024-09-03 16:59:15 +07:00
Gilles Roudière d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +07:00
citizenl 6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +07:00
Rémi Verschelde 657dc363ef
Merge pull request #96182 from dsnopek/java-class-wrapper
Fix `JavaClassWrapper` so it actually works
2024-09-03 11:43:35 +07:00
Rémi Verschelde 1914ca61ba
Merge pull request #96096 from Wierdox/doc_clarify_hdr_2d_description
[Doc] Clarify ProjectSettings `hdr_2d` description
2024-09-03 11:43:24 +07:00
Rémi Verschelde c282e17373
Merge pull request #94323 from Naros/GH-94322
Pass current value to `EditorInterface` node/property popups
2024-09-03 11:43:04 +07:00
Rémi Verschelde 5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +07:00
Luna fffed28f9a
Fix ambiguity in angle_difference function documentation
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-09-03 11:03:30 +07:00
Chris Cranford 9122be6474 Pass current value to `EditorInterface` node/property popups 2024-09-03 00:54:55 +07:00
Rémi Verschelde 36f95ef3db
Merge pull request #95815 from DeeJayLSP/qoa-def
ResourceImporterWAV: Enable QOA compression by default
2024-09-02 18:08:03 +07:00
Rémi Verschelde 160e3b3cf4
Merge pull request #91973 from Arnklit/particle-cylinder-cone-emission-shape
Add cone angle control to particle emission ring shape
2024-09-02 18:07:55 +07:00
David Snopek 78883a52c6 Fix `JavaClassWrapper` so it actually works 2024-09-02 08:54:23 +07:00
Kasper Arnklit Frandsen 40b9516724 Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +07:00
Rémi Verschelde d06579f47a
Merge pull request #96260 from basicer/preview-keep-looking
Keep looking when a preview plugin returns an empty image.
2024-09-02 12:13:16 +07:00
Rémi Verschelde 28b2ed50b7
Merge pull request #96056 from Lielay9/expose_canvas_item_attach_skeleton
Expose `RenderingServer.canvas_item_attach_skeleton`
2024-09-02 12:13:08 +07:00
Rémi Verschelde 0a7dfa1ef0
Merge pull request #95722 from TokageItLab/docs-for-interpolatable-type
Add documentation to clarify un-interpolatable type on animation blending
2024-09-02 12:12:56 +07:00
Rob Blanckaert 28e7069ee0 Keep looking when a preview plugin returns an empty image.
EditorResourcePreviewGenerator::_generate says that
"Returning an empty texture is an OK way to fail and
let another generator take care."

This patch enables that behavior.
2024-09-01 15:17:49 +07:00
Fredia Huya-Kouadio d1891adced Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android 2024-09-01 11:01:49 +07:00
Ainsley Su 57bc1d7574 Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
2024-09-01 17:00:47 +07:00
DeeJayLSP d3b51c4efb ResourceImporterWAV: Enable QOA compression by default 2024-08-31 00:42:56 +07:00
Rémi Verschelde 77bc419071
Merge pull request #96174 from DeeJayLSP/wav-docs
WAV stream/importer: Improve compression/loop names and descriptions
2024-08-30 23:37:50 +07:00
DeeJayLSP 5a50b3a6c5 WAV stream/importer: Improve compression/loop names and descriptions 2024-08-30 16:31:57 +07:00
Fredia Huya-Kouadio 11d4df4bc3 Update the options for launching the Play window in PiP mode 2024-08-30 10:31:33 +07:00
Raul Santos 7fd261c8c1
Expose `AudioStreamPlayer{2D,3D}::set_playing` and remove `AudioStreamPlayer::{2D,3D}::_is_active`
- The `_is_active` method seems to be unused, so it was removed.
- The `_set_playing` method is now exposed, as the setter of the `playing` property.
    - The `play` method can't be used as a setter because it takes a `float` parameter instead of a `bool` parameter.
2024-08-30 17:16:46 +07:00
Rémi Verschelde 1e57671718
Merge pull request #90130 from KoBeWi/erased_from_history
Expose EditorUndoRedoManager's `clear_history()`
2024-08-30 11:42:58 +07:00
Rémi Verschelde 7d9ab705c9
Merge pull request #96216 from BlackShift/master
Fix Tweeners to emit `finished()` when underlying object is deleted
2024-08-30 09:59:35 +07:00
Rémi Verschelde f0ee0bdd37
Merge pull request #93972 from Hilderin/fix-editor-needs-restart-after-adding-gdextensions
Fix editor needs restart after adding GDExtensions
2024-08-30 09:59:05 +07:00
Rémi Verschelde 4c6bac15a3
Merge pull request #92656 from fire/vsk-json-to-native-4.3
Ability to convert native engine types to JSON and back.
2024-08-30 09:58:57 +07:00
Rémi Verschelde 66dd06837c
Merge pull request #90782 from bruvzg/export_platform_extension
Allow adding custom export platforms using scripts / GDExtension.
2024-08-30 09:58:52 +07:00
BlackShift 1abd67caac Fix Tweeners to emit finished() when underlying object is deleted 2024-08-29 14:53:45 +07:00
K. S. Ernest (iFire) Lee 71bdbcdfb1 Ability to convert native engine types to JSON and back.
Implements support for all engine types in JSON encoding/decoding

Co-Authored-By: Juan <reduzio@gmail.com>
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2024-08-29 10:57:15 +07:00
kobewi ad7a2d19a6 Expose EditorUndoRedoManager's clear_history() 2024-08-29 19:23:39 +07:00
Hilderin ef6f873938 Fix editor needs restart after adding GDExtensions 2024-08-29 06:15:32 +07:00
Rémi Verschelde 9725c03228
Merge pull request #93900 from TestSubject06/10106/raycast_info_on_wheels
Expose contact point and contact normal on VehicleWheel3D to scripting.
2024-08-29 10:36:30 +07:00
TestSubject06 b56a0370c4 Expose contact point and contact normal on VehicleWheel3D
Appease doctool by switching the order of the documentation page entries.

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Thanks, didn't see the typo in the suggested change. Brain auto corrected it.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-28 10:28:56 +07:00
Rémi Verschelde 8c5d1b42ab
Merge pull request #92530 from Naros/expose-resource-cache-get-ref
Expose `get_cached_ref` from `ResourceCache`
2024-08-28 15:46:35 +07:00
Rémi Verschelde 60765bebe4
Merge pull request #95700 from m4gr3d/add_pip_support_to_game_window
[Android Editor] Add support for launching the Play window in PiP mode
2024-08-28 13:14:23 +07:00
Rémi Verschelde 4e051ff6f7
Merge pull request #78178 from dalexeev/gds-add-non-tool-extends-tool-error
GDScript: Add warning if non-`@tool` class extends `@tool` class
2024-08-28 13:14:13 +07:00
Fredia Huya-Kouadio 961394a988 Add support for launching the Play window in PiP mode 2024-08-28 03:18:51 +07:00
bruvzg 07e986f728
Allow adding custom export platforms using scripts / GDExtension. 2024-08-28 10:29:01 +07:00
bruvzg 94ad663c0f
[RTL] Expose missing default properties, ensure bbcode is reparserd when these are changed. 2024-08-28 08:43:30 +07:00
Rémi Verschelde 78935cad95
Merge pull request #94954 from raulsntos/mark-internal-properties
Mark underscored properties as internal
2024-08-28 00:12:42 +07:00
Rémi Verschelde e98aaf1caa
Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
2024-08-28 00:12:12 +07:00
Rémi Verschelde 6cb21a56fd
Merge pull request #93970 from MarblesFr/feature/collision-occlusion-options-layer-map
Add occlusion enabled option to TileMapLayer
2024-08-28 00:11:40 +07:00
Rémi Verschelde e3695423b2
Merge pull request #93363 from kitbdev/pass-propagate
Clarify Mouse Filter Pass in the Inspector
2024-08-28 00:11:06 +07:00
Rémi Verschelde 1e6b6eaf49
Merge pull request #92123 from timothyqiu/estimate-end
Change param name of AStar's `_estimate_cost` method
2024-08-28 00:10:47 +07:00
Rémi Verschelde 9c7cf5440c
Merge pull request #91868 from Chaosus/astargrid_get_point_positions_in_region
Add a method to retrieve all points within a region to `AStarGrid2D`
2024-08-28 00:10:42 +07:00
Rémi Verschelde 109203d472
Merge pull request #85331 from RobProductions/customize-navigation-controls
Add full customization of 3D navigation controls
2024-08-28 00:10:19 +07:00
Rémi Verschelde b4eacfe0ce
Merge pull request #95285 from Calinou/codeedit-completion-color-background-translucent
Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
2024-08-27 22:27:49 +07:00
Rémi Verschelde 012ccbc301
Merge pull request #95048 from KoBeWi/keep_the_party_going
Add `keep_screen_on` editor setting
2024-08-27 22:27:35 +07:00
Rémi Verschelde 8ae2c3a000
Merge pull request #93605 from RadiantUwU/thread-barriers
Add optional count argument to `Semaphore::post`
2024-08-27 22:27:21 +07:00
Rémi Verschelde 62e98edf0f
Merge pull request #83070 from aaronfranke/textedit-fit-width
Implement fit content width in TextEdit
2024-08-27 22:27:09 +07:00
Danil Alexeev be5068d44b
Core: Bind and document iterator API virtual methods 2024-08-27 21:57:22 +07:00
Radiant 6311ee5bd5 Add optional count argument to Sempahore::post
Co-authored-by: RandomShaper <RandomShaper@users.noreply.github.com>
Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Mickeon <Mickeon@users.noreply.github.com>
2024-08-27 18:18:01 +07:00
Rémi Verschelde 9dfc41568a
Merge pull request #95984 from timothyqiu/what-identifier
Add `String.is_valid_unicode_identifier()`
2024-08-27 16:55:06 +07:00
Rémi Verschelde 3db976bdb7
Merge pull request #95906 from larspet/change-2d-zoom
Add a zoom speed setting to the 2D editor
2024-08-27 16:55:02 +07:00
Rémi Verschelde c2daec1769
Merge pull request #95156 from BastiaanOlij/add_openxr_debug_utils
Add support for the debug utils extension in OpenXR
2024-08-27 16:54:54 +07:00
Rémi Verschelde 21bcff00e9
Merge pull request #95126 from Chaosus/shader_cubemap_fix
Allow setting a cubemap as default parameter to shader
2024-08-27 16:54:50 +07:00
Rémi Verschelde 5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +07:00
Chaosus db251a3f99 Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +07:00
Haoyu Qiu 8bf4ecc026 Add `String.is_valid_unicode_identifier()`
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +07:00
Bastiaan Olij 08ffa5d89e Add support for the debug utils extension in OpenXR 2024-08-27 12:07:01 +07:00
Rémi Verschelde db76de5de8
Merge pull request #95927 from vinni-richburgh/master
Document that `Node.duplicate` also duplicates its children.
2024-08-26 23:29:14 +07:00
Rémi Verschelde 4a798ad85d
Merge pull request #95749 from Mickeon/documentation-example-pruning
Remove empty `[b]Example:[/b]` lines from the class reference
2024-08-26 23:29:00 +07:00
Rémi Verschelde c5eacb8698
Merge pull request #95381 from tetrapod00/time-rollover-description
Document shader time rollover project setting
2024-08-26 23:28:50 +07:00
Rémi Verschelde a041772ecf
Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +07:00
Rémi Verschelde 2e825c7d9c
Merge pull request #93141 from RadiantUwU/add_static_classdb_calls
Implement `ClassDB::class_call_static_method`
2024-08-26 23:28:36 +07:00
Rémi Verschelde ac5a528620
Merge pull request #84944 from KoBeWi/legacy_of_ancient_godots
Fix some legacy code
2024-08-26 23:28:14 +07:00
Rémi Verschelde b34aa7b44d
Merge pull request #76085 from spanzeri/better_remember_editor_window
Remember editor window mode, screen, size and position on restart
2024-08-26 23:27:55 +07:00
Rémi Verschelde b5603ed8e2
Merge pull request #96118 from aaronp64/sort_custom_example
Fix `Array.sort_custom` example code
2024-08-26 22:46:10 +07:00
Rémi Verschelde a8516b8c3b
Merge pull request #96066 from AThousandShips/is_null_doc
[Doc] Clarify `is_null` methods of `Callable` and `Signal`
2024-08-26 22:45:50 +07:00
Rémi Verschelde 4a947f0811
Merge pull request #96021 from jwodicka/jwodicka-docfix
Fix C# code example for `Object._get_property_list`
2024-08-26 22:45:45 +07:00
Rémi Verschelde dd4ba9cce5
Merge pull request #95886 from jadoc/mouse-motion-caveat
Add movement caveats to InputEventMouseMotion docs
2024-08-26 22:45:33 +07:00
Jason Wodicka 97cf2c147e Fix C# code example for Object._get_property_list
There were two small errors in this code example that kept it from working when copied to a new node locally. These are the fixes I used locally to test the example.
2024-08-26 12:36:01 +07:00
stechyo c32f72f7fa Post-code review changes. 2024-08-26 19:42:42 +07:00
aaronp64 39ca8b4e23 Fix Array.sort_custom example code
Array.sort_custom descending sort example was comparing index 0, but had expected result based on comparing index 1.  Updated to use index 1 consistently.
2024-08-26 10:38:23 +07:00
Programneer bce67b7473 Remove the 2D renderer notice from ProjectSettings documentation 2024-08-26 12:47:28 +07:00
Wierdox 68799be79c [Doc] Clarify ProjectSettings hdr_2d description 2024-08-26 03:35:54 +07:00
Rémi Verschelde 28a72fa434
Merge pull request #95934 from bruvzg/win_ang_fb
Enable fallback from ANGLE to native and improve ANGLE error messages.
2024-08-25 22:51:38 +07:00
bruvzg f8a6c0e8ab
Enable fallback from ANGLE to native and improve ANGLE error messages. 2024-08-25 21:19:54 +07:00
Rémi Verschelde bb437722ea
Merge pull request #96033 from Tallivm/patch-1
Fix typo in `Array` code example
2024-08-25 20:18:42 +07:00
Rémi Verschelde 844ac90bad
Merge pull request #95956 from ItzCog/master
Fix some C# variable types In `AStar2D/3D` Class Reference
2024-08-25 20:18:25 +07:00
A Thousand Ships 5b91040ba6
[Doc] Clarify `is_null` methods of `Callable` and `Signal` 2024-08-25 14:33:07 +07:00
Hei 94e434b34e Expose the function 'RenderingServer.canvas_item_attach_skeleton' 2024-08-25 04:13:04 +07:00
Matias N. Goldberg 59d0422dcd Disable extra memory tracking by default
PR #90993 added several debugging utilities.

Among them, advanced memory tracking through the use of custom
allocators and VK_EXT_device_memory_report.

However as issue #95967 reveals, it is dangerous to leave it on by
default because drivers (or even the Vulkan loader) can too easily
accidentally break custom allocators by allocating memory through std
malloc but then request us to deallocate it (or viceversa).

This PR fixes the following problems:
 - Adds --extra-gpu-memory-tracking cmd line argument
 - Adds missing enum entries to
RenderingContextDriverVulkan::VkTrackedObjectType
 - Adds RenderingDevice::get_driver_and_device_memory_report
    - GDScript users can easily check via print(
RenderingServer.get_rendering_device().get_driver_and_device_memory_report()
)
- Uses get_driver_and_device_memory_report on device lost for appending
further info.

Fixes #95967
2024-08-24 20:52:39 +07:00
Tallivm b516742358 Fix typo in Array code example 2024-08-24 20:44:01 +07:00
David Giardi e371587147 Improve SpinBox interaction, split arrows, add theme attributes 2024-08-23 18:21:20 +07:00
Alex Docauer 08dcbce6b5
Add movement caveats to InputEventMouseMotion docs
InputEventMouseMotion may fire when the mouse hasn't moved.
Also, it generally won't fire when the mouse stops moving.
This makes reliably detecting when the mouse isn't moving tricky.

Update the docs for InputEventMouseMotion to capture these caveats
and give guidance for the best way to detect lack of mouse movement.
2024-08-23 07:54:18 +07:00
Lars Pettersson dfdf7ebcda
Add a zoom speed setting to the 2D editor 2024-08-23 07:13:16 +07:00
Radiant 02fc4bbc2a Implement `ClassDB::class_call_static_method` 2024-08-23 02:56:29 +07:00
Dungeon Master 1928a84f6e Fix some C# variable types In `AStar2D/3D` Class Reference 2024-08-23 02:25:56 +07:00
Vinni Richburgh 3e86f7b50e In Node.xml mentioned that Node::duplicate also copies children.
The list now uses the Oxford comma.
2024-08-22 18:57:05 +07:00
Rémi Verschelde 568589c9d8
Merge pull request #90993 from darksylinc/matias-TheForge
Add debug utilities for Vulkan
2024-08-22 00:38:22 +07:00
Rémi Verschelde 2a98d8d78a
Merge pull request #95883 from jsjtxietian/curve2d-doc
Fix Curve2D incorrect sample range description
2024-08-22 00:10:46 +07:00
Rémi Verschelde 39b77ea04e
Merge pull request #95790 from aaronfranke/rect-aabb-support
Simplify Rect2/AABB `get_support` function
2024-08-22 00:10:39 +07:00
Matias N. Goldberg 364f916f3f
Add debug utilities for Vulkan
Features:
- Debug-only tracking of objects by type. See
get_driver_allocs_by_object_type et al.
 - Debug-only Breadcrumb info for debugging GPU crashes and device lost
 - Performance report per frame from get_perf_report
- Some VMA calls had to be modified in order to insert the necessary
memory callbacks

Functionality marked as "debug-only" is only available in debug or dev
builds.

Misc fixes:
 - Early break optimization in RenderingDevice::uniform_set_create

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

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
2024-08-21 23:48:08 +07:00
jsjtxietian 5183588499 Fix curve2d incorrect sample range description 2024-08-21 16:00:25 +07:00
Rémi Verschelde 4b8946102b
Merge pull request #91535 from BlueCube3310/betsy-bc6h
Add Betsy to speed up BC6 compression
2024-08-21 06:38:03 +07:00
Stuart Carnie 2d0165574d
Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +07:00
Rémi Verschelde 5ebfc8a6ba
Merge pull request #95643 from Flynsarmy/get_bone_attach_skele
Add `BoneAttachment3D::get_skeleton()` method
2024-08-20 11:04:04 +07:00
Rémi Verschelde 0b1bf3cb42
Merge pull request #95760 from jolexxa/docs/joy-info
docs: Highlight lack of joystick info on majority of platforms
2024-08-20 10:02:28 +07:00
Rémi Verschelde a700b2a4a2
Merge pull request #95153 from BastiaanOlij/improve_hand_tracking_settings
Change hand tracking project settings and finetune `show_when_tracked`
2024-08-20 10:02:01 +07:00
Rémi Verschelde 7999b4bb8a
Merge pull request #94324 from SomeRanDev/shader_hint_enum
GDShader: Add `hint_enum` for `uniform int`
2024-08-20 10:01:57 +07:00
Rémi Verschelde 6a9ecdcf0c
Merge pull request #91818 from rburing/fti_multimesh
Physics interpolation: `MultiMesh`
2024-08-20 10:01:46 +07:00
Rémi Verschelde 8acd82f70e
Merge pull request #89919 from BlueCube3310/bicubic-lightmap
Implement bicubic sampling for lightmaps
2024-08-20 10:01:41 +07:00
Aaron Franke 7db24a9ad5
Simplify and fix Rect2/AABB get_support function 2024-08-19 23:55:31 +07:00
tetrapod00 abe8d2c719 Document conversion function needed for normal texture in CompositorEffect 2024-08-19 21:49:31 +07:00
Bastiaan Olij a8c5117777 Change hand tracking project settings and finetune show_when_tracked 2024-08-20 11:12:52 +07:00
Rémi Verschelde da57bab169
Merge pull request #92560 from smix8/navmesh2d_bake_partition
Add triangulation partition option to 2D navigation mesh baking
2024-08-19 16:04:49 +07:00
Rémi Verschelde 01fdac08d9
Merge pull request #95779 from Mickeon/documentation-no-differences-ShapeCast
Fix some differences between ShapeCast2D and ShapeCast3D documentation
2024-08-19 14:34:26 +07:00
Rémi Verschelde 8b39d7f326
Merge pull request #95666 from kleonc/parallax2d_repeat_offsets_relative_to_source
Fix `Parallax2D` repeats being not relative to its transform
2024-08-19 14:34:21 +07:00
Rémi Verschelde 8b98d9aa4d
Merge pull request #95137 from smix8/source_geo_bounds
Add `get_bounds()` function to NavigationMeshSourceGeometryData
2024-08-19 14:34:13 +07:00
Rémi Verschelde ab2b06b8b1
Merge pull request #95730 from voidedWarranties/fix_reload_scripts_bind
Fix virtual binding for `ScriptLanguageExtension::_reload_scripts`
2024-08-19 12:09:39 +07:00
Rémi Verschelde 43c46b9b1b
Merge pull request #95013 from smix8/navmesh_geo_parse
Change NavigationMesh to also parse collision shapes by default
2024-08-19 12:08:55 +07:00
Rémi Verschelde f4037d6f6c
Merge pull request #92496 from clayjohn/HDR-2D-sRGB
Ensure MovieWriter output is in gamma space when using HDR 2D
2024-08-19 12:08:40 +07:00
kleonc 1bd8372813 Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +07:00
BlueCube3310 ef9bb1a207 Implement support for bicubic lightmap filtering
Co-authored-by: Calinou <hugo.locurcio@hugo.pro>
2024-08-19 09:52:09 +07:00
Micky 4ce5856384 Remove empty `[b]Example:[/b]` lines from the class reference 2024-08-19 01:00:52 +07:00
Micky be1dc574e0 Fix some differences between ShapeCast2D and ShapeCast3D documentation 2024-08-19 00:32:14 +07:00
smix8 2e1f6b50fb Add bounds function to NavigationMeshSourceGeometryData
Adds get_bounds() function to NavigationMeshSourceGeometryData2D/3D to get a bounding box that covers all the geometry.
2024-08-19 00:12:37 +07:00
Micky b8f78b14be Fix miscellaneous oddities around the class reference 2024-08-18 23:18:44 +07:00
Joanna May bebf2e87f2 docs: highlight lack of joystick info on majority of platforms 2024-08-18 14:47:32 +07:00
Micky 519351f677 Fix differences between String and StringName's documentation 2024-08-18 18:26:29 +07:00
Ricardo Buring 1728f80e7c Fixed Timestep Interpolation: MultiMesh
Adds fixed timestep interpolation to multimeshes.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-08-18 17:14:59 +07:00
BlueCube3310 394ea653aa Add Betsy to speed up BC6 compression 2024-08-18 11:14:05 +07:00
voidedWarranties d65ea6fb9c Fix virtual binding for `ScriptLanguageExtension::_reload_scripts` 2024-08-17 21:09:32 +07:00
Silc Lizard (Tokage) Renew 3e124298fe Add document to clarify un-interpolatable type on animation blending 2024-08-18 09:31:49 +07:00
Flyn San 0df7ee31d2 Add BoneAttachment3D::get_skeleton() method 2024-08-17 09:35:24 +07:00
Rémi Verschelde 8d65fd2b32
Merge pull request #95655 from aaronp64/blend_space_2d_docs
Minor AnimationNodeBlendSpace2D documentation fixes
2024-08-17 00:47:10 +07:00
Rémi Verschelde 2e400bc475
Merge pull request #95299 from bruvzg/kern_img
[ImageFont] Fix escape sequence parsing, add note to the docs.
2024-08-16 23:45:44 +07:00
Rémi Verschelde 82adfebcf8
Merge pull request #94799 from m4gr3d/memory_allocation_cleanup_and_optimizations
Android memory cleanup and optimizations
2024-08-16 23:45:39 +07:00
Rémi Verschelde dbf4be308c
Merge pull request #93583 from smix8/obstacle_monitor
Add navigation obstacles to performance monitor stats
2024-08-16 23:45:10 +07:00
aaronp64 05bcfda784 Minor AnimationNodeBlendSpace2D documentation fixes
Updated a couple parts that seemed to be copied over from AnimationNodeBlendSpace1D
2024-08-16 15:13:36 +07:00
Micky edb3d99942 Add RichTextLabel `is_finished()`, deprecate `is_ready()` 2024-08-16 20:08:38 +07:00
Fredia Huya-Kouadio a57a99f5bc Memory cleanup and optimizations
- Returns an empty list when there's not registered plugins, thus preventing the creation of spurious iterator objects

- Inline `Godot#getRotatedValues(...)` given it only had a single caller. This allows to remove the allocation of a float array on each call and replace it with float variables

- Disable sensor events by default. Sensor events can fired at 10-100s Hz taking cpu and memory resources. Now the use of sensor data is behind a project setting allowing projects that have use of it to enable it, while other projects don't pay the cost for a feature they don't use

- Create a pool of specialized input `Runnable` objects to prevent spurious, unbounded `Runnable` allocations

- Disable showing the boot logo for Android XR projects

- Delete locale references of jni strings
2024-08-16 09:27:41 +07:00
bruvzg 4cc065c2db
[ImageFont] Fix escape sequence parsing, add note to the docs. 2024-08-16 15:48:56 +07:00
Rémi Verschelde 1a5602c404
Merge pull request #95539 from tetrapod00/compositor-tutorial-link
Add tutorial link in Compositor and CompositorEffect docs
2024-08-16 14:35:45 +07:00
Rémi Verschelde 1d4303c1fe
Merge pull request #95502 from bruvzg/net_ext_detect
[.NET] Move search in files extension list definition to be after Scene level module init.
2024-08-16 14:35:12 +07:00
Rémi Verschelde 63397b5b17
Merge pull request #95485 from sepTN/clarify-timer-docs
Clarify `Timer.start()` documentation to match the current behavior.
2024-08-16 14:35:01 +07:00
Rémi Verschelde a917a2b2f9
Merge pull request #95456 from smix8/navlink_mapchange
Add NavigationLink function to change navigation map
2024-08-16 14:34:49 +07:00
Rémi Verschelde 504f81ec08
Merge pull request #95376 from raulsntos/gdextension/expose-property-accessors/Polygon2D
Make `Polygon2D::bones` property internal
2024-08-16 14:33:49 +07:00
Rémi Verschelde 252ba2e0e3
Merge pull request #95230 from bruvzg/msdf_custom
[Editor] Allow MSDF font rendering for custom fonts, add editor setting to control it.
2024-08-16 14:33:12 +07:00
Rémi Verschelde 69db19f058
Merge pull request #94826 from Naros/classdb-expose-property-getter-setter
Expose ClassDB methods `get_property_setter` / `get_property_getter`
2024-08-16 14:32:32 +07:00
Rémi Verschelde 7865266f24
Merge pull request #94609 from bruvzg/pixel_font_detect
[Font Import] Detect pixel fonts and disable subpixel positioning.
2024-08-16 14:32:14 +07:00
Rémi Verschelde f02e89bd04
Merge pull request #93869 from MajorMcDoom/ortho-grids
Make viewport grid visible on all three planes in ortho camera view
2024-08-16 14:32:06 +07:00
Rémi Verschelde 7ac1f547bc
Merge pull request #92001 from GrahameGW/line_intersect_docs
Clarify documentation for `Geometry2D.line_intersects_line`
2024-08-16 14:31:59 +07:00
Rémi Verschelde d45f9d26ff
Merge pull request #81973 from /detective_TileMap_uncovers_the_truth_about_tile_rotation 2024-08-16 14:31:32 +07:00
Rémi Verschelde 987635b508
Merge pull request #95374 from raulsntos/gdextension/expose-property-accessors/ShapeCast
Expose `ShapeCast{2D,3D}::get_collision_result`
2024-08-16 10:35:38 +07:00
Rémi Verschelde e52cf86661
Merge pull request #94100 from Calinou/obj-import-remove-unused-optimize-mesh
Remove unused Optimize Mesh import option from OBJ mesh import
2024-08-16 10:34:16 +07:00
Rémi Verschelde 27f3dd8d01
Merge pull request #93149 from Malcolmnixon/smoothstep-degenerate-case
Handle the smoothstep degenerate case of empty range
2024-08-16 10:33:58 +07:00
Rémi Verschelde 46c6865979
Merge pull request #92391 from rburing/fti_3d
Physics interpolation (3D)
2024-08-16 10:33:37 +07:00
Malcolm Nixon 23fc704cbc This PR handles the smoothstep degenerate case where the range is empty.
It also updates the documentation to describe positive and negative ranges.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2024-08-15 19:08:05 +07:00
smix8 e6ff4e56e3 Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.
2024-08-15 22:37:02 +07:00
Raul Santos e47ff98451
Expose `ShapeCast{2D,3D}::get_collision_result` 2024-08-15 16:20:13 +07:00
stechyo e479c238a2 Expose some AudioStreamPlayback methods.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-15 14:10:18 +07:00
tetrapod00 d6ef881418 Add tutorial link in Compositor and CompositorEffect docs 2024-08-14 22:04:12 +07:00
bruvzg 69d52ed081
[.NET] Move search in files extension list definition to be after Scene level module init. 2024-08-14 00:16:09 +07:00
Septian Ganendra S. K. 336b9a27b7 Clarify `Timer.start()` documentation to match the current behavior. 2024-08-13 21:05:14 +07:00
Rémi Verschelde b8e8b339c4
Merge pull request #95347 from calsbrook/update-compositor-effect-docs
Clarify usage of CompositorEffect as an abstract base class
2024-08-12 22:41:52 +07:00
Silc Lizard (Tokage) Renew db3a831141 Add Animation tutorial links to class reference by 4.3 2024-08-13 01:57:28 +07:00
Rémi Verschelde 86c95d26fc
Merge pull request #95409 from AlexAlappsis/master
Incorrect reference to VisibleOnScreenEnabler3D/2D in VisibleOnScreenNotifier3D/2D documentation.
2024-08-12 14:10:41 +07:00
Rémi Verschelde ece2e6d23b
Merge pull request #95377 from raulsntos/gdextension/expose-property-accessors/Animation
Make `Animation::capture_included` read-only
2024-08-12 14:10:37 +07:00
Rémi Verschelde f16c3d13b4
Merge pull request #95341 from esainane/valid-example
Fix check in `Object._ValidateProperty` example
2024-08-12 14:10:32 +07:00
Rémi Verschelde 10ae73cc69
Merge pull request #95336 from esainane/typo-eh
Fix typo in EditorImportPlugin docs
2024-08-12 14:10:21 +07:00
Alex Mitchell 3c2259f59a
Fix incorrect reference to VisibleOnScreenEnabler2D/3D in *Notifier2D/3D docs 2024-08-12 13:19:49 +07:00
kobewi dba1a39fe1 Add helper methods to check for tile transforms 2024-08-12 02:51:34 +07:00
Hannah Crawford a54b71bbdf Add `shadow_caster_mask` to Light3D. 2024-08-12 00:17:11 +07:00
tetrapod00 25ae74b625 Document time rollover setting in ProjectSettings.xml 2024-08-11 15:19:33 +07:00
Hugo Locurcio 0d314c12a4
Add template images to the Cubemap class documentation
This also adds an example sky shader for using a cubemap as a skybox.
This solution should be preferred to converting the cubemap texture
to a panorama sky, as that method implies a loss in quality compared
to the source cubemap.
2024-08-11 18:15:31 +07:00
Raul Santos 415331f474
Make `Animation::capture_included` read-only
The `PROPERTY_USAGE_READ_ONLY` flag only makes the property read-only in the inspector, but the property also has the `PROPERTY_USAGE_NO_EDITOR` flag which means it won't show up in the inspector. So it does nothing, while still making it editable from scripting.

To make it read-only for scripting too, this PR removes the setter from the `PropertyInfo`. And since the `set_capture_included` method is now unused, it was also removed.
2024-08-10 18:53:45 +07:00
Raul Santos 60e93415ed
Make `Polygon2D::bones` property internal 2024-08-10 17:55:29 +07:00
calsbrook 3217bc283c Clarify usage of CompositorEffect as an abstract base class in the documentation 2024-08-09 21:28:31 +07:00
Sai Nane 15f6984675 Fix check in `Object._ValidateProperty` example
The GDScript version above makes the `number` property read only whenever
`is_number_editable` is false.

```gdscript
func _validate_property(property: Dictionary):
	if property.name == "number" and not is_number_editable:
		property.usage |= PROPERTY_USAGE_READ_ONLY
```

The C# version is similar, but omits the negation, so the Number property is
made read only whenever `is_number_editable` is true.

This adds the negation to the C# example, making it match the GDScript
example.
2024-08-09 19:08:27 +07:00
Sai Nane 635313f8c9 Fix typo in EditorImportPlugin docs
"[param custom_importer] ca be" -> "[param custom_importer] can be"
2024-08-09 17:19:06 +07:00
Sai Nane 58e3500010 Fix documentation of `EditorImportPlugin._Import`
The following is the currently generated `EditorImportPlugin.cs`:

```csharp
    public virtual Error _Import(string sourceFile, string savePath, Dictionary options, Array<string> platformVariants, Array<string> genFiles)
    {
        return Error.Ok;
    }
```

This fixes the type signature in the documentation's example to match the
actual type signature.
2024-08-09 16:08:35 +07:00
Hugo Locurcio fb88658cc8
Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
This makes translucent colors easier to interpret as such
and is consistent with how they're displayed in ColorPicker.
2024-08-09 00:03:11 +07:00
bruvzg 600e770f39
[Editor] Allow MSDF font rendering for custom fonts, add editor setting to control it. 2024-08-08 10:59:33 +07:00
Hugo Locurcio 5bc4b49f0b
Document converting a TileMap node to TileMapLayer using the editor 2024-08-07 11:15:29 +07:00
Rémi Verschelde 6a10330ceb
Merge pull request #95164 from Calinou/doc-window-popup-coordinates
Document expected coordinates in `PopupMenu.popup()`
2024-08-06 12:32:08 +07:00
Rémi Verschelde e54ffd21e2
Merge pull request #95046 from timothyqiu/typos
Fix several typos in the documentation
2024-08-06 12:31:12 +07:00
Rémi Verschelde d798b7a410
Merge pull request #95041 from AdamLearns/master
Clean up English in JSON documentation
2024-08-06 12:31:07 +07:00
Rémi Verschelde 77353e72e1
Merge pull request #95004 from Calinou/doc-texture-import-premul-alpha
Document support 3D premultiplied alpha in ResourceImporterTexture
2024-08-06 12:30:47 +07:00
Rémi Verschelde 0e244fcd97
Merge pull request #94997 from erictuvesson/fix/typo
Fix typo in EditorPlugin `_forward_3d_draw_over_viewport(overlay)` method example
2024-08-06 12:30:42 +07:00
Rémi Verschelde 8c512c61ab
Merge pull request #94942 from jsjtxietian/multimwsh-custom
Mention Multimesh custom data will be compressed to half in Compatibility
2024-08-06 12:30:37 +07:00
Rémi Verschelde 6519e2ecd2
Merge pull request #94299 from TokageItLab/docs-override-loop-tree
Add a note of `loop_mode` for `custom_timeline` to the `NodeAnimation` docs
2024-08-06 12:30:29 +07:00
Adam Damiano c138a0bb3a
Clean up English in JSON documentation 2024-08-06 11:21:45 +07:00
Hugo Locurcio 2ed679eb87
Document expected coordinates in `PopupMenu.popup()`
- Improve documentation related to embedded subwindows and single-window mode.
- Add `minsize` keyword aliases for `popup_centered_clamped()` methods
  to ease migration to Godot 4.x (this was Godot 3.x terminology).
2024-08-05 16:45:33 +07:00
jsjtxietian 7dab1a8215 Mention Multimesh custom data will be compressed to half in Compatibility 2024-08-05 12:27:59 +07:00
Aaron Franke 3b8afcd10c
Implement fit content width in TextEdit
Co-authored-by: Kit Bishop <kitbdev@gmail.com>
2024-08-04 15:14:56 +07:00
smix8 110b2dc61a Add triangulation partition option to 2D navigation mesh baking
Adds triangulation partition option to 2D navigation mesh baking as an alternative to the existing convex partition option.
2024-08-05 00:08:46 +07:00
kobewi ab4c23583a Add keep_screen_on editor setting 2024-08-02 03:44:29 +07:00
Haoyu Qiu 7cf9ed5f65 Fix several typos in the documentation 2024-08-02 08:42:20 +07:00
smix8 c9b152bd0c Change NavigationMesh to also parse collision shapes by default
Changes NavigationMesh parse geometry types to include collision shapes as well by default.
2024-08-01 14:41:49 +07:00
kobewi 0d1c388991 Fix some legacy code 2024-08-01 12:08:14 +07:00
Silc Lizard (Tokage) Renew dd32e2d331 Add a note of loop_mode for custom_timeline to the NodeAnimation docs 2024-08-01 18:52:32 +07:00
Hugo Locurcio e15a62e42c
Document support 3D premultiplied alpha in ResourceImporterTexture
This is supported since Godot 4.3.
2024-08-01 03:59:49 +07:00
Eric Tuvesson f810d18f09 Fix typo in EditorPlugin `_forward_3d_draw_over_viewport(overlay)` method example
Too few arguments for "draw_circle()" call. Expected at least 3 but received 2.
2024-08-01 00:10:16 +07:00
Will Thompson 4fb07d4608
Font: Fix typo in get_supported_variation_list example
FontVariation.set_base_font is a function, not a property. The property
is FontVariation.base_font.
2024-07-31 23:16:30 +07:00
bruvzg 1dfcbccfe6
[macOS] Fix `is_process_running` and `kill` for bundled apps. 2024-07-31 16:54:53 +07:00
Raul Santos 7a20ba9b63
Mark underscored properties as internal
These properties look like they were intended to be internal but they were missing the `PROPERTY_USAGE_INTERNAL` flag.

- `PackedScene::_bundled`
- `PortableCompressedTexture2D::_data`
- `ImporterMesh::_data`
2024-07-30 18:50:00 +07:00
Rémi Verschelde 6d46399bc9
Merge pull request #94879 from KoBeWi/color_conjuring_tricks
Document alternatives to some static Color methods
2024-07-29 15:17:40 +07:00
Rémi Verschelde 9a8f18b9bf
Merge pull request #94796 from kus04e4ek/backfall
Windows: Fall back to D3D12 if Vulkan is not supported and vice versa
2024-07-29 15:17:26 +07:00
Rémi Verschelde c2bf146fb6
Merge pull request #94842 from edassis/master
Fix typo in Array's `sort()` method description
2024-07-28 17:47:02 +07:00
Rémi Verschelde 53ab23f7d7
Merge pull request #94821 from kitbdev/fix-textedit-scroll-suffix
Fix `TextEdit` scroll properties editor hint suffix
2024-07-28 17:46:48 +07:00
Rémi Verschelde 1322fd3a87
Merge pull request #94745 from anniryynanen/shortcut-input-too
Update documentation for places to receive InputEventShortcut
2024-07-28 17:46:35 +07:00
kobewi 7cc0df6b46 Document alternatives to some static Color methods 2024-07-28 17:30:02 +07:00
Eduardo Assis 5ada090d74 Fix typo in Array's sort() method description 2024-07-27 16:13:42 +07:00
Kusok d30c1e6a8f Fall back to D3D12 if Vulkan is not supported and vice versa 2024-07-27 16:17:20 +07:00
Chris Cranford 7963e63165 Expose ClassDB methods `get_property_setter` / `get_property_getter` 2024-07-27 00:13:34 +07:00
kit 36677798f1 Fix TextEdit scroll properties editor hint suffix 2024-07-26 18:18:29 +07:00
Anni Ryynänen a56391be99
Update documentation for places to receive InputEventShortcut 2024-07-26 16:56:27 +07:00
Thad Guidry 1ea55ae075
Add link to notification docs in SceneTree docs 2024-07-26 13:26:26 +07:00
Hugo Locurcio c15633139f
Document `_process()` and `_physics_process()` delta behavior at low FPS 2024-07-24 23:47:42 +07:00
Hugo Locurcio 905e060777
Document update spinner never displaying with `--debug-canvas-item-redraw` 2024-07-24 18:09:08 +07:00
bruvzg 32bc1c2f33
[Font Import] Detect pixel fonts and disable subpixel positioning. 2024-07-23 20:34:39 +07:00
Mikael Hermansson a559a1c6d8 Bind `PhysicsServer*D::body_set_state_sync_callback` 2024-07-23 13:30:44 +07:00
Samuele Panzeri d0bcac8197 Remember editor window mode, screen, size and position on restart 2024-07-23 00:32:12 +07:00
Rémi Verschelde c0fae769f8
Merge pull request #94161 from bruvzg/ndlg_notes
[Docs] Add some notes about native file dialog limitations.
2024-07-22 15:41:05 +07:00
bruvzg 684f69a422
[Docs] Add some notes about native file dialog limitations. 2024-07-22 15:56:54 +07:00
Sora 998f5c682e Add occlusion enabled options to tile map layer 2024-07-22 12:13:39 +07:00
bruvzg 93ccf8e9e4
[RTL] Fix text size rounding with MSDF fonts. 2024-07-22 07:48:29 +07:00
Rémi Verschelde e3b852559f
Merge pull request #94547 from clayjohn/DOCS-shadow_mesh
Add note to `shadow_mesh` docs to warn about improper usage
2024-07-20 16:07:43 +07:00
clayjohn cacb9d139e Add note to shadow_mesh docs to warn about improper usage 2024-07-19 13:26:51 +07:00
krdluzni 5626851f40 clarify animation queuing documentation 2024-07-19 12:36:25 +07:00
Rémi Verschelde 50eee00180
Merge pull request #94093 from Yahkub-R/94056-fix
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
2024-07-19 17:31:39 +07:00
Yahkub-R 66822a8948 Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Hilderin <81109165+Hilderin@users.noreply.github.com>
2024-07-19 08:51:23 +07:00
Rémi Verschelde 566adc6025
Merge pull request #94527 from HolonProduction/who-needs-source-code
Add note about `Script.has_source_code` and GDScript binary tokenization
2024-07-19 14:37:06 +07:00
Rémi Verschelde 47e99d55b3
Merge pull request #94388 from BastiaanOlij/expose_more_methods_scene_buffers_rd
Expose more state in RenderSceneBuffersRD
2024-07-19 11:10:46 +07:00
HolonProduction f06504ca0b Add note about `Script.has_source_code` and GDScript binary tokenization 2024-07-19 10:38:55 +07:00
Rémi Verschelde 1e81a946cc
Merge pull request #94412 from dsnopek/xr-always-render
Always render when XR is enabled, even if no OS windows can draw
2024-07-18 15:38:14 +07:00
kobewi 10da06a32c Fix empty region in AtlasTexture 2024-07-18 15:31:59 +07:00
Rémi Verschelde 43902f43d5
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
2024-07-18 10:45:33 +07:00
RedMser f9258ff928 Fix typos 2024-07-17 18:53:03 +07:00
Rémi Verschelde 5ace3fb6d0
Merge pull request #94329 from KoBeWi/sceneles
Some improvements to TileSetScenesCollectionSource docs
2024-07-17 15:44:57 +07:00
Rémi Verschelde 28b7efb438
Merge pull request #94325 from KoBeWi/y'all_got_any_more_of_them_pixels
Clarify `clipboard_get_image()`
2024-07-17 15:44:54 +07:00
David Snopek 7a5a8597eb Always render when XR is enabled, even if no OS windows can draw 2024-07-17 08:19:21 +07:00
Rémi Verschelde 6827779587
Merge pull request #94433 from markdibarry/parallax-tutorial-link
Add tutorial link to Parallax2D doc
2024-07-17 11:44:38 +07:00
Rémi Verschelde 7e5522e798
Merge pull request #94393 from BlueCube3310/docs-eac-range-fix
Fix texture compression descriptions in RenderingDevice docs
2024-07-17 11:44:16 +07:00
Rémi Verschelde b70f96fa39
Merge pull request #94389 from RTTEXFile/patch-1
Fix typo in AABB docs
2024-07-17 11:44:12 +07:00
Rémi Verschelde 44cb48eaae
Merge pull request #94331 from KoBeWi/parent_is_visible_but_what_even_is_a_parent
Clarify `is_visible_in_tree()` in CanvasItem
2024-07-17 11:44:05 +07:00
Rémi Verschelde ac215012d6
Merge pull request #94291 from TokageItLab/readdskel
Re-add `Skeleton3D::animate_physical_bones` property
2024-07-17 11:43:51 +07:00
Rémi Verschelde 37d0b5d2ad
Merge pull request #94155 from mickeyordog/patch-1
Fix unclear `PROPERTY_USAGE_STORAGE`/`EDITOR` description
2024-07-17 11:43:22 +07:00
Rémi Verschelde 5257ba1a31
Merge pull request #94142 from AdriaandeJongh/resources-duplicate-doc-update
Clarify that `Resource.duplicate(true)` doesn't duplicate subresources inside `Array` or `Dictionary` properties
2024-07-17 11:43:19 +07:00
Rémi Verschelde 496fd12b17
Merge pull request #94052 from m4gr3d/clean_input_dispatch_settings
Cleanup Android input on render thread settings
2024-07-17 11:42:52 +07:00
Liam Sherwin 160ac00bdb
Update Node docs to change iOS to Android for NOTIFICATION_WM_GO_BACK_REQUEST 2024-07-17 11:41:58 +07:00
Mickey Ordog 6651a511c8
Fix unclear `PROPERTY_USAGE_STORAGE`/`EDITOR` description 2024-07-17 11:30:13 +07:00
Mark DiBarry 1a1d0d6cc6 Add tutorial link to Parallax2D doc 2024-07-16 08:25:29 +07:00
BlueCube3310 a20960bce4 Fix texture compression descriptions in RenderingDevice docs 2024-07-15 15:19:02 +07:00
Bastiaan Olij 9442eb8194 Expose more state in RenderSceneBuffersRD 2024-07-15 22:04:10 +07:00
RTTEXFile d696a3c8a6
Fix typo in AABB docs
A single letter
2024-07-15 14:35:12 +07:00
kobewi 1ec176d6cc Some improvements to TileSetScenesCollectionSource docs 2024-07-14 20:04:49 +07:00
Adriaan de Jongh 5488fef3af Clarify that Resource.duplicate(true) doesn't duplicate subresources inside Array or Dictionary properties 2024-07-14 16:32:08 +07:00
Silc Lizard (Tokage) Renew 9c1f23c3db Re-add Skeleton3D::animate_physical_bones 2024-07-14 14:24:25 +07:00
kobewi 4b2ffdd208 Clarify is_visible_in_tree() in CanvasItem 2024-07-14 01:16:25 +07:00
kobewi 8904764a6c Clarify clipboard_get_image() 2024-07-13 21:34:39 +07:00
Robert Borghese 1052985b00 Add `hint_enum` for uniform int in gdshader 2024-07-13 14:30:08 +07:00
BlueCube3310 60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +07:00
Rémi Verschelde af33276109
Merge pull request #94217 from DevPoodle/rd-docs
Clean up RenderDataExtension's descriptions
2024-07-11 23:17:02 +07:00
Rémi Verschelde b6434f2ac7
Merge pull request #94158 from BastiaanOlij/fix_action_map
OpenXR: Couple of small fixes on the action map
2024-07-11 23:16:51 +07:00
DevPoodle 1bd3c48f6b Clean up RenderDataExtension's documentation 2024-07-11 08:00:32 +07:00
Bastiaan Olij 95b72631aa Couple of small fixes on the action map: now saves when CTRL-S is pressed/project is run, no longer looses content if OpenXR is not enabled, and a small documentation fix. 2024-07-11 20:06:46 +07:00
Rémi Verschelde d197f176c7
Merge pull request #94129 from Mickeon/RichTextLabel_push_meta_keyword
Add `push_url` as a keyword for `push_meta`
2024-07-11 00:27:29 +07:00
Rémi Verschelde 284c96decd
Merge pull request #94127 from Mickeon/doc-peeves-transform2d
Overhaul Transform2D documentation
2024-07-11 00:27:25 +07:00
Rémi Verschelde 73422df05e
Merge pull request #94059 from ayanchavand/fix-exclude-docs
Clarify that some exclude properties of physics query parameters are copied
2024-07-11 00:27:14 +07:00
Fredia Huya-Kouadio 5e59819727 Cleanup Android input on render thread settings
Follow up to https://github.com/godotengine/godot/pull/93933
Clean up the set of settings use to control whether Android input should be dispatched on the render thread.

Addresses comments in https://github.com/godotengine/godot/pull/93933#issuecomment-2210437977
2024-07-09 09:15:18 +07:00
Micky 891703e43e Overhaul Transform2D documentation 2024-07-09 18:01:17 +07:00
Micky 847766689a Add `push_url` as a keyword for `push_meta` 2024-07-09 12:39:30 +07:00
Hugo Locurcio 5ee4100e4c
Remove unused Optimize Mesh import option from OBJ mesh import
This option was enabled by default, but it did nothing regardless
of whether it was enabled or not.
2024-07-08 22:58:51 +07:00
ayanchavand 34e2159d34 Clarify that some exclude properties of physics query parameters are copied 2024-07-08 18:46:29 +07:00
Rémi Verschelde 9804a8eb30
Merge pull request #94061 from bruvzg/menu_is_native
[NativeMenu] Do not auto toggle check/multi-state items. Add `is_native_menu` method.
2024-07-08 11:48:33 +07:00
Rémi Verschelde f4bf25cb35
Merge pull request #94057 from kitbdev/fix-request-save-signal-type
Fix ScriptEditor `request_save_previous_state` signal type
2024-07-08 11:48:30 +07:00
Rémi Verschelde e1a145bb3c
Merge pull request #91300 from jsjtxietian/project-binary-doc
Mention ProjectSettings won't be affected by `convert_text_resources_to_binary`
2024-07-08 11:48:11 +07:00
bruvzg eddc9cea11
[NativeMenu] Do not auto toggle check/multi-state items. Add `is_native_menu` method. 2024-07-08 11:20:28 +07:00
jsjtxietian 9d18983cde Mention ProjectSettings won't be affected by `convert_text_resources_to_binary` 2024-07-08 11:11:50 +07:00
kit ad8f065f4a Fix request_save_previous_state signal type 2024-07-07 19:12:30 +07:00
Ricardo Buring 2f8ab4a654 Fixed Timestep Interpolation (3D)
Adds 3D fixed timestep interpolation to the rendering server.
This does not yet include support for multimeshes or particles.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-07-07 22:15:23 +07:00
Rémi Verschelde 73b6544f1b
Merge pull request #94007 from scotmcp/master
Update docs for `Animation.track_set_path` and `AnimationMixer.root_motion_track`
2024-07-07 21:58:39 +07:00
Scot 0d1044f7bf Update Animation.track_set_path and AnimationMixer.root_motion_track
Updated the usage description of [method Animation.track_set_path] and [member Animation.root_motion_track] to identify the parent is the root_node identified in animation player, and that the format is the same for each.

Remove extra symbols
2024-07-07 10:07:09 +07:00
Rémi Verschelde e05ac797ae
Merge pull request #93977 from ericrallen/feature/consistent-aesthetic-spelling
Style: Change esthetic -> aesthetic
2024-07-07 12:38:34 +07:00
Rémi Verschelde dc34cb0fc1
Merge pull request #93944 from AdamLearns/master
Clarify `get_executable_path` documentation for Mac
2024-07-07 12:38:23 +07:00
Rémi Verschelde 7197678df2
Merge pull request #91551 from m4rr5/configure_timestamp_query_elements
Add a project setting to configure the maximum number of timestamps.
2024-07-07 12:38:19 +07:00
Rémi Verschelde be9ff1c836
Merge pull request #69451 from Mickeon/doc-peeves-array-mateys
Overhaul Array Documentation
2024-07-07 12:38:10 +07:00
Eric allen e03fb3043f fix: change esthetic -> aesthetic 2024-07-05 16:03:01 +07:00
Adam Damiano d7f4b07adc Clarify get_executable_path documentation for Mac 2024-07-05 08:22:31 +07:00
Rémi Verschelde 932c191412
Merge pull request #93878 from allenwp/EditorExportPlugin_export_file_90365
`EditorExportPlugin`: Call `_export_file` for all resource types
2024-07-05 15:07:32 +07:00
Rémi Verschelde d2fc2a35b3
Merge pull request #92985 from KoBeWi/confirm_insert_shift
Restore "Confirm Insert Track" editor setting
2024-07-05 15:07:29 +07:00
Micky 31a9c634d5 Overhaul Array Documentation 2024-07-05 13:48:56 +07:00
Allen Pestaluky 8e6596629a EditorExportPlugin: Call _export_file for all resource types
- Alternate fix to #67844 that calls `_export_file` for all resource types instead of implementing `skip()` for customize functions.
- Fixes #93823.
- Moved logic surrounding "Skip" and "Keep" imported files to happen before resource customization. Fixes #93825.
- Also fixes an issue that I suspect might exist where progress bars during export were incorrect due to imported files in the project that are configured as "Keep" or "Skip".
2024-07-04 23:35:32 +07:00
Fredia Huya-Kouadio 6b6428d779 Fix ANRs reported by the Google Play Console
- Add support for dispatching input on the render thread (UI thread is the current default) when `input_buffering` and `accumulated_input` are disabled. At the expense of latency, this helps prevent 'heavy' applications / games from blocking the UI thread (the default behavior)  which may cause the application to ANR.

- Remove GLSurfaceView logic causing the UI thread to wait on the GL thread during lifecycle events. The removed logic would cause the UI thread to ANR when the GL thread is blocked.
2024-07-04 05:18:50 +07:00
Rémi Verschelde 447cbdee9a
Merge pull request #93890 from hakro/nodeprop-vs-nodepath
Add `:` to node properties, to differentiate them from node paths
2024-07-04 11:32:10 +07:00
Rémi Verschelde 0c6aa7aeef
Merge pull request #93872 from MikhailY0U/patch-1
Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally
2024-07-04 11:32:04 +07:00
Mikhail Volodin 6e9de82110
Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally 2024-07-04 10:55:43 +07:00
Danil Alexeev 3f52871f70
GDScript: Add warning if non-`@tool` class extends `@tool` class 2024-07-04 10:31:01 +07:00
bruvzg 41df3caad3
[Button] Use align_to_largest_stylebox for min. size calculation. 2024-07-04 09:40:55 +07:00
Hakim 54d6c9e83b Add : to node properties, to differentiate them from node paths 2024-07-03 17:07:49 +07:00
Allen Pestaluky 262e5db785 Revert "Allow skipping imported resource files from export"
This reverts commit 398892ccc0.
2024-07-03 09:54:03 +07:00
Rémi Verschelde 8f749ca3ef
Merge pull request #93820 from allenwp/EditorExportPlugin-docs-update
Update documentation for new `EditorExportPlugin` behavior.
2024-07-03 08:50:22 +07:00
Zi Ye 72a01816a4 Make viewport grid visible on all three planes in ortho camera view 2024-07-02 13:07:31 +07:00
Matt Enad 9d343ced58 Add customizable 3D navigation settings
This commit adds 3 new editor settings for orbit, pan, and zoom mouse buttons, and 6 new shortcuts which act as modifiers for the navigation controls. These new shortcuts replace the old orbit, pan, and zoom modifier settings.

The `navigation_scheme` setting now acts as a preset which changes the new options added above, and the new settings are what drives 3D navigation instead. A new struct is used for ordering the navigation logic so that actions with fewer shortcuts are checked first. When the editor starts, the preset detection will run to automatically update user settings from old Godot versions. When the setting is changed, the hint values for the mouse buttons are dynamically updated to show the user the corresponding shortcut values.

The new doc fields have been generated and the description for the new settings are filled out. The `navigation_scheme` entry now has more consistent styling and added control descriptions that were missing before.
2024-07-02 12:37:57 +07:00
Allen Pestaluky 32f0b252cd Updated documentation for new EditorExportPlugin behaviour.
This behaviour was introduced in #90365. This also fixes some inconsistencies in the docs and adds clarification of how the _export_file function works.
2024-07-02 11:56:16 +07:00
Rémi Verschelde 9db1a963be
Merge pull request #93855 from ayanchavand/fix-docs-code-anim
Fix AnimationMixer docs example code for `get_root_motion_rotation_accumulator`
2024-07-02 13:57:36 +07:00
ayanchavand a5384365a4 Fix: AnimationMixer Example Code 2024-07-02 13:02:11 +07:00
Rémi Verschelde 070dddf9ca
Merge pull request #93818 from ashish0kumar/add/doc/global-lib-info-add_animation_library
Fix info about global library in `add_animation_library` method docs
2024-07-01 22:54:25 +07:00
Rémi Verschelde a18beeede2
Merge pull request #93770 from Trinovantes/patch-1
Fix asset pipeline coordinate systems doc url
2024-07-01 22:54:18 +07:00
Ashish Kumar 87b0796e8a Fix Info about Global library on add_animation_library method in doc/classes/AnimationMixer.xml
Fix Info about Global library on add_animation_library method in doc/classes/AnimationMixer.xml

Fix Info about Global library on add_animation_library method

Co-authored-by: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2024-07-01 22:18:44 +07:00
Adriaan de Jongh a917246d5b fixed the y-sorting description having higher and lower inverted (oops!) 2024-07-01 11:11:30 +07:00
Stephen Li d787a84b11
Fix asset pipeline coordinate systems doc url 2024-07-01 10:17:47 +07:00
Rémi Verschelde af529cb6be
Merge pull request #93777 from ashish0kumar/fix/doc/add_custom_type-icon
Fix "icon" parameter in EditorPlugin.add_custom_type is not optional but doc says it is
2024-07-01 10:07:34 +07:00
kit 19b2e704ad Clarify word separator docs about shortcuts 2024-06-30 19:35:37 +07:00
Ashish Kumar e38530af1e Fix "icon" parameter in EditorPlugin.add_custom_type is not optional, but docs says it is# This is a combination of 2 commits.
Fix "icon" parameter in EditorPlugin.add_custom_type is not optional, but docs says it is

Update doc/classes/EditorPlugin.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-06-30 17:07:56 +07:00
Hendrik Brucker 3d34a25917 [GraphEdit] Add a note about the behavior of get_children() 2024-06-29 19:40:10 +07:00
Rémi Verschelde f64f1b3b6d
Merge pull request #93685 from decacis/patch-1
Update note regarding 3D MSAA and foveated rendering
2024-06-29 13:04:03 +07:00
Daniel Castellanos 8fe8c713dd Update note regarding 3D MSAA and foveated rendering
https://github.com/godotengine/godot/pull/83976 added support for 3D MSAA on the Compatibility renderer, but it also mentions that on platforms other than Android, foveated rendering will not work if MSAA is enabled.

I removed the note saying that 3D MSAA is not supported on compatibility and added a comment mentioning that foveated rendering won't work on platforms other than android if 3D MSAA is enabled and added the alternative/equivalent for desktop.
2024-06-28 19:06:51 +07:00
Rémi Verschelde e052a53bb6
Merge pull request #93695 from RandomShaper/res_load_main_th
`ResourceLoader`: Support polling and get-before-complete on the main thread
2024-06-28 14:43:01 +07:00
Rémi Verschelde 90bd2c2d0d
Merge pull request #93691 from dalexeev/gds-confusable-capture-reassignment
GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warning
2024-06-28 11:35:27 +07:00
Rémi Verschelde a647789c5b
Merge pull request #93656 from vgezer/fixmissingsep
Add missing punctuation to the default TextEdit word separators
2024-06-28 11:35:11 +07:00
Rémi Verschelde af862d072d
Merge pull request #91034 from bpseudopod/aesa-documentation
Document AudioEffectSpectrumAnalyzerInstance, clarify relationship with AudioEffectSpectrumAnalyzer
2024-06-28 11:34:38 +07:00
Pedro J. Estébanez ec61c5064c ResourceLoader: Support polling and get-before-complete on the main thread 2024-06-28 11:25:10 +07:00
Danil Alexeev 68898dbcc9
GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warning 2024-06-28 11:12:01 +07:00
Volkan Gezer 76b2e5b2c8 add missing punctuation to the default list 2024-06-27 17:51:21 +07:00
Rémi Verschelde 51a6bc1f11
Merge pull request #91920 from dmipeck/fix-hashing-context-example
Fix hashing context example
2024-06-27 10:05:50 +07:00
Hugo Locurcio 492787b134
Prevent folder names with trailing periods from being used automatically
Folder names ending with one or more `.` characters are not allowed
on Windows, so this would break writing logs, shader cache and other
project-specific files. Trailing periods are now stripped in this case.

On non-Windows platforms, this change still applies in the interest
of portability.
2024-06-26 17:42:47 +07:00
kobewi 57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +07:00
Silc Lizard (Tokage) Renew 793f3832e5 Rework migration of animate_physical_bones to compatibility 2024-06-25 18:54:59 +07:00
Rémi Verschelde 30ae23c086
Merge pull request #93562 from Calinou/doc-input-echo-keyword
Add "repeat" keyword alias for InputEvent "echo" in the class reference
2024-06-25 09:20:04 +07:00
Rémi Verschelde c4660105b7
Merge pull request #93499 from Meorge/fix_audiostreamwav_docs
Change "sample" to "stream" in AudioStreamWAV documentation
2024-06-25 09:19:50 +07:00
Rémi Verschelde b63df071bd
Merge pull request #92514 from /addWordSeparators 2024-06-25 09:19:35 +07:00
smix8 f9876d3a88 Add navigation obstacles to performance monitor stats
Adds navigation obstacle count to navigation performance monitor.
2024-06-25 05:17:27 +07:00
Volkan Gezer e60678f193 enable custom separators to treat different characters as words 2024-06-24 20:43:13 +07:00
Hugo Locurcio 4097cfa17b
Add "repeat" keyword alias for InputEvent "echo" in the class reference
"echo" is an uncommon term and the action is most commonly referred
to as a "repeated" key press.

This also improves the documentation related to echo behavior.
2024-06-24 19:23:18 +07:00
Rémi Verschelde 25ff1306d6
Merge pull request #93554 from akien-mga/remove-editor-pseudolocalization
Remove editor pseudolocalization debug feature
2024-06-24 17:49:13 +07:00
Malcolm Anderson 13f7f41575
Fix incorrect text in ResourceImporterWAV description
The descriptions for the edit/loop_begin and edit/loop_end members now
correctly state that the units are samples, rather than seconds.
2024-06-24 17:46:58 +07:00
Rémi Verschelde f11e8d033d
Remove editor pseudolocalization debug feature
We've seen multiple users enable it by mistake and get utterly confused,
reporting as a bug that the interface text is garbled.

On the other hand we haven't really seen much use of the feature by editor
UI developers, so we can likely simply remove it.

If there's a need eventually, we can re-add it as a command line option
(which is also better than an editor setting as one would typically want
to toggle it during development).
2024-06-24 17:08:26 +07:00
Rémi Verschelde 09a5708df3
Merge pull request #90785 from jsjtxietian/low-process
Update outdated `low_processor_usage_mode` doc
2024-06-24 11:13:49 +07:00
jsjtxietian c24103cc20 Update outdated `low_processor_usage_mode` doc 2024-06-24 11:33:02 +07:00
Malcolm Anderson 48622e57bf Change "sample" to "stream" 2024-06-22 19:58:45 +07:00
Rémi Verschelde 16ab5345ef
Merge pull request #79054 from bruvzg/word_brk_fix
[TextServer] Fix `get_word_breaks` and its uses.
2024-06-22 16:22:03 +07:00
Hugo Locurcio cd7a708952
Downsample textures on import if necessary for technical reasons
Compression formats are limited to various sizes (16383×16383 for
WebP, 16384×16384 for Basis Universal). If the size is exceeded,
the texture fails to import. To avoid this, textures are now downsampled
with a warning printed when necessary.

The warning is not printed if the user has specified a size limit
and the size limit is being honored.

This also allows setting Size Limit up to 16383 pixels (the lowest
common denominator out of all compression modes), instead of being
limited to 4096 pixels.
2024-06-22 01:50:52 +07:00
Rémi Verschelde 4226dbf469
Merge pull request #90136 from KoBeWi/re-add_root_node
Fix `add_root_node()` being no-op
2024-06-21 16:49:37 +07:00
bruvzg b5e3238109
[TextServer] Fix get_word_breaks and it uses. 2024-06-21 14:56:57 +07:00
Rémi Verschelde f24893b43d
Merge pull request #93373 from Calinou/doc-lightmapprobe-bake-required
Clarify lightmap rebaking being required for LightmapProbe changes
2024-06-20 16:18:50 +07:00
Hugo Locurcio 3f5c9c644a
Clarify lightmap rebaking being required for LightmapProbe changes 2024-06-20 00:58:55 +07:00
kit a3b944c41d Clarify Mouse Filter Pass in the Inspector 2024-06-19 14:43:06 +07:00
A Thousand Ships 0ae4298a3a
Fix invalid inheritance of `OccluderInstance3D` 2024-06-19 16:47:37 +07:00
Rémi Verschelde e5ed515f24
Merge pull request #93337 from bruvzg/rename_img_fnt_imp
Remove `monospace/fixed-width` from the `ResourceImporterImageFont` name and description.
2024-06-19 10:10:21 +07:00
Rémi Verschelde 4541f64026
Merge pull request #93190 from AThousandShips/session_doc
[Doc] Clarify the session-specific nature of `RID` and `ObjectID`
2024-06-19 10:10:17 +07:00
bruvzg 049cf70fbf
Remove `monospace/fixed-width` from the `ResourceImporterImageFont` name and description. 2024-06-19 08:42:13 +07:00
A Thousand Ships 6ab303cd76
[Doc] Clarify the session-specific nature of `RID` and `ObjectID` 2024-06-18 20:19:21 +07:00
Adam Scott 52fa4f05f3
Add samples playback support 2024-06-18 11:06:31 +07:00
Fabio Alessandrelli ae7045f67e [Crypto] Expose OS.get_entropy 2024-06-17 12:02:37 +07:00
Rémi Verschelde 63cb43a059
Merge pull request #93233 from dalexeev/anim-doc-sprite-frames-frame-duration
Animation: Document frame duration units in `SpriteFrames`
2024-06-17 10:59:06 +07:00
Rémi Verschelde f6bd88090d
Merge pull request #93218 from thmasn/color-documentation
Mention inverse of hex functions in `Color`
2024-06-17 10:59:03 +07:00
Rémi Verschelde 4671bbc42e
Merge pull request #93195 from shak2/patch-2
Fix description of `Vector2/3.dot`
2024-06-17 10:59:00 +07:00
Rémi Verschelde c3336aa110
Merge pull request #93178 from Faless/crypto/expose_tls_options_getters
[Crypto] Expose TLSOptions getters
2024-06-17 10:58:51 +07:00
Rémi Verschelde 8cbe4fb2d4
Merge pull request #93176 from Faless/crypto/expose_get_system_ca_certificates
[Crypto] Expose `get_system_ca_certificates`.
2024-06-17 10:58:10 +07:00
Danil Alexeev 3c7b713ef9
Animation: Document frame duration units in `SpriteFrames` 2024-06-16 18:43:20 +07:00
thmasn aa9bd34d68
mention inverse of hex functions in Color.xml 2024-06-16 08:38:02 +07:00
shak2 451d0999ca Fix description of `Vector2/3.dot`
A 90 degree angle is a right angle.
2024-06-15 18:21:05 +07:00
Fabio Alessandrelli 3639c1f0ca [Crypto] Expose TLSOptions getters 2024-06-14 22:33:10 +07:00
Fabio Alessandrelli 33d0e1c50c [Crypto] Expose get_system_ca_certificates. 2024-06-14 22:27:03 +07:00
clayjohn ea4be9afa6 Add more validation to UBO size and alignment in Compatibility renderer 2024-06-14 12:56:29 +07:00
bruvzg e651421905
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. 2024-06-12 19:30:19 +07:00
Rémi Verschelde f3cb890107
Merge pull request #93060 from clayjohn/adjustments-enabled
Ensure post processing happens when adjustments are enabled in the Compatibility renderer
2024-06-12 18:17:06 +07:00
Haoyu Qiu 2ab9344b3b Fix description for `Input.vibrate_handheld()` 2024-06-12 17:42:25 +07:00
clayjohn 9000a9d36f Ensure post processing happens when adjustments are enabled in the Compatibility renderer 2024-06-11 14:31:06 +07:00
Rémi Verschelde e4fa8543ea
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.

Fixes #93022.
2024-06-11 11:46:35 +07:00
Rémi Verschelde 1415684af9
Merge pull request #92701 from bruvzg/button_align
[Button] Adds theme option to align button text and icon to either largest or current stylebox.
2024-06-11 10:48:49 +07:00
Rémi Verschelde 0a9f2d2262
Merge pull request #92650 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
Fix FileSystem dock won't show any file folders
2024-06-11 10:48:46 +07:00
Rémi Verschelde 430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +07:00
Hilderin 72856d633a Fix FileSystem dock won't show any file folders 2024-06-10 19:54:37 +07:00
Chris Cranford 8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 +07:00
kobewi 21345defe9 Restore "Confirm Insert Track" editor setting 2024-06-10 17:47:59 +07:00
bruvzg 721a663aa3
[Button] Adds theme option to align button text and icon to either largest or current stylebox. 2024-06-10 18:40:52 +07:00
Rémi Verschelde 821338c0d1
Merge pull request #92925 from TokageItLab/concatenated-bone-names
Add `get_concatenated_bone_names()` to `Skeleton3D` for `SkeletonModifier3D`'s enum hints
2024-06-10 16:12:08 +07:00
Rémi Verschelde 76b1a1f834
Merge pull request #92896 from TokageItLab/skeleton-mod-get-skeleton
Expose `get_skeleton()` from `SkeletonModifier3D`
2024-06-10 16:12:02 +07:00
Rémi Verschelde 3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +07:00
Rémi Verschelde 95b84f1239
Merge pull request #92787 from groud/tilemap_x_sort
Implement X-draw-order switch in TileMapLayer
2024-06-10 16:11:48 +07:00
Gilles Roudière c283db2130 Implement X-draw-order switch in TileMapLayer 2024-06-10 15:53:58 +07:00
Mart Jõgi 771f52e477
Fix example for Basis * Vector3 in documentation
Fixes: godotengine/godot-docs#9394
2024-06-10 13:31:29 +07:00
Silc Lizard (Tokage) Renew a57f9f863d Add get_concatenated_bone_names() to Skeleton3D for Modifier's hint 2024-06-10 10:19:36 +07:00
Silc Lizard (Tokage) Renew e92a453840 Expose get_skeleton() from SkeletonModifier3D 2024-06-09 23:58:05 +07:00
Chris Cranford beef0f687c Expose `update_docs_from_script` method 2024-06-08 16:45:49 +07:00
Silc Lizard (Tokage) Renew bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +07:00
Rémi Verschelde ea7d988b72
Merge pull request #92781 from bruvzg/menu_open_close_imp
[macOS] Improve native menu open/close callbacks.
2024-06-07 23:30:15 +07:00
Grahame Watt f7eb16c4b1 Clarify documentation for Geometry2D.line_intersects_line 2024-06-05 10:26:16 +07:00
bruvzg 1f7bf27780
[macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +07:00
Thomas ten Cate 6e45eb91c3
Remove note about night sky in PhysicalSkyMaterial
A night sky texture has been supported for quite some time now: https://github.com/godotengine/godot/pull/38791 So the instruction to use your own shader for this seems to be outdated.
2024-06-04 15:34:27 +07:00
Rémi Verschelde 2f26842d86
Merge pull request #92707 from GrahameGW/vector_normalized_docs
Clarify the results of `VectorN.normalized()` in the docs
2024-06-04 10:10:13 +07:00
Grahame Watt 0560e890ca Clarify the results of VectorN.normalized() in the docs 2024-06-03 14:17:12 +07:00
Rémi Verschelde 482e45c62b
Merge pull request #92716 from clayjohn/DOC-light-attenuation
Correct documentation for Omni and Spot light distance attenuation
2024-06-03 10:36:18 +07:00
clayjohn 079a75e144 Correct documentation for Omni and Spot light distance attenuation 2024-06-03 09:37:57 +07:00
Rémi Verschelde 7728839247
Rename FBX2glTF binary path setting back to 4.2 name
This preserves compatibility when upgrading Godot 4.2 projects which relied on that
path being configured in the editor settings.

The old name also makes sense for this one, it's fine for fbx2gltf_path to be under
a generic fbx category which could have more settings also impacting ufbx.
2024-05-30 23:42:11 +07:00
Rémi Verschelde 17c98a5b08
Merge pull request #92110 from mihe/physics-server-margin
Bind shape margin methods for `PhysicsServer3D`
2024-05-30 22:38:26 +07:00
kobewi 17d3f26e5d Add event_index to InputEventAction 2024-05-30 12:51:15 +07:00
Rémi Verschelde 60844997bb
Merge pull request #92535 from timothyqiu/parentheses-mismatch
Fix mismatched parentheses in class reference
2024-05-30 11:48:18 +07:00
Rémi Verschelde c9f249796d
Merge pull request #92317 from bruvzg/emb_decorations
Fix `get_position_with_decorations` and `get_size_with_decorations` for embedded windows.
2024-05-30 11:48:02 +07:00
Rémi Verschelde 53bd0d5acf
Merge pull request #90365 from KoBeWi/export_any%_speedrun
Allow skipping imported resource files from export
2024-05-30 11:47:34 +07:00
Rémi Verschelde 838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +07:00
Haoyu Qiu 9315583af3 Fix mismatched parentheses in class reference 2024-05-30 15:54:53 +07:00
Chris Cranford f76b7ed5fc Expose `get_cached_ref` from `ResourceCache` 2024-05-29 18:43:56 +07:00
Rémi Verschelde 036737e53f
Merge pull request #92508 from bruvzg/rtl_cell_docs
[RTL] Add references to cell and column configuration methods.
2024-05-29 22:14:06 +07:00
Rémi Verschelde d1f6d4c8c3
Merge pull request #92339 from devloglogan/comp-layer-reference-frame
Apply reference frame transform to `OpenXRCompositionLayer` nodes
2024-05-29 22:13:56 +07:00
Rémi Verschelde c42751cae2
Merge pull request #91033 from Hilderin/keep_current_bottom_panel_on_play
Add editor setting to keep bottom panel state on play and stop game
2024-05-29 22:13:45 +07:00
Rémi Verschelde 9b1dbd2556
Merge pull request #87446 from Mickeon/documentation-Joint-tweaks
Tweak Joint2D and Joint3D documentation for consistency
2024-05-29 22:13:18 +07:00
devloglogan 6a8f2f00ac Apply reference frame transform to OpenXRCompositionLayer nodes 2024-05-29 07:52:54 +07:00
Hilderin 76205d4276 Add editor setting to keep bottom panel state on play and stop game 2024-05-29 05:45:17 +07:00
Rémi Verschelde 20ad681da2
Merge pull request #92126 from TokageItLab/reset-dominant
Fix Deterministic blending with Dominant/Recessive doesn't have initial value even if there is no Discrete track
2024-05-29 11:19:45 +07:00
bruvzg b8bb382115
[RTL] Adds references to cell and column configuration methods. 2024-05-29 12:15:01 +07:00
clayjohn 3b9d074fd7 Ensure MovieWriter output is in gamma space when using HDR 2D 2024-05-28 15:30:13 +07:00
Rémi Verschelde 7ac8717e16
Merge pull request #92456 from ckaiser/fix-light3d-docs
Fix Light3D BakeMode enum documentation
2024-05-28 17:48:50 +07:00
Rémi Verschelde a8901a22be
Merge pull request #92451 from timothyqiu/not-3d-only
Fix `PhysicsMaterial` description being limited to 3D
2024-05-28 17:48:48 +07:00
Rémi Verschelde c98fef08bf
Merge pull request #89033 from bruvzg/doc_end_err
[DisplayServer] Add error messages and descriptions to callbacks.
2024-05-28 17:48:42 +07:00
bruvzg 714effdf07
[DisplayServer] Add error messages and descriptions to callbacks. 2024-05-28 17:36:54 +07:00
Rémi Verschelde 4025c8e07b
Merge pull request #92416 from mateuseap/feat/mesh_library
Improve description of `find_item_by_name()` method in `MeshLibrary` class documentation
2024-05-28 15:49:54 +07:00
Rémi Verschelde 3ebc2ed056
Merge pull request #92380 from mateuseap/feat/mesh
Improve `Mesh` class description
2024-05-28 15:49:47 +07:00
Rémi Verschelde f41966b302
Merge pull request #92363 from Calinou/doc-projectsettings-vsync-compatibility
Fix outdated `vsync_mode` project setting documentation
2024-05-28 15:49:40 +07:00
Rémi Verschelde f87be863ca
Merge pull request #92322 from groud/implement_custom_data_label
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +07:00
Rémi Verschelde 4ca4746b51
Merge pull request #92293 from rvenson/fix-navigation-agent-docs
Clarify `velocity_computed` signal description
2024-05-28 15:49:02 +07:00
Christian Kaiser dcc4bc267c Fix Light3D BakeMode enum documentation 2024-05-28 01:48:43 +07:00
Haoyu Qiu 77ea6db1e2 Fix PhysicsMaterial description being limited to 3D 2024-05-28 08:25:33 +07:00
Mateus Elias c622f202c0 Improve description of find_item_by_name() method in MeshLibrary class doc
Specify what the method find_item_by_name() returns if no item is found.
2024-05-27 05:51:30 +07:00
Mateus Elias ce10a660d1 Improve Mesh class description
- Bind MAX_MESH_SURFACES constant in RenderingServer::_bind_methods()
- Add MAX_MESH_SURFACES constant to RenderingServer class documentation
- Reference the constant RenderingServer.MAX_MESH_SURFACES in the description of Mesh class documentation
2024-05-26 21:52:39 +07:00
rvenson c8cab57079 Update velocity_computed signal description 2024-05-25 15:12:49 +07:00
Hugo Locurcio 0683677563
Fix outdated `vsync_mode` project setting documentation
Disabling V-Sync when using the Compatibility rendering method works
since Godot 4.2 at least.

This also documents the `--disable-vsync` command line argument.
2024-05-25 20:04:14 +07:00
Gilles Roudière 85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +07:00
bruvzg 64d789aba7
Fix `get_position_with_decorations` and `get_size_with_decorations` for embedded windows. 2024-05-24 20:10:36 +07:00
Rémi Verschelde 73fdc30783
Merge pull request #92272 from timothyqiu/add-to-end
Explain `add_to_end` parameter of `add_property_editor()`
2024-05-23 23:25:55 +07:00
bruvzg 628c81d2d9
[DisplayServer] Add method to check if window transparency is supported and enabled. 2024-05-23 15:23:18 +07:00
Rémi Verschelde 01b804f8ac
Merge pull request #92242 from Daylily-Zeleen/daylily-zeleen/fix_ConfirmationDialog_doc
Fix confusing descriptions of ConfirmationDialog.
2024-05-23 08:59:17 +07:00
Haoyu Qiu 4def6b6fef Explain add_to_end parameter of add_property_editor() 2024-05-23 09:08:12 +07:00
Daylily-Zeleen f523d4f16f Fix confusing descriptions of ConfirmationDialog's description. 2024-05-22 15:05:56 +07:00
Rémi Verschelde dcc7cb01a7
Merge pull request #92154 from lawnjelly/is_polygon_clockwise_doc
Clarify `is_polygon_clockwise()` coordinate system
2024-05-21 11:22:53 +07:00
Rémi Verschelde c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +07:00
Silc Lizard (Tokage) Renew 3fde32a67e Fix Deterministic blending with Dominant doesn't have init value 2024-05-21 05:23:53 +07:00
lawnjelly 331ecf3ca8 Clarify is_polygon_clockwise() coordinate system
The function assumes a normal Cartesian coordinate system.
2024-05-20 18:34:45 +07:00
Rémi Verschelde b0822250d6
Merge pull request #92112 from KoBeWi/is_there_something_this_class_can't_do
Improve documentation on TreeItem's cell modes
2024-05-20 17:06:52 +07:00
Rémi Verschelde fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +07:00
Riley Willows ea7860c614
Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +07:00
Haoyu Qiu ed61d41697 Change param name of AStar's _estimate_cost method 2024-05-19 22:08:36 +07:00
kobewi a541d4508f Improve documentation on TreeItem's cell modes 2024-05-19 14:15:38 +07:00
kobewi ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +07:00
Mikael Hermansson a23717c8c6 Bind physics server methods related to shape margin 2024-05-19 12:28:26 +07:00
Rémi Verschelde b569ae3ddc
Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +07:00
Rémi Verschelde 62353747e5
Merge pull request #91720 from kitbdev/fix-textedit-minimap
Fix TextEdit minimap tab drawing and click check
2024-05-17 11:13:52 +07:00
Danil Alexeev 7dd801c580
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()` 2024-05-17 10:33:01 +07:00
Rémi Verschelde ce00392fc3
Merge pull request #91974 from bruvzg/ts_notes
[TextServer] Add notes about high level text/font classes and getting active server instance.
2024-05-15 13:51:38 +07:00
Rémi Verschelde 693a13a849
Merge pull request #91601 from lander-vr/lightmap_seams_fix
LightmapGI: Fix lightleaks caused by insufficient padding and add denoiser range property for LightmapGI
2024-05-15 13:51:35 +07:00
Rémi Verschelde e63b5ba9e4
Merge pull request #91416 from Calinou/d3d12-sdk-update-install-script
Update dependencies in D3D12 SDK installer script
2024-05-15 13:51:31 +07:00
bruvzg cfb9639fc3
[TextServer] Add notes about high level text/font classes and getting active server instance. 2024-05-15 13:58:42 +07:00
landervr e7bd1b0673 Add denoiser range property for LightmapGI 2024-05-15 08:26:04 +07:00
David Peck d6715b4cde Fix hashing context example
Example now works for any file size instead of just multiples of CHUNK_SIZE
Example also uses correct method for looping over file data
2024-05-14 19:22:50 +07:00
bruvzg 151788f7e8
[Editor] Add editor setting to control "disable_embedded_bitmaps" property of the editor fonts. 2024-05-14 09:26:22 +07:00
Yaohua Xiong ed3d311687 Add antialias support for CanvasItem draw primitives
including
- rect, circle; both filled and unfilled.
- polyline, multiline
2024-05-13 19:03:31 +07:00
Hendrik Brucker 62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +07:00
Yuri Rubinsky db2e09e9cd Add a method to retrieve all points within a region to `AStarGrid2D` 2024-05-12 18:14:13 +07:00
Rémi Verschelde 3a5593a721
Merge pull request #91761 from DarkiStar/crypto
[Doc] Update Crypto example
2024-05-10 09:56:09 +07:00
Rémi Verschelde c469ab0104
Merge pull request #91507 from lyuma/expose_process_modification
Allow users to override `SkeletonModifier3D._process_modification`
2024-05-10 09:55:44 +07:00
Rémi Verschelde 19219f7716
Merge pull request #91348 from basicer/patch-1
Update CryptoKey documentation to mention ECC.
2024-05-10 09:55:40 +07:00
Lyuma 1ccf0c2947 Allow users to override SkeletonModifier3D._process_modification 2024-05-09 19:48:56 +07:00
Carsten e119e48d4d
[Doc] Update Crypto example
- Removed redundant new() initializations
- removed _ready and node
- improved readability
2024-05-09 14:36:28 +07:00
Rob Blanckaert ba07ae83b5 Update CryptoKey documentation to mention ECC.
The documentation makes it seem like CryptoKey can only hold an RSA key.  This is compounded by the fact that Cypto only has a function generate an RSA based key.  Godot however is perfectly happy loading and using ECC based keys.
2024-05-08 20:14:04 +07:00
kit a53c8e8d70 Fix TextEdit minimap tab drawing and click check 2024-05-08 11:43:44 +07:00
Rémi Verschelde 1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +07:00
Rémi Verschelde 2c8a1f0c77
Merge pull request #91544 from MewPurPur/add-translation-server-note
Add notes in Object documentation about TranslationServer methods
2024-05-08 14:35:33 +07:00
Rémi Verschelde 0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +07:00
A Thousand Ships b4c6cc7d82
[Core] Add case-insensitive `String::containsn` 2024-05-08 12:48:01 +07:00
Rémi Verschelde 7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
Found by apply the file_format checks again via #91597.
2024-05-08 10:12:46 +07:00
Rémi Verschelde 4c30718102
Merge pull request #91615 from Frozenfire92/remap-doc-nan-note
Add docs note about remap returning undefined when istart == istop
2024-05-08 09:54:20 +07:00
Blue Willow b6c0d07dc8 Document AudioEffectSpectrumAnalyzerInstance, clarify relationship with AudioEffectSpectrumAnalyzer
Fully document AudioEffectSpectrumAnalyzerInstance, including the weird
return value of its sole method, and add a link to it in
AudioEffectSpectrumAnalyzer to make it easier to figure out how to use.
2024-05-08 00:17:59 +07:00
Joel Kuntz 26feefa91c Add notes for remap's return when istart and istop are the same
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2024-05-07 19:37:29 +07:00
Rémi Verschelde 039aa28a60
Merge pull request #89574 from Riteo/scale-your-expectations-with-this-one
Wayland: Workaround API limitation in screen/UI scale logic
2024-05-07 21:52:44 +07:00
Riteo 1bb8199342 Wayland: Workaround API limitation in screen/UI scale logic
Mainly, this fixes auto UI scaling with _single-monitor_ fractional
setups (see the comment in `display_server_wayland.cpp` for more info).

This is the result of a bunch of current limitations, mainly the fact
that the UI scale is static (it's probed at startup) and the fact that
Wayland exposes fractional scales only at the window-level, by design.

The `screen_get_scale` special case should help in 99% of cases, while
the auto UI scale part will unfortunately only help with single-screen
situations, as multi-screen fractional scaling requires dynamic UI
scale changing.
2024-05-07 19:50:48 +07:00
Hugo Locurcio 47ac22486d
Update dependencies in D3D12 SDK installer script
- Add colored console output.
2024-05-07 19:10:58 +07:00
Rémi Verschelde 594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +07:00
Rémi Verschelde 37464c7d6e
Merge pull request #91658 from Flynsarmy/skele3d-returns
Add missing bone name return information
2024-05-07 13:49:06 +07:00
Flyn San 75dd33f834 Add missing bone name return information 2024-05-07 21:25:57 +07:00
Rémi Verschelde 4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +07:00
Rémi Verschelde 965bae735e
Merge pull request #72323 from Koyper/flow_container_center_wrap_options
Add FlowContainer wrap options for center alignment.
2024-05-07 09:04:34 +07:00
Rémi Verschelde e9c980d857
Merge pull request #91596 from TheKiromen/improve-body-create-documentation
Update `body_create` description in PhysicsServer2D/3D
2024-05-06 22:33:38 +07:00
Dominik Kruczek 343c2fc6b9 Update body_create description in PhysicsServer2D/3D 2024-05-06 18:30:20 +07:00
Rémi Verschelde 608096e55e
Merge pull request #91581 from TheKiromen/improve-physics-server-documentation
Update `area_create` description in `PhysicsServer2D/3D` to clear up possible confusions
2024-05-06 15:15:32 +07:00
Rémi Verschelde ca64891acb
Merge pull request #91571 from pgh1686/master
Update ResourceLoader docs to clarify behavior when no file is found during load call
2024-05-06 15:15:23 +07:00
Rémi Verschelde a7c59fe192
Merge pull request #91331 from dsnopek/expose-editor-file-dialog-popup-function
Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension
2024-05-06 15:15:01 +07:00
pgh1686 62526ed1a5 Update ResourceLoader.xml to clarify behaviour when no file is found 2024-05-05 21:39:01 +07:00
Dominik Kruczek 2b5e0d98d2 Update area_create description in PhysicsServer2D/3D to clear up possible confusions 2024-05-05 19:38:21 +07:00
Marcel Offermans 2bb34a4489 Added a project setting to configure the maximum amount of timestamps, with a description and a reference to the setting when the limit is hit and an ERR_FAIL_COND is hit. 2024-05-05 09:09:04 +07:00
A Thousand Ships aff2e47bff
[C#] Unexpose `GodotSharp`
This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
2024-05-04 14:09:42 +07:00
Rémi Verschelde a2fc5e2d78
Merge pull request #89894 from BastiaanOlij/improve_foveated_rendering
Improvements to VRS/Foveated rendering
2024-05-04 11:52:15 +07:00
Rémi Verschelde 471ddf4327
Merge pull request #87231 from Calinou/geometryinstance3d-transparency-warn-mobile-compatibility
Show warning for GeometryInstance3D transparency in Mobile/Compatibility
2024-05-04 11:52:06 +07:00
MewPurPur 409202d574 Add notes in Object about TranslationServer methods 2024-05-04 02:58:12 +07:00
Rémi Verschelde 03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +07:00
ajreckof cba9606611 Add colored margin in Inspector for arrays and dictionaries.
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +07:00
Rémi Verschelde c968374caa
Merge pull request #91012 from TheSofox/editor-log-line-limit
Add line limit to Output Log in Editor
2024-05-03 10:31:42 +07:00
Bastiaan Olij 9042ddf19f Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +07:00
Aiden Storey b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 +07:00
Rémi Verschelde 34b5e8f55c
Merge pull request #91481 from TokageItLab/auto-capture-option
Add argument options to AnimationPlayer for auto capture
2024-05-03 01:21:43 +07:00
Rémi Verschelde 25fe3d4b46
Merge pull request #81639 from MJacred/is_letter
Add `is_valid_letter()` to `TextServer`
2024-05-03 01:21:34 +07:00
K. S. Ernest (iFire) Lee f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +07:00
Silc Lizard (Tokage) Renew 6fd8b25d38 Add argument options to AnimationPlayer for auto capture 2024-05-03 07:06:37 +07:00
MJacred 717513a62d Add is_valid_letter() to TextServer 2024-05-02 21:32:20 +07:00
Radiant 789c6ebdfd Implement `amplitude` to Input.vibrate_handheld
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com>
2024-05-02 19:09:42 +07:00
Rémi Verschelde 1bee81242e
Merge pull request #91423 from RadiantUwU/wutdahailboi
Fix outdated `AudioEffectSpectrumAnalyzer` documentation
2024-05-02 17:31:43 +07:00
Rémi Verschelde 8f2ff22bf5
Merge pull request #90742 from KoBeWi/PR_from_the_future
Change update checker version source
2024-05-02 17:31:25 +07:00
Rémi Verschelde e249df4f5e
Merge pull request #89275 from bruvzg/status_rect
[StatusIndicator] Add method to get indicator icon screen rect.
2024-05-02 17:31:18 +07:00
kobewi 6e9dc0ee27 Change update checker version source 2024-05-02 15:32:24 +07:00
Radiant 3a85285048 Fix outdated documentation on AudioEffectSpectrumAnalyzer 2024-05-02 16:22:35 +07:00
Sofox b823724e00 Add line limit to Editor Output Log 2024-05-02 13:28:59 +07:00
Rémi Verschelde 06d105e268
Merge pull request #91437 from TokageItLab/auto-capture
Add `auto_capture` option to AnimationPlayer
2024-05-02 14:01:25 +07:00
Rémi Verschelde 6ad0a1ffef
Merge pull request #91098 from bruvzg/rtl_fast_delete
[RTL] Add extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation.
2024-05-02 14:01:21 +07:00
bruvzg e5205e589f
[StatusIndicator] Add method to get indicator icon screen rect. 2024-05-02 14:39:33 +07:00
bruvzg 360d365b33
[RTL] Adds extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation. 2024-05-02 14:03:21 +07:00
A Thousand Ships 0f5e0d1637
Expose `Vector*` component-wise and scalar `min/max` to scripting 2024-05-02 13:02:40 +07:00
Silc Lizard (Tokage) Renew 36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +07:00
Rémi Verschelde a0b0b19043
Merge pull request #91446 from HexagonNico/rect-doc-fix
Fix incorrect example in the documentation for the `expand` method in `Rect2`
2024-05-02 12:46:49 +07:00
Rémi Verschelde a6a7325e3a
Merge pull request #91127 from CrayolaEater/hinge-joint-cleanup
Deprecate unused parameter `angular_limit/softness` in `HingeJoint3D`
2024-05-02 12:46:36 +07:00
Rémi Verschelde 9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +07:00
Rémi Verschelde 0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +07:00
Rémi Verschelde bbb86672fe
Merge pull request #84472 from xiongyaohua/canvas_item_draw_circle_non_filled
Extend `CanvasItem::draw_circle()`, making it also draw unfilled circle.
2024-05-02 12:46:14 +07:00
Nico 0854476ef1 Fix incorrect example in the documentation for the expand method in Rect2 2024-05-02 12:06:22 +07:00
Bastiaan Olij 527c30c594 Add support for OpenXR hand interaction extension 2024-05-02 19:15:02 +07:00
Bogdan Inculet 24bdd0b9c1
Deprecate unused paramater `angular_limit/softness` in HingeJoint3D 2024-05-02 10:50:58 +07:00
Yaohua Xiong 1f2aa17d14
Extend `CanvasItem::draw_circle()` with filled, width, and antialiased options
Make it possible to draw unfilled circle, like draw_rect(). Antialising is only implemented for unfilled version.
2024-05-02 10:42:24 +07:00
A Thousand Ships 308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +07:00
DeeJayLSP b9cbf2c96f Add QOA (Quite OK Audio) as a WAV compression mode 2024-05-01 19:05:14 +07:00
Rémi Verschelde f91db3dc58
Merge pull request #91399 from QbieShay/qbe/fix-pmul-name
Revert premul alpha to spell without the T
2024-05-01 23:47:46 +07:00
QbieShay e41064388e reverted naming to premul alpha (no T)
Initially 3d had premulT alpha as a keyword.
Since Canvas item uses mixed premul and premult as keywords,
3D is changed as well to keep consistency with 2D.
Unfortunately this keeps inconsistency with the internal ENUM.
2024-05-01 22:24:49 +07:00
Rémi Verschelde aa79d17305
Merge pull request #91415 from aaronp64/packedscene_docs
Minor `PackedScene` documentation improvements
2024-05-01 20:32:37 +07:00
Rémi Verschelde 7401ea3c55
Merge pull request #91393 from skyace65/LowProc
Remove text saying low processor mode only works on desktop
2024-05-01 20:32:22 +07:00
aaronp64 1fc9f10b2d Minor PackedScene documentation improvements
- Updated _bundled description to refer to "names" key instead of "rnames"

- Added description for pack method
2024-05-01 11:13:01 +07:00
Rémi Verschelde 4e30bc71f5
Merge pull request #91376 from clayjohn/DOCS-reflect-vec3
Update the description and parameter name for Vector3 reflect to correct how the plane is constructed
2024-05-01 09:55:27 +07:00
Rémi Verschelde 9ff72fa137
Merge pull request #91330 from Goldenlion5648/cell-rotation-docs
Document 0, 90, 180, and 270 degree TileMap cell rotations
2024-05-01 09:55:12 +07:00
Rémi Verschelde a30fbc55c7
Merge pull request #91313 from fkeyzuwu/patch-1
Update Variant documentation comment about `class_name`
2024-05-01 09:55:09 +07:00
Rémi Verschelde 70247adf25
Merge pull request #89734 from BastiaanOlij/openxr_reorder_wait_frame
OpenXR: Change timing of xrWaitFrame and fix XR multithreading issues
2024-05-01 09:54:51 +07:00
Rémi Verschelde 85062e37ef
Merge pull request #89588 from bruvzg/status_ind_menu_direct
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly.
2024-05-01 09:54:44 +07:00
Bastiaan Olij cbab7dc049 OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR 2024-05-01 14:24:41 +07:00
skyace65 a47bf2a3c8 Remove text saying low processor mode only works on desktop 2024-04-30 22:46:05 +07:00
QbieShay 41a2b0e83e Added premult alpha blending to 3D (spatial) shaders.
Co-authored-by: jitspoe <jitspoe@yahoo.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-05-01 00:53:29 +07:00
clayjohn 4d580b15be Update the description and parameter name for Vector3 reflect to correct how the plane is constructed 2024-04-30 13:50:39 +07:00
fkeyz 62829b543e Update Variant documentation comment about class_name 2024-04-30 21:21:22 +07:00
Rémi Verschelde 4455747356
Merge pull request #91321 from Chaosus/doc_string_reverse
Add a note for `String::reverse` to warn about its implementation
2024-04-30 17:03:48 +07:00
Rémi Verschelde 3d03d73135
Merge pull request #91293 from timothyqiu/look-at-2d
Make it clear `Node2D.look_at()` aligns the +X axis
2024-04-30 17:03:34 +07:00
Rémi Verschelde e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +07:00
Goldenlion5648 d2ea303560 document 0, 90, 180, and 270 degree TileMap cell rotations 2024-04-30 09:16:54 +07:00
Yuri Rubinsky d0af8901aa Add a note for `String::reverse` to warn about its implementation 2024-04-30 12:33:28 +07:00
Haoyu Qiu 1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +07:00
David Snopek 8ce54d4632 Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension 2024-04-29 14:49:32 +07:00
Koyper e3efd51592 Add FlowContainer wrap options for center alignment. 2024-04-29 08:26:45 +07:00
Rémi Verschelde 32070144af
Merge pull request #91100 from bruvzg/x_finks
Add symlink API support for Windows, expose symlink methods.
2024-04-29 13:00:37 +07:00
Haoyu Qiu bd519bfbce Make it clear Node2D.look_at() aligns the +X axis 2024-04-29 08:12:26 +07:00
bruvzg fc948e87f6 Add symlink API support for Windows, expose symlink methods. 2024-04-28 19:59:34 +07:00
brennen 9a28cfe717 doc fix typo that flipped the description of
window_set_max_size and window_set_min_size
2024-04-27 16:39:25 +07:00
kit 773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 +07:00
kit 154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 +07:00
Rémi Verschelde bd598d5657
Merge pull request #85678 from KoBeWi/editor_walktime
Add separate feature tags for editor runtime
2024-04-26 15:13:16 +07:00
Rémi Verschelde 34a12871d0
Merge pull request #85515 from KoBeWi/is_node_part_of_edited_scene_and_being_edited()
Expose `Node.is_part_of_edited_scene()`
2024-04-26 15:13:13 +07:00
Rémi Verschelde 7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +07:00
kobewi 3ebb5b84a0 Add separate feature tags for editor runtime 2024-04-26 14:44:38 +07:00
kobewi 0b877a9962 Expose is_part_of_edited_scene() 2024-04-26 11:49:38 +07:00
Rémi Verschelde f55b81be1e
Merge pull request #91193 from timothyqiu/tab-icon-size
Allow setting max icon width per tab for TabContainer
2024-04-26 11:09:05 +07:00
Rémi Verschelde 9bb448fd9b
Merge pull request #91189 from emanvidmaker/patch-1
Docs: Fix FileAccess example conflicting with global scope `load`
2024-04-26 11:08:59 +07:00
Rémi Verschelde 0d589abcbd
Merge pull request #91130 from Malcolmnixon/xrhandtracker-dotnet-name-collision
Remove the Hand enum from XRHandTracker
2024-04-26 11:08:44 +07:00
Alex-Mayo 91c10a238b
Clarify docs for ParticleProcessMaterial emission_box_extents 2024-04-26 10:50:41 +07:00
Haoyu Qiu 779426b2fa Allow setting icon max width for TabContainer 2024-04-26 08:27:27 +07:00
Malcolm Nixon e00e5c0386 Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 +07:00
Emanuel Acosta Gonzalez (emanvidmaker) 40651eb642
FileAccess.xml had conflicting function names in its example code
In the example code the declared load() function conflicts with global scope load(). so if you copy pasted it in godot 4.2.2 you would get a "Too few arguments for "load()" call. Expected at least 1 but received 0." error since it doesn't override global scope load().
2024-04-25 18:51:37 +07:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +07:00
Rémi Verschelde 04d708d675
Merge pull request #91129 from timothyqiu/gdscripty
Fix syntax error in `camera_attributes_set_exposure` documentation
2024-04-25 12:11:25 +07:00
Haoyu Qiu 84d01347df Fix syntax error in camera_attributes_set_exposure documentation 2024-04-25 16:01:13 +07:00
Haoyu Qiu 4f4e8589df Fix Tree minimum size calculation
- Take scroll bar space and column title buttons into account
- Fix first column min size sometimes missing one level of indent
- Fix cell min size ignoring text overrun behavior and item inner margin
- Update min size when `hide_root` or `column_title_visible` changes

Wrong description of `item_inner_margin_*` constants is also fixed
2024-04-25 16:00:45 +07:00
kobewi d04d58d387 Clarify transform inheritance of CanvasItem nodes 2024-04-24 16:31:07 +07:00
Rémi Verschelde 17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +07:00
Rémi Verschelde bb9457d725
Merge pull request #89247 from 4d49/tab-tooltip
Add text tooltip for TabBar & TabContainer
2024-04-23 19:10:44 +07:00
Rémi Verschelde b39afcda38
Merge pull request #84926 from jsjtxietian/update-worker-thread-doc
Update WorkerThreadPool doc to mention every task should be waited so that any allocated resources can be cleaned up.
2024-04-23 19:10:39 +07:00
Mansur Isaev b37ddfc606 Add tab tooltip text 2024-04-23 08:28:48 +07:00
Rémi Verschelde b7bc667fe1
Merge pull request #90985 from Fulanko/fix-class-docs-os_get_cmdline_args
Fix incorrect C# in `OS.get_cmdline_args` docs
2024-04-22 22:18:37 +07:00
Rémi Verschelde 2980a6b295
Merge pull request #90916 from Naros/expose-classdb-class-get-property-default-value
Expose `ClassDB::class_get_property_default_value` method
2024-04-22 22:18:26 +07:00
fulanko 1f32b22937 Fix incorrect c# in OS.get_cmdline_args 2024-04-22 19:16:31 +07:00
bruvzg a116801ec7
Improve TextEdit/LineEdit word selection. 2024-04-22 14:02:07 +07:00
Rémi Verschelde e7dc4b4b6b
Merge pull request #90962 from TokageItLab/2or3
Correct AnimationNode documentation where it mentions multiple inputs
2024-04-22 12:53:43 +07:00
Rémi Verschelde bfca90acb7
Merge pull request #90935 from smix8/navdata_append
Add NavigationMeshSourceGeometryData append functions
2024-04-22 12:53:32 +07:00
Rémi Verschelde 7599be9437
Merge pull request #90907 from KoBeWi/null_tile_exception
Don't store TileMapLayer data if empty
2024-04-22 12:53:21 +07:00
Rémi Verschelde ab57e8d5a3
Merge pull request #90834 from lyuma/surfacetool_create_from_arrays
Expose `create_from_arrays` in SurfaceTool and cleanup some naming
2024-04-22 12:53:05 +07:00
Rémi Verschelde bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +07:00
Rémi Verschelde 504d01b61e
Merge pull request #90403 from bruvzg/file_resize
[FileAccess] Implement `resize` method.
2024-04-22 12:51:55 +07:00
Rémi Verschelde 0b89b8b64c
Merge pull request #90368 from Naros/expose-classdb-is-enum-bitfield
Expose `ClassDB::is_enum_bitfield` as `ClassDB::is_class_enum_bitfield`
2024-04-22 12:51:51 +07:00
Rémi Verschelde 79557e7d0b
Merge pull request #76725 from smix8/meshbake_blendshapemix_4.x
Add option to bake a mesh from blend shape mix
2024-04-22 12:51:29 +07:00
smix8 2594c57361 Add NavigationMeshSourceGeometryData append functions
Adds append functions to NavigationMeshSourceGeometryData.
2024-04-21 04:57:05 +07:00
Hugo Locurcio b1a2394b3b
Use same colors for editor and running project for collision/path debug
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.

This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +07:00
Silc Lizard (Tokage) Renew 1f02426b2f Correct AnimationNode document where it mentions multiple inputs 2024-04-21 05:16:13 +07:00
Lyuma a99756a07f Expose create_from_arrays in SurfaceTool and cleanup some naming 2024-04-19 18:45:06 +07:00
Chris Cranford fdf31011a5 Expose ClassDB::class_get_property_default_value method 2024-04-19 13:51:28 +07:00
Chris Cranford c936ee54ee Expose `ClassDB::is_enum_bitfield` as `ClassDB::is_class_enum_bitfield` 2024-04-19 12:46:36 +07:00
kobewi c7b6cf9f6d Don't store TileMapLayer data if empty 2024-04-19 18:05:48 +07:00
Rémi Verschelde fba6803486
Merge pull request #90876 from smix8/source_geometry_callback
Add navigation mesh source geometry parsers and callbacks
2024-04-19 16:28:30 +07:00
Rémi Verschelde 00c847a629
Merge pull request #90862 from RadiantUwU/change_stuff
Remove experimental flag from `remove_user_signal()`.
2024-04-19 16:28:18 +07:00
Rémi Verschelde 1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +07:00
smix8 58593d1bb7 Add navigation source geometry parser callbacks
Adds navigation source geometry parser callbacks so that externals can hook their own geometry into the navigation mesh baking process.
2024-04-19 12:10:57 +07:00
Lyuma bb9674c1b1 Set animation step from importers. Increase default step from 10 to 30 FPS. 2024-04-19 03:02:20 +07:00
Malcolm Nixon 823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 +07:00
Bogdan Inculet 8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +07:00
Radiant 75bca7d112 Remove experimental flag. 2024-04-18 19:37:05 +07:00
Rémi Verschelde 2d884ba70c
Merge pull request #90797 from Geometror/vsnode-comment-compat
[Compatibility] Add stub for VisualShaderNodeComment
2024-04-18 12:24:50 +07:00
Rémi Verschelde be9b298317
Merge pull request #90780 from lyuma/skeletonik3d_compat
Add SkeletonIK3D `get`/`set_interpolation` compat from #87888
2024-04-18 12:24:44 +07:00
Rémi Verschelde 866f2c56f7
Merge pull request #90674 from RadiantUwU/change_stuff
Implement `Object.remove_user_signal(signal: StringName)`
2024-04-18 12:24:34 +07:00
Rémi Verschelde 1a89b60549
Merge pull request #90651 from Muller-Castro/folder-color
Fix folder colors not present in editor dir dialog
2024-04-18 12:24:30 +07:00
Lyuma cb7ef2b8de Add SkeletonIK3D get/set_interpolation compat from #87888 2024-04-18 01:49:12 +07:00
Radiant e263b11cdd Implement remove_user_signal()
Co-authored-by: Timothe Bonhoure <tbonhoure@ymail.Com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-18 11:22:59 +07:00
Hendrik Brucker 735c45dc8e [Compatibility] Add stub for VisualShaderNodeComment 2024-04-18 02:39:29 +07:00
Hugo Locurcio 1e8526659c
Add minimum width/height to dialog buttons
This makes buttons with short texts such as "OK" or "Close"
easier to click, especially on a touchscreen.

This is exposed to projects via `buttons_min_width` and `buttons_min_height`
theme items in AcceptDialog (and therefore ConfirmationDialog and FileDialog),
with the default values being 0 to preserve compatibility with existing projects.
2024-04-17 23:48:05 +07:00
Rémi Verschelde ec2e394d04
Merge pull request #90766 from AThousandShips/file_doc
[Doc] Clarify behavior of `FileAccess.get_line`
2024-04-17 10:59:17 +07:00
Rémi Verschelde 82b36cccc7
Merge pull request #90756 from vnen/gdscript-warning-enum-without-default
GDScript: Warn when enum variable has no default
2024-04-17 10:59:07 +07:00
Rémi Verschelde ce0744866d
Merge pull request #90747 from smix8/remove_constrain_avoidance
Remove experimental `constrain_avoidance` from `NavigationRegion2D`
2024-04-17 10:58:55 +07:00
Rémi Verschelde 84457f66bb
Merge pull request #90189 from Naros/expose-goto-help
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-17 10:58:32 +07:00
Chris Cranford d8f1287bcf Expose `goto_help` for GDExtension on `ScriptEditor` 2024-04-16 19:32:33 +07:00
Muller-Castro c8ef9e6955 Fix folder colors not present in editor dir dialog 2024-04-16 16:21:49 +07:00
A Thousand Ships b804193f08
[Doc] Clarify behavior of `FileAccess.get_line`
Specifies that the line excludes any newline or carriage return
characters.
2024-04-16 19:22:40 +07:00
smix8 df66a55ef3 Remove experimental constrain_avoidance from NavigationRegion2D
Removes experimental constrain_avoidance feature from NavigationRegion2D.
2024-04-16 18:02:53 +07:00
George Marques f9048fcd7d
GDScript: Warn when enum variable has no default
The default will always be set to `0`, so if it's not a valid value in
the enum, the warning is shown.
2024-04-16 11:46:59 +07:00
Rémi Verschelde dc8e82b00a
Merge pull request #90730 from timothyqiu/root-auto-translate
Add project setting for root node auto translate mode
2024-04-16 13:31:00 +07:00
Rémi Verschelde 8901e8776a
Merge pull request #90587 from clayjohn/reversez-shader-warn
Warn users when assigning `VERTEX` directly to `POSITION` due to compatibility breakage from Reverse Z changes
2024-04-16 13:30:47 +07:00
Rémi Verschelde 7210d6cb43
Merge pull request #90358 from KoBeWi/finding_errors_in_other_apps
Add `OS.get_process_exit_code()` method
2024-04-16 13:30:41 +07:00
kobewi dce4a3e4c2 Add get_process_exit_code() method 2024-04-16 12:46:15 +07:00
Haoyu Qiu 8d1cb7e74c Add project setting for root node auto translate mode 2024-04-16 11:02:04 +07:00
Hugo Locurcio ed540964ee
Add an editor setting to import resources while unfocused
This can be used to speed up iteration by starting the import process
earlier when saving files in the project folder. This also allows getting
visual feedback on changes without having to click the editor window,
which is useful with multi-monitor setups.

The downside is that this increases idle CPU usage and may steal CPU
time from other applications when importing resources, so this is
disabled by default.
2024-04-15 19:40:04 +07:00
kobewi 49e69fabba Add automatic checking for engine updates 2024-04-15 15:08:27 +07:00
Rémi Verschelde a44b0b6dc1
Merge pull request #90685 from timothyqiu/auto-translate-legacy
Don't store deprecated `auto_translate` property
2024-04-15 10:00:38 +07:00
Rémi Verschelde 673e770a8d
Merge pull request #90575 from TokageItLab/boneattachment-performance
Remove `bone_pose_updated` signal and replace it with the `skeleton_updated` signal
2024-04-15 10:00:26 +07:00
Haoyu Qiu 48f1e5b561 Don't store deprecated auto-translate property 2024-04-15 14:23:24 +07:00
Rémi Verschelde 41fc152232
Merge pull request #90633 from YeldhamDev/the_popup_is_not_wearing_any_panels
Remove `Popup`'s unused "panel" style
2024-04-14 14:39:15 +07:00
Michael Alexsander 7c75355541
Remove `Popup`'s unused "panel" style 2024-04-13 15:18:12 +07:00
A Thousand Ships d8cd7b2f9f
[Doc] Fix incorrect reference to `input_pickable` 2024-04-13 15:44:14 +07:00
Silc Lizard (Tokage) Renew 78a5ef4158 replace bone_pose_updated to skeleton_updated signal 2024-04-13 05:48:42 +07:00
clayjohn 2f83b400a8 Warn users when assigning VERTEX directly to POSITION due to compatibility breakage from reverse z changes 2024-04-12 10:38:35 +07:00
bruvzg 88b3e68f93
[FileAccess] Implement `resize` method. 2024-04-12 19:20:49 +07:00
Rémi Verschelde c6942cc3f2
Merge pull request #90521 from KoBeWi/size_combinations
Improve `custom_minimum_size` description
2024-04-12 11:16:53 +07:00
Rémi Verschelde fcca9b330d
Merge pull request #90434 from smix8/path_simplify
Add navigation path simplification
2024-04-12 11:16:47 +07:00
Amirtha Krishnan 85fb4439e3
doc: Clarify where `printraw()` output can be seen in the OS terminal
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-04-12 10:52:18 +07:00
smix8 1c134f4a3d Add navigation path simplification
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +07:00
kobewi ece38cbe14 Improve custom_minimum_size description 2024-04-11 11:34:43 +07:00
smix8 5d6e8d7dff Add option to bake a mesh from blend shape mix
Adds option to bake a mesh from blend shape mix.
2024-04-10 23:35:28 +07:00
Rémi Verschelde 83b916bb00
Fix a doc and a test issue not caught by CI 2024-04-10 18:49:02 +07:00
Rémi Verschelde fa1164343b
Merge pull request #90460 from Gamepro5/master
Surface normals are not the same thing as collision normals for `move_and_slide()`
2024-04-10 14:22:40 +07:00
Rémi Verschelde 9c5e968bbc
Merge pull request #90432 from Rindbee/correctly-replace-scene-root-when-must_reload
Correctly replace scene root when `must_reload` in `EditorData::check_and_update_scene()`
2024-04-10 14:22:29 +07:00
Rémi Verschelde d899558bbc
Merge pull request #90407 from Calinou/doc-softbody3d-wind
Document Area3D wind properties only affecting SoftBody3D
2024-04-10 14:22:12 +07:00
Rémi Verschelde d68e04d0f5
Merge pull request #90389 from Krigu/update_documentation_for_camera_server_ios
Doc: Add hint for required ios camera plugin in CameraServer documentation
2024-04-10 14:22:08 +07:00
Rémi Verschelde 4b82e90f86
Merge pull request #90056 from lyuma/get_skin_reference
Expose `MeshInstance3D.get_skin_reference` and add docs
2024-04-10 14:22:04 +07:00
Lyuma 2854d0a7ca
Expose MeshInstance3D.get_skin_reference and add docs 2024-04-10 14:12:25 +07:00
clayjohn c0d0bdc160
Clarify bounce and reflect docs and update param names 2024-04-10 14:07:08 +07:00
Gamepro5 4799459e15 Surface normal is not correct 2024-04-09 19:30:57 +07:00
ajreckof 248e5bfba2
Revert what needs to be reverted 2024-04-10 09:49:30 +07:00
Hugo Locurcio 840d860f88
Document Area3D wind properties only affecting SoftBody3D 2024-04-10 00:06:27 +07:00
Rémi Verschelde f8ca571efe
Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning
GDScript: Fix `UNSAFE_CAST` warning
2024-04-09 22:24:55 +07:00
Christian Feuz 1ad39e1329 Added hint for required ios camera plugin in CameraServer documentation 2024-04-09 21:59:42 +07:00
Rémi Verschelde 9cba6ec216
Merge pull request #89491 from thimenesup/compute_dispatch_indirect
Expose bindings to compute dispatch indirect of rendering device
2024-04-09 10:42:22 +07:00
kkoang 3286e191f3
doc: Use `Signal.emit` instead of `emit_signal` in Object examples 2024-04-09 10:35:15 +07:00
Rémi Verschelde ec773fdc61
Merge pull request #90396 from kleonc/rendering-server-instance-set-transform-document-it-is-global
Fix `RenderingServer.instance_set_transform` docs saying it's not global
2024-04-08 21:56:12 +07:00
thimenesup 8017c8cf21 Expose bindings to compute dispatch indirect rendering device 2024-04-08 20:46:53 +07:00
kleonc 01b029f0a5 Fix RenderingServer.instance_set_transform docs saying it's not global 2024-04-08 18:47:29 +07:00
Micky 0531f96d4c Tweak Joint2D and Joint3D documentation for consistency 2024-04-08 16:51:47 +07:00
Micky 328b00774b Use `[codeblock lang=text]` more often in class ref 2024-04-08 16:17:50 +07:00
kobewi 398892ccc0 Allow skipping imported resource files from export 2024-04-08 12:26:24 +07:00
A Thousand Ships 23782b898b
Add further details on properties returning `Packed*Array` 2024-04-08 11:35:27 +07:00
Rémi Verschelde 2ae6343533
Merge pull request #90310 from mhilbrunner/OutdatedDemos
Update links to outdated asset library demos
2024-04-08 11:21:38 +07:00
Rémi Verschelde e52ffba3c1
Merge pull request #90307 from emmanuel-ferdman/wip
Update the location of editor theme
2024-04-08 11:21:21 +07:00
Rémi Verschelde 1aeb7b9aa2
Merge pull request #90254 from Gamepro5/patch-1
Specify that `get_floor_normal()` does not return the surface normal
2024-04-08 11:21:14 +07:00
Rémi Verschelde ab39f4ce6c
Merge pull request #90096 from AdriaandeJongh/improve-y-sort-description
[Doc] Improve description of `y_sort_enabled`
2024-04-08 11:20:53 +07:00
Rémi Verschelde d5f0120959
Merge pull request #90072 from AThousandShips/vec_cross_doc
[Doc] Clarify the behavior of `Vector2/3.cross` and mention parallel vectors
2024-04-08 11:20:50 +07:00
Rémi Verschelde 8f1b5d68f1
Merge pull request #90039 from AThousandShips/load_relative_note
[Doc] Document loading behavior with relative paths
2024-04-08 11:20:40 +07:00
Rémi Verschelde 1b84421c9b
Merge pull request #89608 from AThousandShips/format_doc_fix
[Doc] Clarify behavior of `String.format` with keys in replacements
2024-04-08 11:20:13 +07:00
Rémi Verschelde 7d96ec4f9d
Merge pull request #88329 from ManpreetXSingh/key-window-menu
Windows: Add support for enabling Alt+Space menu and fix borderless maximize
2024-04-08 11:20:05 +07:00
Rémi Verschelde c50dc9b6dd
Merge pull request #87244 from Mickeon/documentation-SliderJoint3D-missing
Add missing descriptions for SliderJoint3D's `param` methods
2024-04-08 11:19:47 +07:00
Rémi Verschelde 6f6e8b15ce
Merge pull request #87082 from Mickeon/documentation-RenderingDevice-dynamic_state
Add descriptions to a few RenderingDevice's PipelineDynamicStateFlags
2024-04-08 11:19:42 +07:00
Rémi Verschelde 6b4944ee67
Merge pull request #87042 from Mickeon/documentation-EditorExportPlatform-misc
Add miscellaneous documentation to some classes
2024-04-08 11:19:33 +07:00
Rémi Verschelde d250e6dba6
Merge pull request #87030 from Mickeon/documentation-PhysicsDirectBodyState2DExtension
Add documentation to PhysicsDirectBodyState2DExtension
2024-04-08 11:19:27 +07:00
Rémi Verschelde 297a1c132e
Merge pull request #87018 from Mickeon/documentation-PhysicsServer2DExtension
Add documentation to PhysicsServer2DExtension
2024-04-08 11:19:21 +07:00
Rémi Verschelde 8ec21dfd08
Merge pull request #86994 from Mickeon/fill-viewport-documentation
Add missing documentation to Viewport
2024-04-08 11:19:16 +07:00
Rémi Verschelde 84a372d155
Merge pull request #86839 from Mickeon/java-class-documentation
Add documentation to JavaClass & JavaClassWrapper
2024-04-08 11:19:11 +07:00
Rémi Verschelde 3d54575330
Merge pull request #85839 from romlok/clarify-get-closest-collision-unsafe-fraction
Clarify Shapecast safe/unsafe fraction difference in class reference
2024-04-08 11:19:04 +07:00
Rémi Verschelde 00d4c63b7e
Merge pull request #83735 from AThousandShips/ray_doc
Add instructions to get shape of `RayCast2D/3D`
2024-04-08 11:18:09 +07:00
Rémi Verschelde 68c90b450e
Merge pull request #83622 from Gatada/patch-1
Clarify emitting behavior of GPU particles
2024-04-08 11:18:04 +07:00
Rémi Verschelde a39c0af81e
Merge pull request #81864 from Mickeon/doc-peeves-this-one-is-miniscule-I-swear
Tweaks to ViewportTexture's Documentation
2024-04-08 11:17:58 +07:00
Rémi Verschelde e1050e2cb8
Merge pull request #81858 from Mickeon/doc-peeves-that-will-be-merged-in-2030
Overhaul AudioStreamPlayer's documentation
2024-04-08 11:17:52 +07:00
Rémi Verschelde 44038564fc
Merge pull request #80166 from rburing/force_integration_docs
Fix physics server force integration docs
2024-04-08 11:17:43 +07:00
Rémi Verschelde a27d9639f2
Merge pull request #79075 from dalexeev/doc-typed-arrays
Update typed arrays documentation
2024-04-08 11:17:38 +07:00
Rémi Verschelde ea961d3981
Merge pull request #78257 from Calinou/doc-packed-arrays-vs-typed-arrays
Document the upsides and downsides of packed arrays versus typed arrays
2024-04-08 11:17:31 +07:00
Micky 50f69656a7
Add missing documentation to Viewport 2024-04-08 11:12:10 +07:00
Gamepro5 4e1305ee77
Specify that get_floor_normal() does not return the surface normal
Also see godotengine/godot-proposals#8324
2024-04-08 11:09:18 +07:00
skyace65 c83718624f Update links to outdated asset library demos
Update links to outdated asset library demos

Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
2024-04-07 16:59:43 +07:00
A Thousand Ships f2d4ff5c1f
Add instructions to get shape of `RayCast2D/3D`
Adds details on how to get the intersected shape
2024-04-07 11:42:30 +07:00
A Thousand Ships 47a8033698
[Doc] Clarify the behavior of `Vector2/3.cross` and mention parallel vectors 2024-04-06 19:10:41 +07:00
Emmanuel Ferdman ea5ecc6b8e
fix: update the location of editor theme 2024-04-06 18:03:13 +07:00
Rémi Verschelde c1b2cfdced
Merge pull request #90271 from DarioSamo/pipeline_cache_setting
Add toggle for enabling or disabling RenderingDevice's pipeline cache.
2024-04-06 13:06:47 +07:00
Manpreet Singh 329d04d331 Windows: Add alt+space menu and fix window modes 2024-04-06 16:26:19 +07:00
Jordyfel 491d3a2740 Clarify UndoRedo MergeMode and add_*_reference docs 2024-04-05 20:05:56 +07:00
Dario ecaafa6001 Add toggle for enabling or disabling RenderingDevice's pipeline cache. 2024-04-05 13:14:07 +07:00
Rémi Verschelde ca2d28602b
Merge pull request #90196 from bruvzg/ts_tcase
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-05 12:16:18 +07:00
Rémi Verschelde b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +07:00
Silc Lizard (Tokage) Renew 04dd299cba Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB 2024-04-05 01:28:26 +07:00
Rémi Verschelde 0c71ba7801
Merge pull request #89880 from dsnopek/openxr-composition-layers-node3d-drs
Add support for OpenXR composition layers
2024-04-04 17:09:07 +07:00
Rémi Verschelde abd64bdb50
Merge pull request #89862 from brandtware/AStar2dDocFix
Fix wrong return type mention in `AStarGrid2D` docs
2024-04-04 17:09:04 +07:00
David Snopek 0f2b804059 Add support for OpenXR composition layers
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-04-04 09:20:23 +07:00
Hendrik Brucker a81561cbd9 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +07:00
Brandtware f8c0208e96
Fix wrong return type mention in AStarGrid2D docs 2024-04-04 14:55:59 +07:00
Rémi Verschelde 72e9e57baa
Merge pull request #90088 from Jordyfel/statically-typed-not-static
Fix small error in Variant doc
2024-04-04 14:37:11 +07:00
Rémi Verschelde 0df9c16d81
Merge pull request #89993 from Sauermann/fix-textedit-clip-contents
Make `TextEdit.clip_contents` more transparent to users
2024-04-04 14:35:54 +07:00
Rémi Verschelde 27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +07:00
Rémi Verschelde 2ac88339e4
Merge pull request #89721 from KoBeWi/position_who
Rename some arguments called "position"
2024-04-04 14:31:35 +07:00
Rémi Verschelde fb32399183
Merge pull request #89699 from Enhex/Enhex-fix-light-probe-doc
Fix documentation for receiving light from light probes
2024-04-04 14:31:31 +07:00
Rémi Verschelde 1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
Expose TileMapLayer
2024-04-04 14:31:16 +07:00
Rémi Verschelde a1ab287010
Merge pull request #88047 from theashtronaut/add_partial_return_astar
Add a partial path return option for astar
2024-04-04 14:30:49 +07:00
Rémi Verschelde 734a2543ae
Merge pull request #87889 from smix8/heightmap_image
Add HeightMapShape3D update with Image data
2024-04-04 14:30:45 +07:00
Rémi Verschelde 406d9426cb
Merge pull request #86121 from lawnjelly/occlusion_cull_jitter
Jitter raster occlusion camera to reduce false positives.
2024-04-04 14:30:42 +07:00
bruvzg 27f6f4147b
[TextServer] Expose ICU title case string conversion to scripting. 2024-04-04 10:56:49 +07:00
ashley aa1bbe1542 add partial path return option for astar
* AStar2D, AStar3D and AStarGrid2D now can return a partial path if the destination point isn't reachable but still in the map. This option is available for both get_point_path and get_id_path
2024-04-03 22:27:33 +07:00
Rémi Verschelde f47f4a02c8
Merge pull request #89992 from ajreckof/fix-my-mistake-with-replace-in-update-scene
Fix node duplication in update after external changes.
2024-04-04 02:53:57 +07:00
smix8 924a5c6573 Add HeightMapShape3D update with Image data
Adds HeightMapShape3D update with Image data.
2024-04-04 02:10:00 +07:00
kobewi 98871c3057 Fix add_root_node() being no-op 2024-04-03 20:07:56 +07:00
lawnjelly 691854d589 Jitter raster occlusion camera to reduce false positives.
Due to the low resolution of the occlusion buffer, small gaps between occluders can be closed and incorrectly occlude instances which should show through the gaps. To ameliorate this problem, this PR jitters the occlusion buffer over time, making it more likely an instance will be seen through a gap. This is used in conjunction with an occlusion timer per instance, to prevent instances flickering on and off rapidly.
2024-04-03 12:18:45 +07:00
ajreckof ae472865d0 fix node duplication in update after external changes. 2024-04-03 12:19:38 +07:00
Gilles Roudière 3cd4b2859c Expose TileMapLayer 2024-04-03 11:02:34 +07:00
Jordyfel e41209caf2 Fix small error in Variant doc 2024-04-03 00:32:35 +07:00
Adriaan de Jongh 7d8cd49737 improve description of y_sort_enabled 2024-04-02 09:43:18 +07:00
A Thousand Ships 334449df70
[Animation] Expose `SkeletonProfile.set/is_required` 2024-03-30 20:57:55 +07:00
A Thousand Ships 2508c2e309
[Doc] Document loading behavior with relative paths 2024-03-30 13:33:49 +07:00
Markus Sauermann 94e1943f02 Make `TextEdit.clip_contents` more transparent to users
Instead of ignoring `TextEdit.clip_contents`, use it with a default
value `true`. in the same way as `RichTextLabel`.
2024-03-28 21:07:27 +07:00
bruvzg 61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor. 2024-03-28 11:53:03 +07:00
Rémi Verschelde 4e4bc3b39a
Merge pull request #89911 from AThousandShips/peering_bit
[TileSet] Expose `TileData.is_valid_terrain_peering_bit`
2024-03-28 10:47:18 +07:00
Rémi Verschelde 7092230df6
Merge pull request #89907 from bruvzg/nat_dlg_ftr_flags
[DisplayServer] Add separate feature flags for different native dialog types.
2024-03-28 10:47:15 +07:00
Rémi Verschelde df6f4ce5e9
Merge pull request #89851 from rburing/bind_6dof_enums
Bind constants related to 6DOF joints
2024-03-28 10:47:11 +07:00
bruvzg 082b420c0a
Implement `OS.execute_with_pipe` method to run process with redirected stdio.
Implement `pipe://*` path handling for creation of named pipes.
2024-03-27 11:41:16 +07:00
kobewi 25f9f923a1 Rename some arguments called "position" 2024-03-27 01:28:24 +07:00
A Thousand Ships d4fcca4545
[TileSet] Expose `TileData.is_valid_terrain_peering_bit` 2024-03-26 16:07:50 +07:00
bruvzg dc01658ee9
[DisplayServer] Add separate feature flags for different native dialog types. 2024-03-26 15:18:06 +07:00
Rémi Verschelde cff7de077b
Merge pull request #89838 from Chronos-W/update-shortcut-input-method-doc
Add reference to InputEventJoypadButton in `_shortcut_input` doc
2024-03-26 13:45:35 +07:00
Rémi Verschelde a0d464ae19
Merge pull request #89820 from rburing/concave_collision_polygon_2d
Fix concave `CollisionPolygon2D` debug drawing and docs
2024-03-26 13:45:31 +07:00
Chronos-W 9a439b246a Add reference to InputEventJoypadButton in _shortcut_input doc 2024-03-25 19:38:33 +07:00
Rémi Verschelde 80a5da5242
Merge pull request #89088 from lander-vr/limiter
Add AudioEffectHardLimiter as a rework of audio limiter effect
2024-03-25 15:25:39 +07:00
landervr 61a5d52388 Add AudioEffectHardLimiter as a rework of audio limiter effect 2024-03-25 13:37:03 +07:00
Rémi Verschelde f371b7fb70 Merge pull request #87883 from TontonSancho/text-skip-occurence
Add 'Skip to next (text) occurrence' feature to text editor
2024-03-25 13:15:56 +07:00
Rémi Verschelde 0acfb38376
Merge pull request #89875 from bruvzg/menu_use_rids
[MenuBar] Use NativeMenu RIDs instead of indices to track items.
2024-03-25 11:19:01 +07:00
Rémi Verschelde 17c66c0bea
Merge pull request #89805 from AThousandShips/viewport_report
Add missing `RenderInfoType` enum to `Viewport`
2024-03-25 11:18:43 +07:00
Christophe Andral c988bec4b3 Add 'Skip to next (text) occurrence' feature to text editor
Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor.
This action is bound `Ctrl+Alt+D` shorcut.

Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection
and avoid some of them.
Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
2024-03-25 11:12:28 +07:00
Rémi Verschelde 0e36df69f9
Merge pull request #89815 from KoBeWi/translates_bananas
Improve some notification and translation docs
2024-03-25 10:42:37 +07:00
bruvzg 5851f1e2dd
[MenuBar] Use NativeMenu RIDs instead of indices to track items. 2024-03-25 10:58:05 +07:00
Ricardo Buring 38a31f4cb5 Bind constants related to 6DOF joints
This makes physics server GDExtensions able to use the enums without
workarounds.
2024-03-24 15:16:33 +07:00
kobewi 83789426cc Improve some notification and translation docs 2024-03-24 15:14:02 +07:00
Rémi Verschelde 6cb319a962
Merge pull request #89710 from AThousandShips/dotnet_names
[Doc] Fix casing of some C# names
2024-03-24 01:22:24 +07:00
Rémi Verschelde c3370023b6
Merge pull request #89692 from Scony/baking-crash-prevention
Add navigation baking crash prevention mechanism
2024-03-24 01:21:56 +07:00
Rémi Verschelde 8e6d011013
Merge pull request #89629 from lyuma/import_rest_as_reset
Add option to import skeleton rest as RESET animation
2024-03-24 01:19:49 +07:00
Rémi Verschelde 55d051ee0d
Merge pull request #89590 from markdibarry/parallax2D_so_close_yet
[Doc] Fix Parallax2D use of closer/further
2024-03-24 01:18:36 +07:00
Rémi Verschelde 5940fd5d07
Merge pull request #89526 from Calinou/inputevent-add-emulation-internal-constants
Expose `DEVICE_ID_EMULATION` constant in InputEvent
2024-03-24 01:16:34 +07:00
Rémi Verschelde e92806c7e7
Merge pull request #88424 from rburing/fti_2d
Physics interpolation (2D)
2024-03-24 01:13:53 +07:00
Rémi Verschelde f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +07:00
Rémi Verschelde f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +07:00
Pawel Lampe 64fc9e2156 Add navigation baking crash prevention mechanism 2024-03-23 22:20:00 +07:00
Ricardo Buring b6f07a007a Fix concave CollisionPolygon2D debug drawing and docs 2024-03-23 18:51:39 +07:00
A Thousand Ships 8a88e5ea07
Add missing `RenderInfoType` enum to `Viewport` 2024-03-23 14:03:08 +07:00
Ricardo Buring 2ed2ccc2d8 Fixed Timestep Interpolation (2D)
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +07:00
Silc Lizard (Tokage) Renew 6dd410854c Rework AnimationNode process for retrieving the semantic time info 2024-03-20 22:52:26 +07:00
A Thousand Ships 2cbf469912
Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +07:00
A Thousand Ships 366cc648bf
[Doc] Fix casing of some C# names 2024-03-20 13:39:00 +07:00
bruvzg 0587a1d217
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly. 2024-03-20 11:56:07 +07:00
VolTer de8b6f7a3c Add editor settings for autocompletion with NodePath and StringName 2024-03-19 17:23:54 +07:00
Lyuma 34f284bcc2 Add option to import skeleton rest as RESET animation
Also creates an AnimationPlayer if one does not exist.
Designed to be used in conjunction with loading rest pose in another importer.
2024-03-19 02:27:34 +07:00
Enhex 14ba478023
Fix documentation for receiving light from light probes 2024-03-18 01:52:20 +07:00
A Thousand Ships 8a78e7e174
[Doc] Clarify behavior of `String.format` with keys in replacements 2024-03-17 15:02:12 +07:00
markdibarry 22c26100df [Doc] Fix Parallax2D use of closer/further 2024-03-16 19:37:33 +07:00
Hugo Locurcio 6818e50adc Expose `DEVICE_ID_EMULATION` constant in InputEvent
This also improves the documentation related to emulated InputEvents.
2024-03-16 19:16:40 +07:00
Ricardo Buring e5632b0243 Fix force integration documentation 2024-03-16 00:32:21 +07:00
bruvzg ebb19c4198 [NativeMenu] Fix changes lost due to incorrect rebase (menu goes under task bar, dark mode, item text get, docs) and check to ensure help menu is not using native menu on Windows. 2024-03-15 22:46:47 +07:00
Rémi Verschelde 856efe4e19
Merge pull request #89509 from timothyqiu/touch-event-position
Fix description of touch input position
2024-03-15 10:40:23 +07:00
Haoyu Qiu 0ff396c981 Fix description of touch input position 2024-03-15 16:51:51 +07:00
smix8 5d5e85fe07 Add NavigationObstacle options to affect and carve navigation mesh
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +07:00
Rémi Verschelde 79d2ac37bf
Merge pull request #89454 from iltenahmet/master
[Doc] Clarify description for `get_unix_time_from_system` on UTC
2024-03-14 22:35:00 +07:00
Rémi Verschelde 4ca6cd054f
Merge pull request #89273 from bruvzg/win_native_menu
[NativeMenu] Implement native popup menu support on Windows.
2024-03-14 22:34:42 +07:00
Rémi Verschelde f7ebb00ea0
Merge pull request #89050 from AThousandShips/the_angry_count_extended
Add extension support for argument count to `ScriptInstance`
2024-03-14 22:34:29 +07:00
Rémi Verschelde cfe7bd09af
Merge pull request #87414 from rburing/doc_warning_check_ray_collides
RayCast2D and RayCast3D: warn to check `is_colliding` before `get_collision_point` and `get_collision_normal`
2024-03-14 22:34:25 +07:00
Ricardo Buring 8effd6b513 RayCast2D and RayCast3D documentation: warn to check is_colliding 2024-03-14 11:34:44 +07:00
iltenahmet 8bfc257e63 Update docs clarifying description for get_unix_time_from_system on UTC
fix url tag in doc/classes/Time.xml

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

fix url tag in doc/classes/Time.xml

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

update get_unix_time_from_system description

Update doc/classes/Time.xml

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-03-13 19:28:51 +07:00
A Thousand Ships 0c19d0f5a0
Add extension support for argument count to `ScriptInstance` 2024-03-13 22:40:09 +07:00
Rémi Verschelde da945ce626
Merge pull request #89444 from AThousandShips/article_fix
[Doc] Fix some incorrect uses of `a/an`
2024-03-13 22:16:50 +07:00
Rémi Verschelde a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
Add methods to get argument count of methods
2024-03-13 22:16:43 +07:00
A Thousand Ships 24c9d442e9
[Doc] Fix some incorrect uses of `a/an` 2024-03-13 21:20:28 +07:00
Rémi Verschelde 6c482fad89
Merge pull request #89207 from bruvzg/_ts_req
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 18:41:28 +07:00
bruvzg 3bb5047db3
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs. 2024-03-13 12:57:39 +07:00
bruvzg ac7583e449
[NativeMenu] Implement native popup menu support on Windows. 2024-03-13 10:51:38 +07:00
Danil Alexeev ef1909fca3
GDScript: Fix `@warning_ignore` annotation issues 2024-03-12 19:00:06 +07:00
Rémi Verschelde 20373d026d
Merge pull request #89419 from KoBeWi/losing_control
Fix some AcceptDialog argument types
2024-03-12 16:28:10 +07:00
kobewi a7b6bcb988 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +07:00
Rémi Verschelde 061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +07:00
passivestar 3199c294f9 Allow connecting signals to existing methods without opening the script editor 2024-03-12 15:50:54 +07:00
bruvzg 433de7f1a8
[RTL] Use "visible characters" property for inline object visibility 2024-03-12 11:28:45 +07:00
bruvzg 911fa38d3a
[Font] Add option to disable embedded bitmaps loading. 2024-03-11 16:31:10 +07:00
Rémi Verschelde 7515549c35
Merge pull request #87610 from Mickeon/documentation-MultiplayerAPI-peer-id
Mention Multiplayer.`get_remote_sender_id`'s 0 after await
2024-03-10 21:12:48 +07:00
A Thousand Ships 59bcc2888c
Add methods to get argument count of methods
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +07:00
Rémi Verschelde b2b7ea21ff
Merge pull request #89318 from Calinou/doc-test-move-keywords
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
2024-03-09 22:20:02 +07:00
Rémi Verschelde ecc4649ea8
Merge pull request #89280 from AThousandShips/arr_order_doc
[Doc] Clarify `bsearch(_custom)` behavior
2024-03-09 22:19:42 +07:00
Hugo Locurcio f8dd9844e5
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
`sweep` is the term used in Unity for collision checks without
moving anything.
2024-03-09 17:33:04 +07:00
A Thousand Ships 06df4abcd3
[Doc] Clarify `bsearch(_custom)` behavior
* Added an example for the effect of `before`
* Clarified the arguments to the custom callable can be either order
2024-03-09 13:09:29 +07:00
Rémi Verschelde d6a9a70101
Merge pull request #89282 from Rindbee/reduce-indent-in-XRInterface-example-code
Reduce indentation in `XRInterface` class document example code
2024-03-09 00:52:23 +07:00
Rémi Verschelde 8af66a72b5
Merge pull request #56420 from nathanfranke/project-creation
Automatically create folder in project manager create and import
2024-03-09 00:51:51 +07:00
Nathan Franke 2130f1121a
Automatically create folder in project manager create/import/install 2024-03-08 12:27:50 +07:00
风青山 2a7257aedf
Reduce indentation in `XRInterface` class document example code 2024-03-08 20:37:37 +07:00
Rémi Verschelde 6f51f73339
Merge pull request #88221 from Scony/extend-parse_source_geometry_data
Extend `NavigationMeshSourceGeometryData[23]D` to allow data merging
2024-03-08 13:09:17 +07:00
Rémi Verschelde 476be3ab64
Merge pull request #88111 from Ryan-000/master
Expose scene unique id functionality in Resource
2024-03-08 13:09:13 +07:00
Pawel Lampe ab242769b7 Extend `NavigationMeshSourceGeometryData[23]D` to allow data merging 2024-03-07 19:57:43 +07:00
Ryan 42ce14043e
Expose scene unique id functionality in Resource 2024-03-07 14:53:58 +07:00
A Thousand Ships 2f1f8ee39b
[Docs][C#] Use `PropertyName` constants in more places 2024-03-07 13:03:03 +07:00
Johan H. W. Basberg ad9fe3c954 Clarifies emitting behavior of 2D and 3D GPU particles 2024-03-07 11:55:26 +07:00
Rémi Verschelde bfdac951e3
Merge pull request #89224 from bruvzg/nmenu_warn
[NativeMenu] Add checks to avoid unnecessary warnings.
2024-03-07 00:24:06 +07:00
Rémi Verschelde 6c9a166308
Merge pull request #89219 from devloglogan/xr-profile-changed
Expose `profile_changed` signal to XRController3D
2024-03-07 00:24:03 +07:00
Rémi Verschelde fcb0adf132
Merge pull request #89130 from Malcolmnixon/xr-hand-scaling
Fix XRHandModifier3D scaling
2024-03-07 00:23:56 +07:00
bruvzg da02ca7e75
[NativeMenu] Add checks to avoid unnecessary warnings.
Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless,
fixing crashes when using `--headless`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-03-07 00:23:26 +07:00
Logan Lang 1383401c71 Expose profile_changed signal to XRController3D 2024-03-06 16:48:25 +07:00
kobewi eb0a624902 Allow returning Dictionary after merging 2024-03-06 14:49:35 +07:00