Commit graph

9000 commits

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