Commit Graph

10470 Commits

Author SHA1 Message Date
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
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
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
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
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
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