Commit Graph

7860 Commits

Author SHA1 Message Date
Rémi Verschelde db9007aef4
Merge pull request #73428 from smix8/navigation_tweak_agent3d_4.x
Tweak NavigationAgent3D defaults
2023-02-17 09:56:49 +01:00
Rémi Verschelde b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
Tecelli Akıntuğ 1ba05b4b3a
Fix AnimatedTexture inconsistency when setting frame 2023-02-16 22:34:10 +01:00
Yuri Sizov 15a97a2e84
Merge pull request #56490 from Calinou/light-3d-high-attenuation-warning
Document caveats of high attenuation in OmniLight3D and SpotLight3D
2023-02-16 23:41:08 +03:00
Hugo Locurcio c3365ace4f
Improve documentation on PopupMenu and DisplayServer accelerators
The name "accelerator" is actually misleading (at least in PopupMenu),
as these are really keyboard shortcuts and not a key you press after
pressing Alt (with the corresponding letter in the option's name
being underlined after pressing Alt).
2023-02-16 20:26:07 +01:00
Rémi Verschelde ec2f9a78f7
Merge pull request #73435 from bruvzg/file_close
Restore FileAccess.close method.
2023-02-16 18:34:48 +01:00
Rémi Verschelde 2d845ee3d1
Merge pull request #73437 from bruvzg/docs_ignore_import_v
Exclude platform dependent `rendering/textures/vram_compression/import_*` default values from documentation.
2023-02-16 18:34:44 +01:00
Rémi Verschelde 25da47edd6
Merge pull request #73396 from KoBeWi/sorry
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 18:34:41 +01:00
Rémi Verschelde 6b7c0a1f2a
Merge pull request #73250 from smix8/fix_navigation_debug_script_toggle_4.x
Fix navigation debug not toggleable in scripts
2023-02-16 18:32:39 +01:00
bruvzg 041f559da1
Exclude platform dependent `rendering/textures/vram_compression/import_*` default values from documentation. 2023-02-16 15:48:09 +02:00
kobewi a12921ca2c Fix crash with AspectRatioContainer and TextureRect 2023-02-16 14:35:09 +01:00
bruvzg bc95b0b171
Restore FileAccess.close method. 2023-02-16 15:34:20 +02:00
smix8 8be4af38e4 Tweak NavigationAgent3D defaults
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
2023-02-16 14:26:39 +01:00
smix8 aecad7bb25 Fix navigation debug not toggleable in scripts
Fixes that navigation debug was not toggleable in script while even the docs mentioned it.
2023-02-16 11:12:48 +01:00
Rémi Verschelde 953383328a
Merge pull request #73229 from smix8/navlink_global_positions_4.x
Add NavigationLink helper functions for global positions
2023-02-16 11:02:17 +01:00
Rémi Verschelde d844fbba3b
Merge pull request #73409 from voidedWarranties/scriptextension_add_bind
Add missing virtual bind for `ScriptExtension::_get_global_name`
2023-02-16 11:02:09 +01:00
Rémi Verschelde ddb1876cf7
Merge pull request #73412 from timothyqiu/doc-fixes
Fix a few typos in the class reference
2023-02-16 11:02:04 +01:00
Rémi Verschelde 43c9ac82bb
Merge pull request #69201 from tbveralrud/ios-touch-leak-fix-master
iOS: Fix memory leak on touch input
2023-02-16 11:01:58 +01:00
Haoyu Qiu 431a0f20a4 Fix a few typos in the class reference 2023-02-16 13:26:17 +08:00
voidedWarranties 0a58025e40 Add missing virtual bind for `ScriptExtension::_get_global_name` 2023-02-15 19:48:01 -08:00
Yuri Sizov d2b1474da7
Merge pull request #73293 from RedMser/rich-text-label-fixes
RichTextLabel: Unexpose internal ItemType enum, improve `push_meta` docs
2023-02-15 12:58:23 +03:00
Travis Veralrud 10be2c343f
iOS: Fix memory leak on touch input
Replace incomplete iOS gesture with touch implementation.

Fixes #66422.
2023-02-15 09:45:38 +01:00
smix8 d87f124768 Add NavigationLink helper functions for global positions
Adds helper functions to set the links start and end position with global positions or get them as global positions.

Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
2023-02-14 21:56:58 +01:00
smix8 f1026450bf Unbind NavigationServer3D.process()
Unbinds NavigationServer3D.process().
2023-02-14 21:21:36 +01:00
RedMser 22dd621cf9 RichTextLabel fixes
- Unexpose ItemType enum, since it is not used in public API.
- Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14 17:20:05 +01:00
Rémi Verschelde 93d1cfe525
Merge pull request #73253 from Mickeon/doc-stringname-oops
Add missing documentation for String & StringName
2023-02-14 15:57:47 +01:00
Rémi Verschelde f9b043aad7
Merge pull request #73281 from Mickeon/doc-misc-oops
Slightly tweak `@GlobalScope` & `GDScript`'s documentation
2023-02-14 13:37:43 +01:00
Micky 436bbfebe2 Tweak `@GlobalScope` & `GDScript`'s documentation 2023-02-14 13:26:18 +01:00
Micky 8d0078873a Fix incorrect format in Color documentation 2023-02-14 10:27:43 +01:00
Micky edb78840c0 Add missing documentation for String & StringName
Also fixes typos brought up in #69821's replies.
2023-02-14 10:15:44 +01:00
Rémi Verschelde 4848877b80
Merge pull request #72659 from Calinou/doc-rendering-method-support
Document unsupported features in Mobile and Compatibility rendering methods
2023-02-13 23:45:12 +01:00
Rémi Verschelde 9721d557d0
Merge pull request #73248 from constantitus/characterbody2d-csharp-doc
fixed c# example in CharacterBody2D doc
2023-02-13 23:44:48 +01:00
Hugo Locurcio 42b7739321
Document unsupported features in Mobile and Compatibility rendering methods 2023-02-13 22:17:02 +01:00
constantitus 6951574265 fixed c# example in CharacterBody2D doc 2023-02-13 23:14:48 +02:00
Hugo Locurcio 8b1de103a8
Clamp Decal size to positive values
This prevents using negative size, while also preventing
error messages from being spammed if one of the decal's dimensions
is set to exactly 0.
2023-02-13 22:01:49 +01:00
Rémi Verschelde c2e1be66c8
Merge pull request #72870 from Calinou/doc-directionallight2d-no-cull-mask
Document DirectionalLight2D not supporting cull masks
2023-02-13 21:06:33 +01:00
Rémi Verschelde 848c910227
Merge pull request #73018 from smix8/fix_multilayered_tilemap_navigation_4.x
Fix navigation support for multilayered TileMaps
2023-02-13 12:58:39 +01:00
Rémi Verschelde 95183c2808
Merge pull request #73198 from TokageItLab/anim-docs-state
Add document about animation read-only props and state length
2023-02-13 09:12:32 +01:00
Rémi Verschelde 3cc78567d7
Merge pull request #73103 from Calinou/doc-font-get-string-size
Clarify `Font.get_string_size()` taking kerning into account
2023-02-13 09:11:21 +01:00
Haoyu Qiu 84aee17901 Improvements and fixes based on Weblate comments
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
    * "Inclusive" and "Self" in the profiler.
    * Places where it needs the context about being an editor progress label.
    * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
    * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
    * Fix duplicated "if" in the description of `signf()`.
    * Fix mismatched example output in `String.operator %()`.
    * Fix typo in the description of `Decal.texture_emission`.
    * Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
Silc Renew 045c8845c7 Add document about animation read-only props and state length 2023-02-13 14:16:40 +09:00
Anthony Cossins ae282e9b7d Fix return type for collide_shape to use PackedVector3Array 2023-02-12 23:32:13 +00:00
Haoyu Qiu cc384a8228 Add missing period for sentences in classref 2023-02-12 11:39:14 +08:00
Silc Renew 6bc4d1cb73 Completion of parameters not described in some animation resources 2023-02-12 04:40:49 +09:00
Hugo Locurcio 11f6dc295d
Clarify `Font.get_string_size()` taking kerning into account
This makes a difference when using a single call per character/word
as opposed to using a single call for an entire string.
2023-02-11 16:24:52 +01:00
Hugo Locurcio db5e178aed
Document DirectionalLight2D not supporting cull masks 2023-02-11 16:13:31 +01:00
Rémi Verschelde 0e81e2a30f
Merge pull request #73091 from TokageItLab/fix-bezier-edit-button-update
Fix weird bezier edit button update timing in AnimationTrackEditor
2023-02-11 14:38:18 +01:00
Rémi Verschelde ab2952580c
Merge pull request #73040 from Rindbee/popup_centered_consider_current_size
Calling popup_center* with the default size will use the current size
2023-02-11 14:37:54 +01:00
Rémi Verschelde 5c5f1452db
Merge pull request #73075 from timothyqiu/ttrn-single
Don't warn when using `TTRN()` in a language without plurals
2023-02-11 14:35:03 +01:00
Rémi Verschelde f2a87f8df6
Merge pull request #70723 from rburing/fill_physicsserver2d_docs
Fill and fix `PhysicsServer2D` documentation
2023-02-11 14:32:36 +01:00
Rémi Verschelde 126025d2dd
Merge pull request #67155 from touilleMan/Engine-exposes-ScriptServer-unregister_language
Expose unregister language & improve usability with GDExtension
2023-02-11 14:31:47 +01:00
Rémi Verschelde 3706355385
Merge pull request #73014 from TokageItLab/animation-tree-docs
Add document for AnimationNodes which have setter as request property
2023-02-11 14:31:08 +01:00
Rindbee 593598c592 Calling popup_center* with the default size will use the current size 2023-02-11 18:53:53 +08:00
Yuri Sizov c1f556c85d
Merge pull request #72723 from ErrorInCode27/rb2d-inertia-docs 2023-02-11 13:24:20 +03:00
Matthew 9f6bb7dd50
Merge pull request #68905 from jaymehta-g/area-node-description-typo
Fix Area node description mistake
2023-02-10 22:06:32 -05:00
[Error_27] 417bd5b27f Add how to retrieve RigidBody2D and RigidBody3D autocomputed inertia 2023-02-10 20:43:25 -05:00
Emmanuel Leblond 58f4139164
Add Engine::unregister_script_language and make Engine::register_script_language returns a Error 2023-02-10 19:50:24 +01:00
Ricardo Buring fda9e16806 Fill and fix PhysicsServer2D documentation
Fixes incorrect descriptions, adds more detail, and fills in missing
descriptions. Also adds a physics object glossary at the beginning.
Default values of body/area/joint parameters are now documented (based
on the values in Godot Physics), to aid GDExtension developers.
2023-02-10 19:14:49 +01:00
Silc 'Tokage' Renew 7016768f4c Add document for AnimationNodes which have setter as request property 2023-02-11 02:58:58 +09:00
Rémi Verschelde ed85a2c8ce
Merge pull request #70663 from EpEpDragon/feature_buffer_get_data_size_option
Add optional size parameter to the RenderDevice buffer_get_data method.
2023-02-10 18:49:28 +01:00
Yuri Sizov 5ca1123021
Merge pull request #71572 from RedMser/docs-binary-variant
Document internal usage of `encode`/`decode_variant`
2023-02-10 20:04:16 +03:00
smix8 f2c31965c0 Fix navigation support for multilayered TileMaps
Fixes support for multilayered TileMaps by creating dedicated navigation maps for each layer.
2023-02-10 17:13:40 +01:00
Yuri Sizov 8d55b4d3b3
Merge pull request #69728 from Calinou/doc-font-oversampling-exceptions
Document exceptions to font oversampling in Camera2D, CanvasItem and Control
2023-02-10 18:55:22 +03:00
Yuri Sizov 91763afc2a
Merge pull request #69731 from hackenshaw/improve-CanvasLayer.layer-tootltip
Improve tooltip for CanvasLayer.layer
2023-02-10 18:51:40 +03:00
Rémi Verschelde 493e932c86
i18n: Sync translations with Weblate 2023-02-10 15:32:10 +01:00
Rémi Verschelde 7a68530bf3
Merge pull request #73002 from KoBeWi/VisibleOnScreenConfusion
Clarify visibility in VisibleOnScreenNotifier
2023-02-10 15:07:02 +01:00
Danil Alexeev 220898a69f
GDScript: Remove `treat_warnings_as_errors` project setting 2023-02-10 10:16:33 +03:00
kobewi 1fcd124ea8 Clarify visibility in VisibleOnScreenNotifier 2023-02-09 23:58:20 +01:00
Rémi Verschelde 929ee61170
Merge pull request #72931 from TokageItLab/improve-root-motion-for-rot-and-pos
Add root motion accumulator to fix broken RootMotionView
2023-02-09 23:43:08 +01:00
Silc Renew 7b18ad7d98 Add root motion accumulator to fix broken RootMotionView 2023-02-10 01:22:00 +09:00
Rémi Verschelde edae21f3aa
Merge pull request #72897 from Geometror/graphedit-set-deprecated
Update configuration warning for `GraphEdit` and mark it as experimental
2023-02-09 09:29:27 +01:00
Hendrik Brucker 4601acbaf4 Update GraphEdit configuration warning, mark GraphNode/GraphEdit as experimental 2023-02-09 02:39:55 +01:00
Rémi Verschelde 1bdc85b917
doc: Fix Image 'set_pixel' doc for use of 'create'
Fixes #72904.
2023-02-08 19:02:19 +01:00
Rémi Verschelde 0e97806c1d
Merge pull request #72860 from RedworkDE/editor-export-plugin-bind
Bind `EditorExportPlugin::_get_export_features`
2023-02-08 09:37:40 +01:00
Rémi Verschelde 5c0f07b76a
Merge pull request #68016 from quinnyo/damp-docs
dampen -> damp, attenuate in audio and physics class docs
2023-02-08 09:37:13 +01:00
RedworkDE 2e167ca943 Bind `EditorExportPlugin::_get_export_features` 2023-02-07 23:14:20 +01:00
Jay Mehta 3bafb97e89 Second revision of area node desc 2023-02-07 16:13:28 -06:00
quinnyo edf7f5cf3e Replace "dampen" with "damp", "attenuate" in class docs 2023-02-08 08:01:32 +10:00
Rémi Verschelde a05670c617
Merge pull request #70623 from timothyqiu/property-i18n
Separate property translation from editor translation, move sources to separate godot-editor-l10n repo
2023-02-07 19:38:29 +01:00
Rémi Verschelde bd267c911b
Merge pull request #72493 from dalexeev/gds-export-flags
GDScript: Improve validation and documentation of `@export_flags`
2023-02-07 19:38:21 +01:00
Danil Alexeev c8e3d8b5d5
GDScript: Improve validation and documentation of `@export_flags` 2023-02-07 19:32:08 +03:00
Andrés Botero f39aa8ae04
Fix docs on RPC_MODE_ANY_PEER analogous. 2023-02-07 10:20:38 -05:00
Rémi Verschelde 097cf5431b
Keep only production ready translations, move the WIP ones to godot-editor-l10n
- Remove WIP translation templates, moved to godot-editor-l10n which
  will be the source and target for Weblate contributions.
  * https://github.com/godotengine/godot-editor-l10n
- Re-add translations with a high completion ratio, stripped of the
  untranslated and fuzzy strings, and of the location and translator
  comments, to keep the size lower.
  * Threshold editor interface: 20% complete.
  * Threshold properties: 20% complete.
  * Threshold classes: 10% complete.
2023-02-07 15:35:12 +01:00
Rémi Verschelde 3f02cf7ced
Merge pull request #72722 from TokageItLab/animtree-map
Fix AnimationNodeTransition initialization and AnimationNode remapping method
2023-02-07 08:36:00 +01:00
Kabiir 17ee6fcf03 Fix description and argument name in Control._has_point 2023-02-07 02:29:28 +05:30
Yuri Sizov 5eb2011423
Merge pull request #71523 from YeldhamDev/dserver_doc_recoms
Make `DisplayServer` docs tell users to change some window values in the `Window` node
2023-02-06 21:07:37 +03:00
Rémi Verschelde 6736b00354
Merge pull request #72791 from CorentinBrule/patch-1
Complete FontFile ref and update example
2023-02-06 17:48:44 +01:00
CorentinBrulé 57d495f43b Complete FontFile ref and update example
I complete the ref items according to [TextServer ref](https://docs.godotengine.org/en/latest/classes/class_textserver.html) and update example with new properties path
2023-02-06 16:22:50 +01:00
Lyuma 5fbcb80170 Use reimport_append api for importing embedded gltf images
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2023-02-06 07:11:45 -08:00
Rémi Verschelde 074113b97d
Merge pull request #72455 from reduz/allow-reimport-appending
Support reimport appending
2023-02-06 15:39:51 +01:00
Rémi Verschelde 9ad098f653
Merge pull request #72276 from dalexeev/gds-rpc-annot
GDScript: Better handling of `@rpc` annotation and autocompletion
2023-02-06 15:39:25 +01:00
Rémi Verschelde 82ff7b4bce
Merge pull request #68492 from Sauermann/fix-picking-sort
Fix propagation order for 2D physics picking events
2023-02-06 15:38:38 +01:00
Danil Alexeev 31749de128
GDScript: Better handling of `@rpc` annotation and autocompletion 2023-02-05 21:21:37 +03:00
Yuri Sizov 13f0158e49
Merge pull request #72608 from vnen/gdscript-warning-default-error
GDScript: Add warnings that are set to error by default (take 2)
2023-02-05 16:00:26 +03:00
Yuri Sizov e13e4b7b6d
Merge pull request #71665 from bitsawer/expose_global_classes
Expose and document ProjectSettings.get_global_class_list()
2023-02-05 15:55:15 +03:00
Markus Sauermann 6e855e3820 Fix propagation order for 2D physics picking events
This patch adds a viewport-configuration-option for sorting
physics-picking events by the Z-Index and the scene tree position
of the collision objects.
2023-02-04 22:44:36 +01:00
Silc Renew fff3ae1d89 Fix NodeTransition initialization and AnimationNode remapping method 2023-02-05 06:24:14 +09:00
bitsawer d1521933bb Expose and document ProjectSettings.get_global_class_list() 2023-02-04 23:22:27 +02:00
Yuri Sizov 0030286054
Merge pull request #72721 from raulsntos/dotnet/variant-docs
Update Variant documentation for C#
2023-02-04 23:11:01 +03:00
Raul Santos d856d5eb82
Update Variant documentation for C# 2023-02-04 20:29:42 +01:00