Commit graph

9380 commits

Author SHA1 Message Date
Hugo Locurcio d6768a17fa
Document changing the window's resizable status at runtime 2023-11-14 15:02:25 +01:00
Rémi Verschelde 70ec97aadf
Merge pull request #84844 from Calinou/doc-runtime-loading-image
Link to runtime loading/saving tutorial and improve Image documentation
2023-11-14 12:17:31 +01:00
Hugo Locurcio e5270c0db2
Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
Markus Sauermann 361aa909da Explain which nodes receive NOTIFICATION_WM_SIZE_CHANGED 2023-11-13 17:32:39 +01:00
kobewi 4296f0a771 Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
Rémi Verschelde 7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.
2023-11-12 15:22:16 +01:00
Rémi Verschelde 5abeb043d0
Merge pull request #84784 from timothyqiu/recturns
Fix typo in `TextureServer.font_get_face_index()` description
2023-11-12 12:16:18 +01:00
Micky b5ca06c9ca Overhaul Node Documentation 2023-11-12 12:10:27 +01:00
Hugo Locurcio a63556212d
Don't apply frame delay project setting to the editor
This appears to already be the case for the Max FPS project setting.
2023-11-12 12:09:39 +01:00
Haoyu Qiu 2717fc6c0f Fix typo in TextureServer.font_get_face_index description 2023-11-12 17:07:09 +08:00
Rémi Verschelde 8179ad558a
Merge pull request #82942 from timothyqiu/circulation
Explain circular references and how to break them
2023-11-11 23:05:11 +01:00
Anutrix 3c82f4a371 Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement 2023-11-11 21:17:19 +05:30
Anutrix 66134fd0f4 Added description to AnimationNodeStateMachine.replace_node 2023-11-11 20:43:58 +05:30
Haoyu Qiu b2dcef4928 Explain circular references and how to break them
Also improves the documentation of `weakref`.
2023-11-11 10:07:48 +08:00
Rémi Verschelde 76d9521801
Merge pull request #82863 from HexagonNico/docs_get_tree
Specify the behaviour of `get_tree()` when the node is not in the scene tree
2023-11-10 21:54:56 +01:00
Rémi Verschelde 60e46cfeed
Merge pull request #81697 from nathanjf/master
Add missing documentation for `Skeleton3D` methods
2023-11-10 21:53:14 +01:00
Markus Sauermann 0baebed41a
Document that Input.is_action_* should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2023-11-10 21:34:50 +01:00
Nico ee9c8cb296 Specify the behaviour of get_tree when the node is not in the scene tree 2023-11-10 20:24:53 +01:00
Nathan Frank 13e2e4e5d8 Add missing documentation for Skeleton3D methods
Adds description for get/set pose position/rotation/scale.
2023-11-10 19:07:04 +01:00
Rémi Verschelde bdd9034ad0
i18n: Sync translations with Weblate 2023-11-10 16:30:40 +01:00
Yuri Sizov d9c980f1cf Fix a property reference in EditorSpinSlider 2023-11-10 15:30:16 +01:00
jsjtxietian b88b84ce18 Add thread guard for force_draw and update relared doc
force_draw must be called from main thread
2023-11-10 18:57:31 +08:00
Rémi Verschelde 7f49389c4b
Merge pull request #84698 from RandomShaper/fix_doccy
Fix link in the docs about ResourceImporterTextureAtlas
2023-11-10 10:46:30 +01:00
Rémi Verschelde 4eae6f8028
Merge pull request #84669 from akien-mga/doc-displayserver-dont-mess-with-windows
doc: Clarify that `DisplayServer.window_set_*_callback` aren't supported on Window nodes
2023-11-10 10:46:06 +01:00
Rémi Verschelde 804c1926c9
Merge pull request #84648 from NiftyHat/patch-1
Add C# example for the AudioStreamGenerator code snippet
2023-11-10 10:45:20 +01:00
Rémi Verschelde dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Pedro J. Estébanez 29a4707fa5 Fix link in the docs about ResourceImporterTextureAtlas 2023-11-10 09:51:11 +01:00
Duncan "NiftyHat" Saunders 496eaafe49
Add C# example for the AudioStreamGenerator code snippet 2023-11-10 09:28:35 +01:00
MewPurPur 80b636069a Add performance note to Array.resize() 2023-11-10 00:41:39 +02:00
bruvzg 173b84127b
[Windows] Add some AMD GPUs to the OpenGL blocklist. 2023-11-09 20:11:04 +02:00
bruvzg d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
Rémi Verschelde 02e52da774
Merge pull request #84667 from timothyqiu/semi-redundant
Remove a redundant semicolon from `max_fps` documentation
2023-11-09 18:10:11 +01:00
Rémi Verschelde d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Rémi Verschelde 25e650ab61
Merge pull request #83388 from jsjtxietian/document-resource-saver-uid
Document UID behavior in ResourceSaver's save function
2023-11-09 18:07:41 +01:00
Rémi Verschelde 9ff5ee79b8
Merge pull request #82991 from jsjtxietian/update-doc-for-draw-poly-line
Update `draw_polyline` documentation to clarify negative width behavior
2023-11-09 18:07:16 +01:00
Rémi Verschelde 95a42aeb96
Merge pull request #82092 from jitspoe/master.pr_physical_keycode_doc_fix
Fix documentation on how to get the keycode string from a `physical_keycode`
2023-11-09 18:06:51 +01:00
kobewi aff49d3a76 Fix missing arrows in integer vector properties 2023-11-09 17:35:15 +01:00
Rémi Verschelde 354c622aa7
doc: Clarify that DisplayServer.window_set_*_callback aren't supported on Window nodes 2023-11-09 17:23:38 +01:00
Haoyu Qiu d6bd0e1289 Remove a redundant semicolon from max_fps documentation 2023-11-09 22:18:01 +08:00
kit d24d73ba31 Make mouse-enter/exit notifications match mouse event propagation
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.

In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.

Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
jitspoe 1e01fcd038
Fix documentation on how to get the keycode string from a physical_keycode
Fixes #82091.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-11-09 13:03:29 +01:00
Rémi Verschelde e769a75640
Merge pull request #84618 from YuriSizov/docs-resolve-method-reference-collisions
Resolve collisions in reference anchors added for methods
2023-11-09 11:47:48 +01:00
Rémi Verschelde 26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde b153f4868a
Merge pull request #84567 from timothyqiu/shapecast-doc
Sync changes between ShapeCast and RayCast class references
2023-11-09 11:47:00 +01:00
Rémi Verschelde aaafc69132
Merge pull request #84513 from bruvzg/x11_fallback_and_spam
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
2023-11-09 11:46:36 +01:00
Haoyu Qiu cc3984f359 Avoid punning enum names in documentation 2023-11-09 17:16:30 +08:00
Yuri Sizov 0924ae0167 Resolve collisions in reference anchors added for methods
While the anchors themselves were sufficiently unique,
when converted to HTML all underscore characters are
replaced. This created collisions between, say, Object._get and
Object.get, where the latter would get a generic unique
anchor identifier, e.g. id1.
2023-11-08 15:16:35 +01:00
Yuri Sizov b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
clayjohn a74cfc2629 Use default samplers in base uniform set when rendering to reflection probes 2023-11-07 17:46:05 +01:00
Yuri Sizov 326899226f Merge pull request #84408 from m4gr3d/update_input_event_magnify_gesture_android_description
Update the description for the `InputEventMagnifyGesture` and `InputEventPanGesture` gestures
2023-11-07 12:54:17 +01:00
Hugo Locurcio 079f1c8ead
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +01:00
Haoyu Qiu aca6855ef2 Sync changes between ShapeCast and RayCast class references 2023-11-07 16:49:51 +08:00
Fredia Huya-Kouadio b737ac1e1d Update the description for the InputEventMagnifyGesture and InputEventPanGesture gestures
Mention the requirement to enable those gestures on Android
2023-11-06 11:02:39 -08:00
Yuri Sizov d3e9033868 Merge pull request #83931 from clayjohn/DOCS-material
Fill out Material documentation and clarify `render_priority` and `next_pass` sorting
2023-11-06 15:43:25 +01:00
Yuri Sizov b7449a3d1a Merge pull request #84419 from YuriSizov/core-remove-orphan-notification
Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification
2023-11-06 13:23:21 +01:00
Yuri Sizov e5f1cbfe2a Merge pull request #84376 from YuriSizov/animation-unexpose-internal-property
Unexpose internal data property of `AnimationLibrary`
2023-11-06 13:23:15 +01:00
Yuri Sizov 623b905d2e Remove unused NOTIFICATION_NODE_RECACHE_REQUESTED notification 2023-11-06 12:16:32 +01:00
bruvzg f3d4f5a77e
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam. 2023-11-06 12:40:44 +02:00
Yuri Sizov e7c3a0540a Merge pull request #83435 from trevyn/get_skips
Document `AudioStreamGeneratorPlayback.get_skips()`
2023-11-03 12:52:12 +01:00
trevyn 7c2e37e5dd Document AudioStreamGeneratorPlayback.get_skips()
Co-Authored-By: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-02 21:54:07 +02:00
Yuri Sizov 0b2f8ee036 Merge pull request #84283 from jsjtxietian/update-add_submenu-doc
Update `add_submenu_item` doc to mention that submenu should already exist
2023-11-02 20:34:11 +01:00
Yuri Sizov f2de1137d9 Unexpose internal data property of AnimationLibrary 2023-11-02 18:57:39 +01:00
jsjtxietian 34c27021e0 Update add_submenu doc to mention that submenu should already exist 2023-11-02 11:02:13 +08:00
curious-broccoli 385f4cb572
Fix sentence in RandomNumberGenerator.xml 2023-11-01 21:37:01 +01:00
Rémi Verschelde 1267c58422
Merge pull request #84301 from jsjtxietian/improve-get_time_zone_from_system-doc
Clarify that `get_time_zone_from_system` will return a localized timezone name
2023-11-01 15:12:54 +01:00
Rémi Verschelde 1ea46ad4c3
Merge pull request #84276 from Chubercik/velocity_pivot_desc
Add a description for the `velocity_pivot` parameter
2023-11-01 15:10:56 +01:00
Rémi Verschelde 8ce31989ff
Merge pull request #84226 from Agaanii/patch-1
Fix documentation in MultiplayerAPIExtension
2023-11-01 15:10:33 +01:00
jsjtxietian fd751f9b21 Clarify get_time_zone_from_system will return a localized timezone name 2023-11-01 19:47:30 +08:00
Boris The Brave a390996a61
Document that resource_name is not always supported
Closes #82333.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-01 10:43:41 +01:00
Jakub Marcowski 201e5bab35
Add a description for the velocity_pivot parameter 2023-11-01 03:15:05 +01:00
Matt Loesby c10921b5d1 Fix documentation in MultiplayerAPIExtension
Fix documentation in MultiplayerAPIExtension.xml

In implementing a MultiplayerAPIExtension, I found that the example from documentation did not function even in the Multiplayer tutorial example.

Eventually, I found that the issue was that base_multiplayer will not poll unless told to by the LogMultiplayer implementation.

I also corrected a spelling issue and a few out-of-date return types.
2023-10-31 18:39:45 -06:00
Rémi Verschelde 799d30c306
Merge pull request #83753 from bruvzg/mac_angle_fb
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed.
2023-10-31 20:14:42 +01:00
Rémi Verschelde c942297410
Merge pull request #84224 from ershn/patch-1
Add missing word in `NOTIFICATION_POST_ENTER_TREE` documentation
2023-10-31 13:47:25 +01:00
Rémi Verschelde cf16c69e7d
Merge pull request #82609 from jsjtxietian/document-localized-timezone-name
Document `get_time_zone_from_system` will return a localized timezone name
2023-10-31 13:46:14 +01:00
Rémi Verschelde a4efb5a974
Merge pull request #81622 from Calinou/doc-dictionary-merge
Add an example for `Dictionary.merge()`, mention lack of recursion
2023-10-31 13:45:47 +01:00
Hugo Locurcio 0396e12a47
Add an example for Dictionary.merge(), mention lack of recursion 2023-10-31 10:16:11 +01:00
jsjtxietian 5eeb1518a8 Document get_time_zone_from_system will return a localized timezone name 2023-10-31 12:29:10 +08:00
Steven Le Boëdec 47258411da
Add missing word in NOTIFICATION_POST_ENTER_TREE documentation 2023-10-31 09:07:00 +09:00
Rémi Verschelde 17a575625e
Merge pull request #84159 from clayjohn/uv-compression
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde 608226a097
Merge pull request #82801 from allenwp/82587-untyped-declaration-usability
Add a recommendation to turn on type hints with untyped declaration warning
2023-10-30 23:18:10 +01:00
Rémi Verschelde be8761a801
Merge pull request #81176 from Jordyfel/integer-scaling-docs
Document integer scaling functionality and limitation
2023-10-30 23:17:21 +01:00
Rémi Verschelde fa54bc3eca
Merge pull request #79571 from Calinou/doc-richtextlabel-padding
Clarify the purpose of RichTextLabel text highlight padding
2023-10-30 23:16:24 +01:00
clayjohn 3f5c16dd9e Fix multiple issues with UV compression 2023-10-30 23:11:34 +01:00
Allen Pestaluky ede91c9f89 Added recommendation to turn on Add Type Hints with Untyped Declaration warning
Fixes #82587 by improving usability of the untyped_declaration warning. This adds a note to the documentation that recommends turning on EditorSettings.text_editor/completion/add_type_hints when the untyped declaration warning is set to warn or error.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-10-30 15:46:57 -04:00
Rémi Verschelde acbc341a58
OpenGL: Fix uninitialized memory usage for GPUPartciles interp_to_end
Fixes #84072.
2023-10-30 15:08:24 +01:00
Rémi Verschelde 6fe7a5e8d7
Merge pull request #84111 from EgeYildir/patch-1
doc: Fix typo in ConcavePolygonShape2D/3D description
2023-10-30 10:19:20 +01:00
Ege Yıldır 0573122605 doc: Fix typo in ConcavePolygonShape2D/3D description 2023-10-29 17:27:47 +03:00
Rémi Verschelde e2645d8a52
Merge pull request #84109 from clayjohn/disable-disable_2d
Revert "Add a Disable 2D property to Viewport"
2023-10-28 18:36:09 +02:00
Rémi Verschelde 3f045951ed
Merge pull request #84101 from programneer/incorrect-window-width-override
Fixed `window_width_override` description
2023-10-28 12:33:13 +02:00
Rémi Verschelde 17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
Kacper Gibas df0d83f856 Fixed window_width_override description 2023-10-28 09:40:36 +02:00
Andrés Botero acae382010 Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D 2023-10-28 01:23:38 -05:00
Rémi Verschelde bcf8a21e5f
Merge pull request #83636 from AThousandShips/scroll_doc
Clarify `NOTIFICATION_SCROLL_BEGIN/END` behavior
2023-10-27 21:40:00 +02:00
clayjohn f672198f5e Revert "Add a Disable 2D property to Viewport"
This reverts commit f6cc2603a1.
2023-10-27 14:45:59 +02:00
Rémi Verschelde 73130a20f3
Merge pull request #83916 from Calinou/doc-particles-collision-subemitters
Improve documentation related for particle subemitters, collision and attractors
2023-10-27 11:37:45 +02:00
twobit b4aa6ad36e Fix reparent losing owner if relationship to original owner is not broken 2023-10-26 13:08:05 -04:00
Rémi Verschelde bf46ee144d
Merge pull request #77788 from gongpha/stop-posting-about-(re)importing-assets-whatever-dot-exr
Avoid reimporting lightmap textures every getter call
2023-10-26 15:57:46 +02:00
Michael Alexsander c3fc87964f
Fix disabled tabs being selected when removing the current one 2023-10-25 16:46:54 -03:00
Hugo Locurcio 22e42c1826
Improve documentation related for particle subemitters, collision and attractors
This also describes how to set up particle flipbook animation in
GPUParticles2D's texture property.
2023-10-25 20:44:12 +02:00
Danil Alexeev b04263644c
Core: Allow methods of built-in Variant types to be used as Callables 2023-10-25 15:53:52 +03:00
clayjohn 9251821c97 Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial
These are needed to tweak sky exposure separately from background
2023-10-25 14:12:22 +02:00
clayjohn 6a663959a6 Fill out Material documentation and clarify render_priority and next_pass sorting 2023-10-25 10:58:06 +02:00
Rémi Verschelde bef514559a
Merge pull request #82906 from LinuxUserGD/patch-1
Add `sdf_collision` property description to LightOccluder2D
2023-10-25 10:27:56 +02:00
Rémi Verschelde c0f00be870
Merge pull request #81936 from detomon/update-renderingdevice-doc
Fix required parameter values for 2D textures in `RenderingDevice.texture_clear()`
2023-10-25 10:27:32 +02:00
Rémi Verschelde ea0ab441c8
Merge pull request #83861 from Calinou/lightmapgi-fix-editor-only-sky-only
Fix LightmapGI taking editor-only and sky-only lights into account
2023-10-24 10:54:56 +02:00
Rémi Verschelde 6ead61ab1e
Merge pull request #83839 from todeskurve/todeskurve-patch-ImmediateMesh.xml
Add C# Example to ImmediateMesh.xml
2023-10-24 10:54:45 +02:00
Rémi Verschelde c20e948a2b
Merge pull request #83441 from AThousandShips/anim_doc
Fix description of `Animation::copy_track`
2023-10-24 10:54:08 +02:00
Hugo Locurcio e4d846378b
Fix LightmapGI taking editor-only and sky-only lights into account
These lights are not visible when running the project (or at all),
so they shouldn't affect the lightmap baking process.
2023-10-23 22:56:17 +02:00
todeskurve db26963938
Add C# Example to ImmediateMesh.xml 2023-10-23 14:50:07 +02:00
smix8 2f1668804c Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.
2023-10-23 01:43:55 +02:00
kit 701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
Rémi Verschelde 8c25a98fdf
Merge pull request #83768 from programneer/incorrect-physics-jitter
ProjectSettings: Fix description of physics jitter
2023-10-22 12:13:52 +02:00
Kongfa Waroros c165f0cf2e Avoid reimporting lightmap textures every getter call 2023-10-22 16:32:08 +07:00
Kacper Gibas c724368b7d Fix description of physics jitter 2023-10-22 11:12:21 +02:00
bruvzg 590c353707
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed. Remove platform specific renderer config values from docs. 2023-10-21 22:09:35 +03:00
smix8 b7be45279d Solve race condition between AThousandShips and Akien
Solves race condition between AThousandShips and Akien.
2023-10-21 19:04:41 +02:00
smix8 4771431b28 Fix NavigationAgent3D stored y-axis velocity and make it optional
Fixes NavigationAgent3D stored y-axis velocity and makes it optional.
2023-10-21 01:11:26 +02:00
Rémi Verschelde d99285db6a
Merge pull request #83609 from k0T0z/fix-csharp-syntax-error-in-web-doc
Fix Object class C# syntax error
2023-10-20 15:10:38 +02:00
Rémi Verschelde 34e3fa5ec7
Merge pull request #83602 from copytime/patch-1
Doc: Change return type of `_Set` method from `void` to `bool` in C# code example
2023-10-20 15:09:51 +02:00
A Thousand Ships 44f62a4f97 Clarify NOTIFICATION_SCROLL_BEGIN/END behavior
Documents that these notifications are only sent for touch events.
2023-10-19 22:33:57 +02:00
jsjtxietian 6950aab078 Make LineEdit secret character easier to change and enter
1. Allow values longer than 1 character in the property,
    but trim characters after the first one.
2. Allow empty strings, this acts like if a space was used as a secret character,
    so that an error isn't printed when you erase all characters in the property.
2023-10-19 21:32:38 +08:00
CopyTIME 458cb99966 Change return type of "_Set" method in csharp code example
Add "return false" to GDScript code example of _Set method
2023-10-19 18:52:11 +08:00
Saif Kandil 74efbde7df Fix Object class C# syntax error
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-19 13:43:54 +03:00
Rémi Verschelde dce1aab174
Merge pull request #83514 from kleonc/docs-multiplication-operators-doing-xform_inv-csharp
Clarify C# docs for operators performing `xform_inv`
2023-10-18 00:06:02 +02:00
Rémi Verschelde 024172b4eb
Merge pull request #82409 from KoBeWi/3_in_1
Document, cleanup and fix some theme properties
2023-10-18 00:00:36 +02:00
Rémi Verschelde 0181983ad4
Merge pull request #81774 from MewPurPur/improve-visible-on-screen-class-docs
Improve VisibleOnScreen classes' docs
2023-10-18 00:00:11 +02:00
kleonc 408de3b091 Clarify C# docs for operators performing xform_inv 2023-10-17 19:49:42 +02:00
MewPurPur 53d0ba2913 Improve VisibleOnScreen classes docs 2023-10-17 19:29:16 +03:00
Rémi Verschelde 8ff8d41f0b
Merge pull request #83461 from kleonc/docs-multiplication-operators-doing-xform_inv
Clarify docs for operators performing `xform_inv`
2023-10-17 16:13:09 +02:00
Rémi Verschelde e6d488f233
Merge pull request #81196 from georgwacker/add-audiosession-options
Add project settings for AVAudioSessionCategory on iOS
2023-10-17 16:12:49 +02:00
Georg Wacker fcc500ea41 Add project settings for AVAudioSessionCategory on iOS 2023-10-17 12:35:49 +02:00
kleonc a8c62c5928 Clarify docs for operators performing xform_inv 2023-10-16 21:52:02 +02:00
A Thousand Ships 9d23956b28 Fix description of Animation::copy_track
The documentation stated the track was added to this, instead of
`to_animation`
2023-10-16 14:37:19 +02:00
Danil Alexeev 0c2202c56e
GDScript: Fix incorrect error message for utility functions 2023-10-16 14:09:57 +03:00
Jakub Marcowski bc78c832e9 Expose 3D Delaunay tetrahedralization in Geometry3D 2023-10-16 11:48:49 +02:00
jsjtxietian 161a4b9d60 Document UID behavior in ResourceSaver's save function 2023-10-15 22:19:44 +08:00
Rémi Verschelde 1d3854665f
Merge pull request #83273 from groud/disable_tilemap_navigation
Allow disabling the built-in tilemap navigation
2023-10-13 22:19:48 +02:00
Rémi Verschelde 348c1ff96b
Merge pull request #83266 from bruvzg/linux_case_check
[Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS.
2023-10-13 22:19:24 +02:00
Dario a9a197d2dc Rewrite the GPU Lightmapper's indirect lighting logic to match Godot 3.5's CPU Lightmapper.
Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
2023-10-13 14:33:55 -03:00
Gilles Roudière c820c8d1e6 Allow disabling the built-in tilemap navigation 2023-10-13 17:42:28 +02:00
bruvzg 54eae6221a
[Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS. 2023-10-13 15:48:03 +03:00
Rémi Verschelde 51f81e1c88
Merge pull request #82957 from bruvzg/fs_case_check
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
bruvzg 9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde 1eabeb620b
Merge pull request #83038 from jsjtxietian/update-doc-mention-spinbox-reset-habeviour
Update SpinBox documentation to include resetting to min/max behaviour
2023-10-13 11:43:59 +02:00
Jakub Marcowski cb954c6bab Implement Vector2i/3i/4i methods: distance_to and distance_squared_to 2023-10-12 13:46:49 +02:00
Rémi Verschelde 3126001ef0
Merge pull request #83013 from RobTheFiveNine/documentation/start_button
Add documentation on which buttons JOY_BUTTON_START corresponds to
2023-10-11 22:44:11 +02:00
Rémi Verschelde efc0b08371
Merge pull request #82832 from bruvzg/oidn_external_exe
Re-add optional OIDN denoise as an external executable.
2023-10-11 22:38:18 +02:00
Rémi Verschelde 587f084200
Merge pull request #82595 from paulloz/fix-fileaccess-error-handling
Error handling for `FileAccess.get_file_as_*`
2023-10-11 22:37:54 +02:00
Rémi Verschelde 357a57b828
Merge pull request #82557 from RadiantUwU/patch-2
Fix `RefCounted.unreference()` documentation providing wrong info.
2023-10-11 22:37:30 +02:00
bruvzg 899e56de5d
Re-add optional OIDN denoise as an external executable. 2023-10-11 19:52:18 +03:00
Paul Joannon bf3f6e3b55
Error handling for FileAccess.get_file_as_*
- Assign last error in said `FileAccess.get_file_as_bytes` and `FileAccess.get_file_as_string`
- Document error handling for said methods
2023-10-11 18:52:16 +02:00
Radiant 098c445f75 Fix RefCounted.unreference() documentation providing wrong info. 2023-10-11 11:27:25 +03:00
Rémi Verschelde 4b7cc99bc1
Merge pull request #79169 from reduz/debug-canvas-item-redraw
Debug CanvasItem redraw
2023-10-11 08:40:05 +02:00
Rémi Verschelde 55282ddc10
Merge pull request #79527 from QbieShay/qbe/particles-rework
Particle internal refactor and additions for more artistic control
2023-10-10 22:48:50 +02:00
QbieShay c228fe1a0d Particle internal refactor and additions for more artistic control
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: Mew Pur Pur <85438892+MewPurPur@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2023-10-10 20:03:35 +02:00
Rémi Verschelde 1fe7f8a96c
Merge pull request #82893 from m4gr3d/godot_android_lib_improvements
Cleanups and improvements to the Godot Android library api
2023-10-10 09:11:53 +02:00
Rémi Verschelde 62e7e1618e
Merge pull request #83066 from imaperson/add-semicolon-to-os-case
Add semicolon to OS documentation case statement.
2023-10-09 23:25:39 +02:00
Rémi Verschelde 71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
Rex Robinson a8226a7e04 Add semicolon to OS case statement. 2023-10-09 16:43:43 -04:00
Rémi Verschelde 8384efe21b
Merge pull request #82969 from Calinou/viewport-add-disable-2d
Add a Disable 2D property to Viewport
2023-10-09 15:35:08 +02:00
Rémi Verschelde ed761780b4
Merge pull request #82883 from ShatReal/fix-input-typo
Fixed a missing word
2023-10-09 15:33:26 +02:00
jsjtxietian 47b78d04bb Update SpinBox documentation to include resetting to min/max behaviour 2023-10-09 19:20:52 +08:00
bruvzg 97bcd8a631 Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
RobTheFiveNine 5da63c5358
Add documentation on which buttons JOY_BUTTON_START corresponds to 2023-10-08 21:33:22 +01:00
Danil Alexeev de7cbe8789
Highlight doc comments in a different color 2023-10-08 19:26:10 +03:00
Fredia Huya-Kouadio 2951c162ed Cleanups and improvements to the Godot Android library api:
- Provide api to retrieve the running Godot instance from a GodotHost
- Provide api for the GodotHost to register runtime GodotPlugin instances
- Hide the GodotService class until it's completed
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-10-08 05:30:38 -07:00
jsjtxietian d452fb61aa Update draw_polyline documentation to clarify negative width behavior 2023-10-08 17:06:59 +08:00
Hugo Locurcio f6cc2603a1
Add a Disable 2D property to Viewport
This is the 2D counterpart to the existing Disable 3D property.
Its functionality is already internally implemented and used,
but it wasn't exposed.
2023-10-07 17:19:15 +02:00
Linux User 72c2d7d0da
Add sdf_collision property description to LightOccluder2D 2023-10-06 12:10:13 +02:00
Matthew 9e455f424a
Merge pull request #80872 from aaronfranke/split-importing-3d-scenes
Update Importing 3D scenes links to match splitting PR
2023-10-05 23:02:28 -04:00
Emily 3f7025b2ed Fixed a missing word 2023-10-05 16:19:48 -07:00
clayjohn 51ed3aef63 Vertex and attribute compression to reduce the size of the vertex format.
This allows Godot to automatically compress meshes to save a lot of bandwidth.

In general, this requires no interaction from the user and should result in
no noticable quality loss.

This scheme is not backwards compatible, so we have provided an upgrade
mechanism, and a mesh versioning mechanism.

Existing meshes can still be used as a result, but users can get a
performance boost by reimporting assets.
2023-10-05 12:02:23 -06:00
Rémi Verschelde d31794c4a2
Merge pull request #82849 from KoBeWi/change_dir_to_parallel_universe
Clarify `change_dir()` and access scopes
2023-10-05 16:33:52 +02:00
Rémi Verschelde 3b70e30e9b
Merge pull request #77072 from vPumpking/get-tree-string
Add `Node.get_tree_string` and `Node.get_tree_string_pretty`
2023-10-05 16:32:12 +02:00
kobewi 75eaefe7a4 Clarify change_dir() and access scopes 2023-10-05 15:00:22 +02:00
Danil Alexeev ed0b3c08e1
Core: Fix Object::has_method() for script static methods 2023-10-04 19:44:32 +03:00
Rémi Verschelde 7f0b25e057
Merge pull request #82748 from sepTN/than-then-typo
Fix typos in documentation: `than/then` and `loose/lose`
2023-10-04 15:44:52 +02:00
Rémi Verschelde d7bca20359
Merge pull request #82722 from BastiaanOlij/openxr_fix_hand_tracking_issues
OpenXR: Fix small hand tracking issues
2023-10-04 15:43:18 +02:00
Rémi Verschelde 1e544505be
Merge pull request #82691 from YuriSizov/rst-validate-with-exceptions
Validate `code` tags for class and member references
2023-10-04 15:42:42 +02:00
Rémi Verschelde d5db0e5032
Merge pull request #81218 from bruvzg/_temp_fs
[Native File Dialogs] Improve filter list handling, add selected filter to the callback.
2023-10-04 15:34:16 +02:00
bruvzg d1aaa914f3
[macOS] Add about_to_open and popup_hide callback for the global menus, move part of logic to the PopupMenu to allow live menu modification. 2023-10-04 09:49:51 +03:00
Bastiaan Olij c60ef33175 OpenXR Fix small hand tracking issues 2023-10-04 13:18:31 +11:00
Septian 81276e78f2 Fix typos in documentation: than/then and loose/lose 2023-10-04 04:51:48 +07:00
Yuri Roubinski 04bb89c0bd Add isometric cell shape mode to AStarGrid2D. 2023-10-03 21:04:03 +03:00
bruvzg 43e4708dff
[Native File Dialogs] Improve filter list handling, add selected filter to the callback. 2023-10-03 19:26:16 +03:00
Rémi Verschelde 954a3b337d
Merge pull request #82724 from AThousandShips/grid_doc
Clarify `AStarGrid2D.is_in_bounds` functionality
2023-10-03 17:27:29 +02:00
Rémi Verschelde 3a5d524287
Merge pull request #82614 from m4gr3d/openxr_eye_gaze_interaction
Add support for the OpenXR Eye gaze interaction extension
2023-10-03 17:25:52 +02:00
Rémi Verschelde 19c72e847d
Merge pull request #82544 from MewPurPur/improve-ray-docs
Improve SeparationRayShape docs
2023-10-03 17:24:58 +02:00
Rémi Verschelde 9af1983af2
Merge pull request #82475 from bruvzg/ts_spacing_var
[TextServer] Store font extra spacing variations without making a full copy of font.
2023-10-03 17:23:43 +02:00
Rémi Verschelde 30bc077756
Merge pull request #82364 from bruvzg/angle_lists_and_defaults
[ANGLE] Add fallback control options and defaults.
2023-10-03 17:22:53 +02:00
Rémi Verschelde 0358abbeba
Merge pull request #82179 from bruvzg/mode_docs
[Docs] Update and sync Window and DisplayServer window mode descriptions.
2023-10-03 17:22:05 +02:00
Rémi Verschelde 530e01b478
Merge pull request #80409 from bruvzg/est_title_size
[DisplayServer] Add method to estimate window title bar size.
2023-10-03 17:12:18 +02:00
Rémi Verschelde 9e8a93a5a9
Merge pull request #78762 from Sauermann/fix-svc-event-filter
Enable `InputEvent`-filtering in `SubViewportContainer`
2023-10-03 17:10:34 +02:00
Rémi Verschelde e64fce3bf4
Merge pull request #69624 from Kubulambula/add-typeof_string()-utility
Add `type_string()` utility
2023-10-03 17:10:05 +02:00
A Thousand Ships 55a3d148f0 Clarify AStarGrid2D.is_in_bounds functionality 2023-10-03 15:51:49 +02:00
Yuri Sizov cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
bruvzg ac3fc2a8a1
[ANGLE] Add fallback control options and defaults.
[macOS] Use ANGLE by default if engine is built with statically linked ANGLE.
[Windows] Add option enable/disable fallback to ANGLE and option force specific GPU to always use ANGLE.
2023-10-03 16:23:43 +03:00
bruvzg 72e2e47059
[DisplayServer] Add method to estimate window title bar size. 2023-10-03 16:13:52 +03:00
Bastiaan Olij 9e56e7a3ce Add support for the OpenXR Eye gaze interaction extension
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-10-02 14:02:23 -07:00
bruvzg c8df5e7291
[Docs] Update and sync Window and DisplayServer window mode descriptions. 2023-10-02 23:47:32 +03:00
Yuri Sizov a2f90d565a
Merge pull request #82681 from akien-mga/doc-Node3DGizmo
Add docs for Node3DGizmo to clarify its link to EditorNode3DGizmo
2023-10-02 19:59:16 +02:00
Markus Sauermann 781cecdc23 Enable filtering InputEvent-sending in SubViewportContainer
Introduce an user overridable function, that allows filtering, if
an `InputEvent` should be sent to `SubViewport` children.
2023-10-02 19:51:49 +02:00
Rémi Verschelde 9215b03429
i18n: Sync translations with Weblate (first 4.2 sync) 2023-10-02 17:42:35 +02:00
Jakub Janšta 74c937079c Add type_string() utility 2023-10-02 17:41:20 +02:00
Rémi Verschelde c7630b3755
Add docs for Node3DGizmo to clarify its link to EditorNode3DGizmo
Fixes #82654.
2023-10-02 16:17:16 +02:00
Rémi Verschelde 57a6813bb8
Merge pull request #81582 from YuriSizov/graph-toolbarniceness
Make `GraphEdit` toolbar more customizable
2023-10-02 15:18:42 +02:00
Rémi Verschelde 365ee4196c
Merge pull request #68696 from TokisanGames/expose_editor_viewports
Expose editor viewports in EditorInterface
2023-10-02 15:18:25 +02:00
Yuri Sizov b07c664af9 Make GraphEdit toolbar more customizable
Also adds a semi-transparent background
to make the toolbar stand out in front of nodes.
2023-10-02 13:43:08 +02:00
Rémi Verschelde 5e19247c72
Merge pull request #82671 from Flynsarmy/the_humble_comma
Improve `NavigationAgent3D.target_position` documentation readability
2023-10-02 13:17:06 +02:00
Rémi Verschelde 5fe97c5844
Merge pull request #82441 from akien-mga/web-clarify-get_unique_id
Web: Clarify that `OS.get_unique_id` is not supported
2023-10-02 13:16:31 +02:00
Rémi Verschelde bc118b36ac
Merge pull request #82370 from YuriSizov/graphs-request-rename-close-delete-please
Rename close requests to delete requests in `GraphEdit`
2023-10-02 13:16:28 +02:00
Flyn San 5391fe6d82 Improve NavigationAgent3D.target_position documentation readability
Improve NavigationAgent2D.target_position documentation readability
2023-10-02 20:33:00 +10:00
etti 3a39de4e2f Add rotate_toward and angle_difference to GDScript and C# 2023-10-01 22:19:42 +02:00
Cory Petkovsek 110130bb69 Expose editor viewports 2023-10-01 22:04:17 +07:00
MewPurPur c4db6e1a58 Improve SeparationRayShape docs 2023-09-29 22:18:00 +03:00
Chris Ridenour 313ac98c83
Fix metadata name in MovieWriter.xml
Fixes the generated class docs for MovieWrite to match #66156.
2023-09-29 14:09:04 -04:00
Rémi Verschelde 55ba576c58
Merge pull request #81688 from Chaosus/vs_custom_dropdown_list_props
Implement drop-down list properties to the custom visual shader nodes
2023-09-29 19:45:54 +02:00
Rémi Verschelde 2a7c0ce638
Merge pull request #80970 from curious-broccoli/configfile-error
Rephrase ConfigFile class methods error description
2023-09-29 19:45:30 +02:00
detomon 48c2012dc2 Fix required parameter values for 2D textures in RenderingDevice.texture_clear() 2023-09-29 16:14:31 +02:00
Rémi Verschelde fe8a58b9d7
Merge pull request #82499 from Calinou/doc-surface-override-material
Clarify difference between surface material and surface override material
2023-09-29 10:21:06 +02:00
Rémi Verschelde 94377f50b2
Merge pull request #80813 from TokageItLab/rework-animation-manager
Implement `AnimationMixer` as a base class of `AnimationPlayer` and `AnimationTree`
2023-09-29 10:20:16 +02:00
Yuri Roubinski 4575cc0c6f Implement drop-down list properties to the custom visual shader nodes 2023-09-29 10:55:05 +03:00
Silc Lizard (Tokage) Renew 1b95827d3e Implement AnimationManager the base class of AnimationPlayer/Tree 2023-09-29 08:23:57 +09:00
Hugo Locurcio f4fd6d0d99
Clarify difference between surface material and surface override material 2023-09-28 23:18:26 +02:00
bruvzg 4a167fc740
[TextServer] Store font extra spacing variations without making a full copy of font. 2023-09-28 10:45:09 +03:00
Yuri Sizov aa82cccc41 Merge pull request #81659 from DarioSamo/nlm-denoiser
Replace OIDN denoiser in Lightmapper with a JNLM denoiser compute shader.
2023-09-27 19:08:01 +02:00
Rémi Verschelde 0a10f09ce4
Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.

Fixes #82439.
2023-09-27 15:17:45 +02:00
Rémi Verschelde 048abcb2bb
Merge pull request #82384 from YeldhamDev/corner_cases_man_i_swear
Make hovered tabs be drawn with the unselected's width at minimum
2023-09-27 14:03:43 +02:00
Rémi Verschelde 19057c07bc
Merge pull request #67080 from Mickeon/resource-virtual-local-to-scene-setup
Reimplement Resource.`_setup_local_to_scene` & deprecate signal
2023-09-27 14:03:28 +02:00
kobewi cfb6d25d30 Document, cleanup and fix some theme properties 2023-09-27 00:06:15 +02:00
Rémi Verschelde f14ed3067d
Merge pull request #81573 from YuriSizov/docs-use-theme-binds-in-help
Use bound theme properties for documentation
2023-09-26 22:46:10 +02:00
Aaron Franke b0c1c24c38
Allow adding a custom side menu to EditorFileDialog 2023-09-26 14:03:18 -05:00
Michael Alexsander decae848a8
Make hovered tabs be drawn with the unselected's width at minimum 2023-09-26 15:08:47 -03:00
Yuri Sizov 596dd726a1 Use bound theme properties for documentation 2023-09-26 18:48:51 +02:00
Yuri Sizov 378ab38b1f Rename close requests to delete requests in GraphEdit 2023-09-26 16:41:39 +02:00
Rémi Verschelde 9b0b441cf3
Merge pull request #82139 from dalexeev/gds-add-inferred-declaration-warning
GDScript: Add `INFERRED_DECLARATION` warning
2023-09-26 16:36:39 +02:00
Rémi Verschelde eefe161549
Merge pull request #81610 from Ughuuu/add-angle-limits-and-motor-to-pin-joint-2d
Update PinJoint2D API with angle limits and motor speed
2023-09-26 13:45:07 +02:00
Rémi Verschelde 93cf990cdb
Merge pull request #81564 from aaronfranke/doc-string-byte-array
Doc: Reference String <-> PackedByteArray conversions from each other
2023-09-26 13:45:02 +02:00
Rémi Verschelde ca8b229e1c
Merge pull request #80410 from bruvzg/rtl_img_features
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 13:44:46 +02:00
Rémi Verschelde 3ec673085b
Merge pull request #79523 from aaronfranke/is-conformal
Add `is_conformal` method to Basis and Transform2D
2023-09-26 13:44:41 +02:00
Rémi Verschelde 21cdedb79c
Merge pull request #77819 from 0xafbf/char-fx-tests
Make it possible to change character transform in RichTextEffect
2023-09-26 13:44:28 +02:00
Dragos Daian 0fcfb07246 Update PinJoint2D API with angle limits and motor speed
add enabled methods for motor and angular limits
use correct name to get joint
update copyright
2023-09-26 10:29:23 +02:00
bruvzg bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent. 2023-09-26 09:39:51 +03:00
Rémi Verschelde 4443b8f474
Merge pull request #82230 from zaevi/dark-mode-android-ios
Support dark mode on Android and iOS.
2023-09-26 08:30:36 +02:00
Rémi Verschelde b9c36c930b
Merge pull request #81270 from Sauermann/fix-canvas-layer-index-doc
Improve canvas layer index documentation
2023-09-26 08:18:49 +02:00
Rémi Verschelde 7dccb9e039
Merge pull request #80796 from smix8/navgenerator_2d_4.x
Add 2D navigation mesh baking
2023-09-26 08:17:58 +02:00
Rémi Verschelde 55dfbd7761
Merge pull request #80284 from dsnopek/gdextension-hot-reload
Implement reloading of GDExtensions
2023-09-26 08:17:28 +02:00
Rémi Verschelde 79805262f1
Merge pull request #77829 from AThousandShips/mp_fix
Disallow nested custom multiplayers in `SceneTree`
2023-09-26 08:17:02 +02:00
David Snopek 2733a6f762 Implement reloading of GDExtensions 2023-09-25 22:10:17 -05:00
Zae 428eb1309a Support dark mode on Android and iOS. 2023-09-26 11:00:04 +08:00