Commit graph

7122 commits

Author SHA1 Message Date
Nicholas Huelin
961d6763fb Modify the default theme GraphNode close_h_offset
Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position.
2023-02-22 14:51:15 -05:00
fabriceci
1381e6da4f Exposes the apply_floor_snap function to allow a snap to be made regardless of velocity. 2023-02-22 14:08:32 +01:00
bruvzg
4593ad23fd
Add some missing EditorFileDialog methods and properties. 2023-02-22 11:55:08 +02:00
Rémi Verschelde
0a15f51617
Merge pull request #73741 from dalexeev/fix-sprite-frames-convert
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 10:13:57 +01:00
Rémi Verschelde
91aed4b9b5
Merge pull request #73694 from m4gr3d/update_touchscreen_editor_settings_main
Enable granular control of touchscreen related settings
2023-02-22 10:12:42 +01:00
Danil Alexeev
d49ac0466f
Fix SpriteFrames data loss on 3-to-4 conversion 2023-02-22 11:17:10 +03:00
Fredia Huya-Kouadio
445053a62d Enable granular control of touchscreen related settings 2023-02-22 00:16:39 -08:00
bruvzg
82d7923c65
Improve layout direction/locale automatic selection. 2023-02-22 08:37:14 +02:00
Hana
f4b2231cd0 update outdated references and examples 2023-02-21 19:28:43 +01:00
Aaron Franke
5ebc0541d2
Fix incorrect Time documentation in get_datetime_dict_from_unix_time 2023-02-21 02:55:44 -06:00
kobewi
d76356c4d5 Clarify rotation degrees 2023-02-20 23:26:02 +01:00
bruvzg
b3c64675cc
[macOS] Replace all Alt/Option+Letter/Number default shortcuts to avoid conflicts with special character input. 2023-02-20 22:02:47 +02:00
Rémi Verschelde
e10ab0c8c3
Merge pull request #73610 from timothyqiu/classref-typos
Various classref typo fixes
2023-02-20 11:29:01 +01:00
Rémi Verschelde
dcad6fbf9c
Merge pull request #73408 from nightblade9/patch-1
Elaborate text-to-speech requirements on Linux
2023-02-20 11:28:29 +01:00
Haoyu Qiu
0c92c92891 Various classref typo fixes 2023-02-20 14:47:37 +08:00
nightblade9
8e9b923425 Elaborate on text-to-speech requirements on Linux 2023-02-19 17:07:07 -05:00
nobbele
d6c4e40feb
Clarify return value for InputEvent.is_echo() 2023-02-19 00:28:46 +01:00
Yuri Sizov
b0200c1c46
Merge pull request #73535 from clayjohn/docs-keep-scale 2023-02-18 12:33:24 +03:00
clayjohn
8314cf125a Correct docs for keep_scale in BaseMaterial3D 2023-02-17 15:27:29 -08:00
Yuri Sizov
b2f63bbb43 Remove deprecated methods from Bone2D
- also add them to the project convertor
2023-02-17 18:05:52 +01:00
Yuri Sizov
e57aeb49e9
Merge pull request #73507 from YuriSizov/docs-are-neat
Remove extra spaces and correct crosslinks in some documentation
2023-02-17 20:04:58 +03:00
Yuri Sizov
dd5acde285 Remove extra spaces and correct crosslinks in some documentation 2023-02-17 17:31:19 +01:00
randompast
d2b5da16f9 Improve BoxMesh documentation about UV scaling for vertex shader
Added comment that translates the UV scaling from the standard shader properties
to how that's being done in the godot vertex shader.
2023-02-17 17:10:57 +01:00
Rémi Verschelde
7c7ba88d19
Merge pull request #66121 from Zylann/plugin_handles_edit_object_argument
Change `_can_handle` and `_edit` virtual methods to take `Object*`
2023-02-17 15:19:12 +01:00
Yuri Sizov
a93d7af90f
Merge pull request #73456 from Calinou/doc-popupmenu-displayserver-accelerators
Improve documentation on PopupMenu and DisplayServer accelerators
2023-02-17 16:15:11 +03:00
Marc Gilleron
d2b4e30058
Change _can_handle and _edit virtual methods to take Object* 2023-02-17 14:10:38 +01:00
Rémi Verschelde
1075931c64
Remove unexposed ProxyTexture, mark AnimatedTexture as deprecated
According to reduz:

> [AnimatedTexture] should be removed together with ProxyTexture, its just
> not efficient at all in Vulkan and causes invalidation of all descriptor
> sets depending on it
> it was needed mostly for animated tilemaps, but nowadays there is not a lot
> of reason for it

Marking AnimatedTexture as deprecated accordingly, until we reach consensus
for removing it completely.
2023-02-17 12:32:26 +01:00
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
bruvzg
174e0837e0
[macOS] Re-add support for the _sc_ inside app bundle. Update docs. 2023-02-17 09:55:56 +02: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
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