Commit Graph

10763 Commits

Author SHA1 Message Date
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 +02: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 +02: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 +02: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 -04:00
Micky edb3d99942 Add RichTextLabel `is_finished()`, deprecate `is_ready()` 2024-08-16 20:08:38 +02: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 +03: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
Rémi Verschelde d45f9d26ff
Merge pull request #81973 from /detective_TileMap_uncovers_the_truth_about_tile_rotation 2024-08-16 14:31:32 +02: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 +02: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 +02: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 +02:00
Rémi Verschelde 46c6865979
Merge pull request #92391 from rburing/fti_3d
Physics interpolation (3D)
2024-08-16 10:33:37 +02: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 -04:00
smix8 e6ff4e56e3 Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.
2024-08-15 22:37:02 +02:00
Raul Santos e47ff98451
Expose `ShapeCast{2D,3D}::get_collision_result` 2024-08-15 16:20:13 +02:00
tetrapod00 d6ef881418 Add tutorial link in Compositor and CompositorEffect docs 2024-08-14 22:04:12 -07:00
Rémi Verschelde 8e666adeed
i18n: Sync translations with Weblate
Adds Irish (ga) translations.
2024-08-14 16:14:54 +02:00
bruvzg 69d52ed081
[.NET] Move search in files extension list definition to be after Scene level module init. 2024-08-14 00:16:09 +03: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 a7a124a57d
i18n: Sync translations with Weblate 2024-08-12 23:51:35 +02: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 +02:00
Silc Lizard (Tokage) Renew db3a831141 Add Animation tutorial links to class reference by 4.3 2024-08-13 01:57:28 +09: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 +02: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 +02: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 +02:00
Rémi Verschelde 10ae73cc69
Merge pull request #95336 from esainane/typo-eh
Fix typo in EditorImportPlugin docs
2024-08-12 14:10:21 +02:00
Alex Mitchell 3c2259f59a
Fix incorrect reference to VisibleOnScreenEnabler2D/3D in *Notifier2D/3D docs 2024-08-12 13:19:49 +02:00
kobewi dba1a39fe1 Add helper methods to check for tile transforms 2024-08-12 02:51:34 +02:00
tetrapod00 25ae74b625 Document time rollover setting in ProjectSettings.xml 2024-08-11 15:19:33 -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 +02:00
Raul Santos 60e93415ed
Make `Polygon2D::bones` property internal 2024-08-10 17:55:29 +02: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 +00: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 +00: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 +00: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 +02:00
bruvzg 600e770f39
[Editor] Allow MSDF font rendering for custom fonts, add editor setting to control it. 2024-08-08 10:59:33 +03:00
Hugo Locurcio 5bc4b49f0b
Document converting a TileMap node to TileMapLayer using the editor 2024-08-07 11:15:29 +02: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 +02:00
Rémi Verschelde e54ffd21e2
Merge pull request #95046 from timothyqiu/typos
Fix several typos in the documentation
2024-08-06 12:31:12 +02:00
Rémi Verschelde d798b7a410
Merge pull request #95041 from AdamLearns/master
Clean up English in JSON documentation
2024-08-06 12:31:07 +02: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 +02: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 +02: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 +02: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 +02:00
Adam Damiano c138a0bb3a
Clean up English in JSON documentation 2024-08-06 11:21:45 +02: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 +02:00
jsjtxietian 7dab1a8215 Mention Multimesh custom data will be compressed to half in Compatibility 2024-08-05 12:27:59 +08: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 +02:00
kobewi ab4c23583a Add keep_screen_on editor setting 2024-08-02 03:44:29 +02:00
Haoyu Qiu 7cf9ed5f65 Fix several typos in the documentation 2024-08-02 08:42:20 +08: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 +02:00
kobewi 0d1c388991 Fix some legacy code 2024-08-01 12:08:14 +02: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 +09:00
Hugo Locurcio e15a62e42c
Document support 3D premultiplied alpha in ResourceImporterTexture
This is supported since Godot 4.3.
2024-08-01 03:59:49 +02: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 +02: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 +02:00
Rémi Verschelde 6cd2876c98
i18n: Sync translations with Weblate 2024-07-31 17:56:37 +02:00
bruvzg 1dfcbccfe6
[macOS] Fix `is_process_running` and `kill` for bundled apps. 2024-07-31 16:54:53 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
kobewi 7cc0df6b46 Document alternatives to some static Color methods 2024-07-28 17:30:02 +02:00
Eduardo Assis 5ada090d74 Fix typo in Array's sort() method description 2024-07-27 16:13:42 -03:00
Kusok d30c1e6a8f Fall back to D3D12 if Vulkan is not supported and vice versa 2024-07-27 16:17:20 +08:00
Chris Cranford 7963e63165 Expose ClassDB methods `get_property_setter` / `get_property_getter` 2024-07-27 00:13:34 -04:00
kit 36677798f1 Fix TextEdit scroll properties editor hint suffix 2024-07-26 18:18:29 -04:00
Anni Ryynänen a56391be99
Update documentation for places to receive InputEventShortcut 2024-07-26 16:56:27 +03:00
Thad Guidry 1ea55ae075
Add link to notification docs in SceneTree docs 2024-07-26 13:26:26 +02:00
Hugo Locurcio 905e060777
Document update spinner never displaying with `--debug-canvas-item-redraw` 2024-07-24 18:09:08 +02:00
bruvzg 32bc1c2f33
[Font Import] Detect pixel fonts and disable subpixel positioning. 2024-07-23 20:34:39 +03:00
Mikael Hermansson a559a1c6d8 Bind `PhysicsServer*D::body_set_state_sync_callback` 2024-07-23 13:30:44 +02:00
Samuele Panzeri d0bcac8197 Remember editor window mode, screen, size and position on restart 2024-07-23 00:32:12 +02:00
Rémi Verschelde b94b405d4b
i18n: Sync translations with Weblate 2024-07-22 16:38:48 +02: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 +02:00
bruvzg 684f69a422
[Docs] Add some notes about native file dialog limitations. 2024-07-22 15:56:54 +03:00
Sora 998f5c682e Add occlusion enabled options to tile map layer 2024-07-22 12:13:39 +02:00
bruvzg 93ccf8e9e4
[RTL] Fix text size rounding with MSDF fonts. 2024-07-22 07:48:29 +03: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 +02: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 -04: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 +02: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 -04: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 +02: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 +02:00
HolonProduction f06504ca0b Add note about `Script.has_source_code` and GDScript binary tokenization 2024-07-19 10:38:55 +02: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 +02:00
kobewi 10da06a32c Fix empty region in AtlasTexture 2024-07-18 15:31:59 +02: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 +02:00
RedMser f9258ff928 Fix typos 2024-07-17 18:53:03 +02:00
Rémi Verschelde 5ace3fb6d0
Merge pull request #94329 from KoBeWi/sceneles
Some improvements to TileSetScenesCollectionSource docs
2024-07-17 15:44:57 +02: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 +02:00
David Snopek 7a5a8597eb Always render when XR is enabled, even if no OS windows can draw 2024-07-17 08:19:21 -05: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 +02: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 +02:00
Rémi Verschelde b70f96fa39
Merge pull request #94389 from RTTEXFile/patch-1
Fix typo in AABB docs
2024-07-17 11:44:12 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
Liam Sherwin 160ac00bdb
Update Node docs to change iOS to Android for NOTIFICATION_WM_GO_BACK_REQUEST 2024-07-17 11:41:58 +02:00
Mickey Ordog 6651a511c8
Fix unclear `PROPERTY_USAGE_STORAGE`/`EDITOR` description 2024-07-17 11:30:13 +02:00
Mark DiBarry 1a1d0d6cc6 Add tutorial link to Parallax2D doc 2024-07-16 08:25:29 -04:00
BlueCube3310 a20960bce4 Fix texture compression descriptions in RenderingDevice docs 2024-07-15 15:19:02 +02:00
Bastiaan Olij 9442eb8194 Expose more state in RenderSceneBuffersRD 2024-07-15 22:04:10 +10:00
RTTEXFile d696a3c8a6
Fix typo in AABB docs
A single letter
2024-07-15 14:35:12 +03:00
kobewi 1ec176d6cc Some improvements to TileSetScenesCollectionSource docs 2024-07-14 20:04:49 +02: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 +02:00
Silc Lizard (Tokage) Renew 9c1f23c3db Re-add Skeleton3D::animate_physical_bones 2024-07-14 14:24:25 +09:00
kobewi 4b2ffdd208 Clarify is_visible_in_tree() in CanvasItem 2024-07-14 01:16:25 +02:00
kobewi 8904764a6c Clarify clipboard_get_image() 2024-07-13 21:34:39 +02:00
Robert Borghese 1052985b00 Add `hint_enum` for uniform int in gdshader 2024-07-13 14:30:08 -04:00
BlueCube3310 60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +02:00
Rémi Verschelde af33276109
Merge pull request #94217 from DevPoodle/rd-docs
Clean up RenderDataExtension's descriptions
2024-07-11 23:17:02 +02: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 +02: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 +10: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 +02:00
Rémi Verschelde 284c96decd
Merge pull request #94127 from Mickeon/doc-peeves-transform2d
Overhaul Transform2D documentation
2024-07-11 00:27:25 +02: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 +02: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 +02:00
Micky 847766689a Add `push_url` as a keyword for `push_meta` 2024-07-09 12:39:30 +02: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 +02:00
ayanchavand 34e2159d34 Clarify that some exclude properties of physics query parameters are copied 2024-07-08 18:46:29 +05:30
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 +02: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 +02: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 +02:00
bruvzg eddc9cea11
[NativeMenu] Do not auto toggle check/multi-state items. Add `is_native_menu` method. 2024-07-08 11:20:28 +03:00
jsjtxietian 9d18983cde Mention ProjectSettings won't be affected by `convert_text_resources_to_binary` 2024-07-08 11:11:50 +08:00
kit ad8f065f4a Fix request_save_previous_state signal type 2024-07-07 19:12:30 -04: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 +02: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 +02: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 -04: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 +02: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 +02: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 +02:00
Rémi Verschelde be9ff1c836
Merge pull request #69451 from Mickeon/doc-peeves-array-mateys
Overhaul Array Documentation
2024-07-07 12:38:10 +02:00
Eric allen e03fb3043f fix: change esthetic -> aesthetic 2024-07-05 16:03:01 -04: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 +02: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 +02:00
Micky 31a9c634d5 Overhaul Array Documentation 2024-07-05 13:48:56 +02: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 -04: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 +02: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 +02:00
Mikhail Volodin 6e9de82110
Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally 2024-07-04 10:55:43 +02:00
Danil Alexeev 3f52871f70
GDScript: Add warning if non-`@tool` class extends `@tool` class 2024-07-04 10:31:01 +03:00
bruvzg 41df3caad3
[Button] Use align_to_largest_stylebox for min. size calculation. 2024-07-04 09:40:55 +03:00
Hakim 54d6c9e83b Add : to node properties, to differentiate them from node paths 2024-07-03 17:07:49 +02:00
Allen Pestaluky 262e5db785 Revert "Allow skipping imported resource files from export"
This reverts commit 398892ccc0.
2024-07-03 09:54:03 -04: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 +02:00
Zi Ye 72a01816a4 Make viewport grid visible on all three planes in ortho camera view 2024-07-02 13:07:31 -05: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 -04: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 -04: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 +02:00
ayanchavand a5384365a4 Fix: AnimationMixer Example Code 2024-07-02 13:02:11 +05:30
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 +02: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 +02: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 +05:30
Adriaan de Jongh a917246d5b fixed the y-sorting description having higher and lower inverted (oops!) 2024-07-01 11:11:30 +02:00
Stephen Li d787a84b11
Fix asset pipeline coordinate systems doc url 2024-07-01 10:17:47 +02: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 +02:00
kit 19b2e704ad Clarify word separator docs about shortcuts 2024-06-30 19:35:37 -04: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 +05:30
Hendrik Brucker 3d34a25917 [GraphEdit] Add a note about the behavior of get_children() 2024-06-29 19:40:10 +02: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 +02: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 -06: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 +02: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 +02: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 +02: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 +02:00
Pedro J. Estébanez ec61c5064c ResourceLoader: Support polling and get-before-complete on the main thread 2024-06-28 11:25:10 +02:00
Danil Alexeev 68898dbcc9
GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warning 2024-06-28 11:12:01 +03:00
Volkan Gezer 76b2e5b2c8 add missing punctuation to the default list 2024-06-27 17:51:21 +02: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 +02: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 +02:00
kobewi 57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +02:00
Silc Lizard (Tokage) Renew 793f3832e5 Rework migration of animate_physical_bones to compatibility 2024-06-25 18:54:59 +09: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 +02: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 +02:00
Rémi Verschelde b63df071bd
Merge pull request #92514 from /addWordSeparators 2024-06-25 09:19:35 +02:00
smix8 f9876d3a88 Add navigation obstacles to performance monitor stats
Adds navigation obstacle count to navigation performance monitor.
2024-06-25 05:17:27 +02:00
Volkan Gezer e60678f193 enable custom separators to treat different characters as words 2024-06-24 20:43:13 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
jsjtxietian c24103cc20 Update outdated `low_processor_usage_mode` doc 2024-06-24 11:33:02 +08: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 +02: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 +02:00
bruvzg b5e3238109
[TextServer] Fix get_word_breaks and it uses. 2024-06-21 14:56:57 +03:00
Rémi Verschelde 6fb3b72756
i18n: Fix validation errors in zh_CN class reference 2024-06-20 18:17:02 +02: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 +02:00
Hugo Locurcio 3f5c9c644a
Clarify lightmap rebaking being required for LightmapProbe changes 2024-06-20 00:58:55 +02:00
kit a3b944c41d Clarify Mouse Filter Pass in the Inspector 2024-06-19 14:43:06 -04:00
A Thousand Ships 0ae4298a3a
Fix invalid inheritance of `OccluderInstance3D` 2024-06-19 16:47:37 +02: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 +02: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 +02:00
bruvzg 049cf70fbf
Remove `monospace/fixed-width` from the `ResourceImporterImageFont` name and description. 2024-06-19 08:42:13 +03:00
A Thousand Ships 6ab303cd76
[Doc] Clarify the session-specific nature of `RID` and `ObjectID` 2024-06-18 20:19:21 +02:00
Adam Scott 52fa4f05f3
Add samples playback support 2024-06-18 11:06:31 -04:00
Fabio Alessandrelli ae7045f67e [Crypto] Expose OS.get_entropy 2024-06-17 12:02:37 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
Danil Alexeev 3c7b713ef9
Animation: Document frame duration units in `SpriteFrames` 2024-06-16 18:43:20 +03:00
thmasn aa9bd34d68
mention inverse of hex functions in Color.xml 2024-06-16 08:38:02 +02:00
shak2 451d0999ca Fix description of `Vector2/3.dot`
A 90 degree angle is a right angle.
2024-06-15 18:21:05 +02:00
Fabio Alessandrelli 3639c1f0ca [Crypto] Expose TLSOptions getters 2024-06-14 22:33:10 +02:00
Fabio Alessandrelli 33d0e1c50c [Crypto] Expose get_system_ca_certificates. 2024-06-14 22:27:03 +02:00
clayjohn ea4be9afa6 Add more validation to UBO size and alignment in Compatibility renderer 2024-06-14 12:56:29 -07:00
Rémi Verschelde ac95e0f4ff
i18n: Sync translations with Weblate 2024-06-14 10:33:40 +02: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 +03: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 +02:00
Haoyu Qiu 2ab9344b3b Fix description for `Input.vibrate_handheld()` 2024-06-12 17:42:25 +08: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 +02: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 +02: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 +02: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 +02:00
Hilderin 72856d633a Fix FileSystem dock won't show any file folders 2024-06-10 19:54:37 -04:00
Chris Cranford 8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 -04:00
kobewi 21345defe9 Restore "Confirm Insert Track" editor setting 2024-06-10 17:47:59 +02: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 +03: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 +02: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 +02: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 +02: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 +02:00
Gilles Roudière c283db2130 Implement X-draw-order switch in TileMapLayer 2024-06-10 15:53:58 +02:00
Mart Jõgi 771f52e477
Fix example for Basis * Vector3 in documentation
Fixes: godotengine/godot-docs#9394
2024-06-10 13:31:29 +02:00
Silc Lizard (Tokage) Renew a57f9f863d Add get_concatenated_bone_names() to Skeleton3D for Modifier's hint 2024-06-10 10:19:36 +09:00
Silc Lizard (Tokage) Renew e92a453840 Expose get_skeleton() from SkeletonModifier3D 2024-06-09 23:58:05 +09:00
Chris Cranford beef0f687c Expose `update_docs_from_script` method 2024-06-08 16:45:49 -04:00
Silc Lizard (Tokage) Renew bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +09: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 +02: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 +03: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 +02: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 +02: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 +02:00
clayjohn 079a75e144 Correct documentation for Omni and Spot light distance attenuation 2024-06-03 09:37:57 +02: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 +02: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 +02:00
kobewi 17d3f26e5d Add event_index to InputEventAction 2024-05-30 12:51:15 +02: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 +02: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 +02: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 +02: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 +02:00
Haoyu Qiu 9315583af3 Fix mismatched parentheses in class reference 2024-05-30 15:54:53 +08:00
Chris Cranford f76b7ed5fc Expose `get_cached_ref` from `ResourceCache` 2024-05-29 18:43:56 -04: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 +02: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 +02: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 +02: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 +02:00
devloglogan 6a8f2f00ac Apply reference frame transform to OpenXRCompositionLayer nodes 2024-05-29 07:52:54 -05:00
Hilderin 76205d4276 Add editor setting to keep bottom panel state on play and stop game 2024-05-29 05:45:17 -04: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 +02:00
bruvzg b8bb382115
[RTL] Adds references to cell and column configuration methods. 2024-05-29 12:15:01 +03: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 +02: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 +02: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 +02:00
bruvzg 714effdf07
[DisplayServer] Add error messages and descriptions to callbacks. 2024-05-28 17:36:54 +03: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 +02:00
Rémi Verschelde 3ebc2ed056
Merge pull request #92380 from mateuseap/feat/mesh
Improve `Mesh` class description
2024-05-28 15:49:47 +02: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 +02: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 +02: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 +02:00
Christian Kaiser dcc4bc267c Fix Light3D BakeMode enum documentation 2024-05-28 01:48:43 -03:00
Haoyu Qiu 77ea6db1e2 Fix PhysicsMaterial description being limited to 3D 2024-05-28 08:25:33 +08: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 -03: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 -03:00
Ricardo Buring b280bc0d7f Class reference: Add self-links to methods, properties, etc. 2024-05-26 09:54:17 +02:00
rvenson c8cab57079 Update velocity_computed signal description 2024-05-25 15:12:49 -03: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 +02:00
Gilles Roudière 85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +02:00
bruvzg 64d789aba7
Fix `get_position_with_decorations` and `get_size_with_decorations` for embedded windows. 2024-05-24 20:10:36 +03: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 +02:00
bruvzg 628c81d2d9
[DisplayServer] Add method to check if window transparency is supported and enabled. 2024-05-23 15:23:18 +03: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 +02:00
Haoyu Qiu 4def6b6fef Explain add_to_end parameter of add_property_editor() 2024-05-23 09:08:12 +08:00
Daylily-Zeleen f523d4f16f Fix confusing descriptions of ConfirmationDialog's description. 2024-05-22 15:05:56 +08:00
Jakub Marcowski d9f8ef68df
Update pre-commit hooks configuration to use `ruff` instead of `black` 2024-05-21 18:02:29 -05: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 +02:00
Rémi Verschelde c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Silc Lizard (Tokage) Renew 3fde32a67e Fix Deterministic blending with Dominant doesn't have init value 2024-05-21 05:23:53 +09:00
lawnjelly 331ecf3ca8 Clarify is_polygon_clockwise() coordinate system
The function assumes a normal Cartesian coordinate system.
2024-05-20 18:34:45 +01: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 +02: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 +02:00
Riley Willows ea7860c614
Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
Haoyu Qiu ed61d41697 Change param name of AStar's _estimate_cost method 2024-05-19 22:08:36 +08:00
kobewi a541d4508f Improve documentation on TreeItem's cell modes 2024-05-19 14:15:38 +02:00
kobewi ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Mikael Hermansson a23717c8c6 Bind physics server methods related to shape margin 2024-05-19 12:28:26 +02:00
Thaddeus Crews a9810cffb4
SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05: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 +02: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 +02:00
Danil Alexeev 7dd801c580
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()` 2024-05-17 10:33:01 +03: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 +02: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 +02: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 +02:00
bruvzg cfb9639fc3
[TextServer] Add notes about high level text/font classes and getting active server instance. 2024-05-15 13:58:42 +03:00
landervr e7bd1b0673 Add denoiser range property for LightmapGI 2024-05-15 08:26:04 +02: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 +12:00
bruvzg 151788f7e8
[Editor] Add editor setting to control "disable_embedded_bitmaps" property of the editor fonts. 2024-05-14 09:26:22 +03: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 +08:00
Hendrik Brucker 62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
Yuri Rubinsky db2e09e9cd Add a method to retrieve all points within a region to `AStarGrid2D` 2024-05-12 18:14:13 +03:00
Rémi Verschelde 3a5593a721
Merge pull request #91761 from DarkiStar/crypto
[Doc] Update Crypto example
2024-05-10 09:56:09 +02: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 +02: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 +02: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 +02: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 -04: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 +02: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 +02: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 +02:00
A Thousand Ships b4c6cc7d82
[Core] Add case-insensitive `String::containsn` 2024-05-08 12:48:01 +02: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 +02: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 +02: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 -03: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 +02: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 +02:00
Hugo Locurcio 47ac22486d
Update dependencies in D3D12 SDK installer script
- Add colored console output.
2024-05-07 19:10:58 +02: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 +02: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 +02:00