Commit Graph

10506 Commits

Author SHA1 Message Date
Joanna May bebf2e87f2 docs: highlight lack of joystick info on majority of platforms 2024-08-18 14:47:32 -05: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 +02:00
BlueCube3310 394ea653aa Add Betsy to speed up BC6 compression 2024-08-18 11:14:05 +02:00
voidedWarranties d65ea6fb9c Fix virtual binding for `ScriptLanguageExtension::_reload_scripts` 2024-08-17 21:09:32 -07:00
Flyn San 0df7ee31d2 Add BoneAttachment3D::get_skeleton() method 2024-08-17 09:35:24 +10: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 +02: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 +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
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
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
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
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
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