Commit Graph

9316 Commits

Author SHA1 Message Date
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
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
PucklaMotzer09 d2e651f403 Add Duplicate Lines shortcut to CodeTextEditor
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
Rémi Verschelde 023b6b30c1
Merge pull request #73813 from groud/improve_y_sort_performances
Greatly improve Y-sort performance on TileMaps
2023-09-25 22:47:22 +02:00
Dario 1b2b726502 Replace OIDN denoiser with a JNLM denoiser compute shader implementation. 2023-09-25 14:53:45 -03:00
smix8 0ee7e3102b Add 2D navigation mesh baking
Adds 2D navigation mesh baking.
2023-09-25 19:48:14 +02:00
Gilles Roudière 30b94bb8ab Improve TileMap Y-sorting performance 2023-09-25 18:49:04 +02:00
Rémi Verschelde e4cfd4e26a
Merge pull request #82195 from AThousandShips/radian_fix
Replace `radians` range hint with `radians_as_degrees`
2023-09-25 17:18:38 +02:00
Rémi Verschelde cd39da2df7
Merge pull request #81197 from DarioSamo/fsr2-rd
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
2023-09-25 17:18:12 +02:00
Rémi Verschelde d759f91f8d
Merge pull request #81101 from 398utubzyt/dotnet/abstract-class-support
C#: Add abstract class support
2023-09-25 17:18:05 +02:00
Rémi Verschelde 9fdf24fa67
Merge pull request #80881 from BastiaanOlij/openxr_foveation_ext
Implement OpenXR Foveated rendering support
2023-09-25 17:18:00 +02:00
Rémi Verschelde 91420573c0
Merge pull request #79965 from KoBeWi/popup_menu_sidequest
Free submenu children when clearing PopupMenu
2023-09-25 17:17:55 +02:00
Rémi Verschelde c57d9f3483
Merge pull request #79104 from DrRevert/focusable_tabs_refactor
Allow to focus individual tabs in `TabBar`/`TabContainer`
2023-09-25 17:17:51 +02:00
Rémi Verschelde 1a0e653d7f
Merge pull request #78573 from dalexeev/editor-create-script-class-name
Editor: Remove unused Class Name field from Create Script dialog
2023-09-25 17:17:46 +02:00
Rémi Verschelde 3408aab7c6
Merge pull request #76027 from AThousandShips/focus_direction
Expose finding valid focus neighbors of a `Control` by side
2023-09-25 17:17:33 +02:00
kobewi df24882f9a Free submenu children when clearing PopupMenu 2023-09-25 16:45:41 +02:00
Dario 057367bf4f Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03:00
A Thousand Ships a5fe392b78 Disallow nested custom multiplayers in `SceneTree`
Enables clearing the custom multiplayer
2023-09-25 14:59:05 +02:00
Bastiaan Olij d7d334158a Implement OpenXR Foveated rendering support 2023-09-25 17:12:20 +10:00
A Thousand Ships e45927b2f2 Replace `radians` range hint with `radians_as_degrees` 2023-09-25 08:50:19 +02:00
Rémi Verschelde 64cde8ae8b
Merge pull request #82168 from Supreeeme/ext-fix
Expose `texture_create_from_extension` to GDExtension
2023-09-24 23:34:06 +02:00
Rémi Verschelde 317b925d97
Merge pull request #82050 from chokomancarr/patch-1
docs: Fix incorrect GL format code for 16 bit float formats
2023-09-24 23:33:18 +02:00
Rémi Verschelde 684effb6b4
Merge pull request #81425 from Rubonnek/expose-inspector-methods-master
Expose `EditorInspector::get_edited_object` to GDScript
2023-09-24 23:31:43 +02:00
Rémi Verschelde 42fb795eb8
Merge pull request #80227 from raulsntos/get_tab_bar
Expose the `TabBar` of a `TabContainer`
2023-09-24 23:30:56 +02:00
Rémi Verschelde 98747a9040
Merge pull request #78803 from EMBYRDEV/additional-mesh-import-options
Add layer, shadow and visibility range options to the Scene importer
2023-09-24 23:30:30 +02:00
Aaron Franke ff23d27427
Update Importing 3D scenes link to match splitting PR
See https://github.com/godotengine/godot-docs/pull/7830
2023-09-23 16:53:18 -05:00
Shawn Wallace b12ed82c04 Expose texture_create_from_extension to GDExtension 2023-09-23 16:57:12 -04:00
Wilson E. Alvarez c844988e40
Expose EditorInspector::get_edited_object to GDScript 2023-09-23 09:47:07 -04:00
Danil Alexeev 4ce27301d3
GDScript: Add `INFERRED_DECLARATION` warning 2023-09-22 23:13:52 +03:00
Rémi Verschelde bafcd32f15
Merge pull request #81716 from akien-mga/web-disable-raycast-embree
Web: Disable raycast module by default (no occlusion culling)
2023-09-22 22:03:55 +02:00
Raul Santos 408a08f2c1
Expose the `TabBar` of a `TabContainer`
Add `TabContainer::get_tab_bar` method to retrieve the `TabBar` of a `TabContainer`.
2023-09-22 20:08:28 +02:00
chokomancarr 4a2de1e17a
fix incorrect GL format code for 16 bit float formats
For FORMAT_XXXH half-precision format constants, the description uses GL_XXX32F, which is incorrect.
This fixes it to GL_XXX16F to align with the intended precision.
2023-09-21 21:49:01 +08:00
Rémi Verschelde 1094239f56
Merge pull request #81249 from beyarkay/patch-1
[docs] Update AABB `get_support` description
2023-09-21 14:24:59 +02:00
bruvzg 1887a9df19
[macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching.
Co-authored-by: Riteo <riteo@posteo.net>
2023-09-21 14:21:00 +03:00
Rémi Verschelde 0c71c7cc6f
Merge pull request #81967 from Jordyfel/physics-doc
Fix example in gravity project settings doc
2023-09-20 18:55:21 +02:00
beyarkay 73fb7f0fc0 [docs] update AABB `get_support` description
This is a simple documentation edit. It updates the description of the
get_support method in AABB to explain what a support point is.
2023-09-20 16:38:43 +02:00
Rémi Verschelde 52104ded69
Merge pull request #81298 from mihe/soft-body-rendering-handler
Fix bindings of `PhysicsServer3DRenderingServerHandler`
2023-09-20 15:18:24 +02:00
Mikael Hermansson ee9f41a12d Fix bindings of `PhysicsServer3DRenderingServerHandler` 2023-09-20 12:24:32 +02:00
Jordyfel 197d57af79 Fix gravity project settings doc. 2023-09-20 10:38:00 +03:00
bitsawer 16c3a19d91 Expose and document Image.get_mipmap_count() 2023-09-19 14:34:59 +03:00
Markus Sauermann fffbb42a24 Improve canvas layer index documentation
Document special case of identical canvas layer index.
2023-09-18 21:33:31 +02:00
Rémi Verschelde e3e2528ba7
Merge pull request #81834 from MewPurPur/canvas-texture-icon
Add CanvasTexture icon
2023-09-18 10:38:32 +02:00
MewPurPur c7094d5172 Add CanvasTexture icon 2023-09-18 11:05:03 +03:00
Arkadiusz Marcin Kołek 18811ac814 Allow to focus individual tabs in TabBar/TabContainer 2023-09-17 18:49:48 +02:00
Rémi Verschelde 7bb80b1525
Merge pull request #81741 from KoBeWi/vectoring_to_the_MAXXX
Add `Vector2/3/4i.MAX` and `MIN`
2023-09-17 14:47:52 +02:00
Rémi Verschelde 04d2aa61a3
Merge pull request #81641 from MewPurPur/bus-go-brrrr-2
Add a `bus_renamed` AudioServer signal
2023-09-17 14:47:29 +02:00
Rémi Verschelde f4d85d58f7
Merge pull request #80736 from Ughuuu/add-get-rid-to-joints
Expose the `get_rid` method of Joint2D and Joint3D
2023-09-17 14:47:04 +02:00
Rémi Verschelde 4a48fd4b9f
Merge pull request #63634 from Spartan322/itemlist-predraw-size
Expose and rename ItemList's `_check_shape_changed` to `force_update_list_size`
2023-09-17 14:45:19 +02:00
kobewi adc930baee Add Vector2/3/4i.MAX and MIN 2023-09-16 21:52:13 +02:00
Rémi Verschelde 33b95f06e2
Merge pull request #80972 from KoBeWi/settings_from_nowhere
Cleanup some `GLOBAL_DEF`s
2023-09-16 21:22:04 +02:00
Rémi Verschelde 4c01c62233
Merge pull request #79182 from MewPurPur/polyline-close
Add closed property to Line2D
2023-09-16 21:20:47 +02:00
Rémi Verschelde 8c40edf8c0
Web: Disable raycast module by default (no occlusion culling)
This means no CPU occlusion culling (and not compiling Embree), unless
you compile custom export templates with `module_raycast_enabled=yes`.

This reduces the memory footprint significantly, and binary size.

Fixes #70621.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-09-16 21:00:04 +02:00
398utubzyt 2df37a237a C#: Abstract script class support 2023-09-15 20:35:25 -07:00
kobewi cd0aaab48c Cleanup some GLOBAL_DEFs 2023-09-15 21:32:23 +02:00
Yuri Sizov 51a196ef5b Merge pull request #81672 from KoBeWi/PNG_is_love_PNG_is_life
Add note about format to splash image description
2023-09-15 19:48:41 +02:00
Yuri Sizov b797fa18c8 Merge pull request #81621 from PrecisionRender/fix-popup-menu-accelerators
Expose `PopupMenu` `activate_item_by_event` method
2023-09-15 19:48:27 +02:00
Yuri Sizov df6cd37a69 Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
vPumpking bd575c5fe5 Add 'get_tree_string()' and 'get_tree_string_pretty()' to Node class to complement printing methods 2023-09-15 19:18:53 +02:00
George L. Albany 421e8c5455
Expose force_update_list_size
Rename ItemList::_check_shape_changed to force_update_list_size

`force_update_list_size` is especially useful for updating the auto_height_value early
2023-09-15 13:18:02 -04:00
PrecisionRender 76fad10978 Expose `PopupMenu` `activate_item_by_event` method 2023-09-15 10:27:49 -05:00
Yuri Sizov 8ecc0c4f47 Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
MewPurPur f29b6e73c2 Add a bus_renamed AudioServer signal 2023-09-15 13:02:03 +03:00
kobewi f1ecb97161 Add note about format to splash image description 2023-09-15 02:07:09 +02:00
Yuri Sizov b467afe65d Merge pull request #81634 from lyuma/generate_lod_deprecate
Add missing is_deprecated flag on the SurfaceTool.generate_lod function.
2023-09-14 15:22:03 +02:00
Yuri Sizov 495b89ece9 Merge pull request #81561 from BastiaanOlij/fix_openxr_blend_modes
Fix issue with OpenXR environment blend mode not being applied properly
2023-09-14 15:21:49 +02:00
Yuri Sizov 223fc3cdd3 Merge pull request #81440 from ryanabx/features/warn-strict-supertype-only
Remove `REDUNDANT_FOR_VARIABLE_TYPE` warning
2023-09-14 15:21:33 +02:00