Commit Graph

9802 Commits

Author SHA1 Message Date
bruvzg da02ca7e75
[NativeMenu] Add checks to avoid unnecessary warnings.
Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless,
fixing crashes when using `--headless`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-03-07 00:23:26 +01:00
Logan Lang 1383401c71 Expose profile_changed signal to XRController3D 2024-03-06 16:48:25 -06:00
kobewi eb0a624902 Allow returning Dictionary after merging 2024-03-06 14:49:35 +01:00
Rémi Verschelde 362a088088
Merge pull request #89170 from jsjtxietian/expose-request-update
Expose PrimitiveMesh's `request_update` method
2024-03-06 13:17:05 +01:00
Rémi Verschelde 13954fc33e
Merge pull request #87452 from bruvzg/native_menu
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-06 13:16:52 +01:00
jsjtxietian 1716f12451 Expose PrimitiveMesh's `request_update`` method 2024-03-06 19:18:01 +08:00
Rémi Verschelde ee3c01068c
Merge pull request #89103 from Malcolmnixon/xr-body-hips-height
Fix XR Body crouching and climbing
2024-03-06 09:50:18 +01:00
Rémi Verschelde 0acc4276b6
Merge pull request #82952 from AbelToy/gds-export-array
Allow `@export`ed Arrays to set property hints for their elements
2024-03-06 09:49:53 +01:00
Abel Toy 882441a0ad
Support Array and PackedArray in @export_* 2024-03-06 16:17:54 +09:00
Malcolm Nixon 2fdabd97f9 Modify the XRHandModifier3D to scale appropriately with Skeleton3D.motion_scale and XRServer.world_scale 2024-03-05 19:26:15 -05:00
Malcolm Nixon d2db147805 Allow the hips joint to be positioned even if the bone update mode is set to "Rotation Only". Apply appropriate world and skeleton scaling. 2024-03-05 19:25:02 -05:00
Rémi Verschelde 43dce97a64
Merge pull request #88758 from AThousandShips/file_doc
Clarify behavior of opening a new file in `FileAccess`
2024-03-05 23:44:36 +01:00
Rémi Verschelde c84d3385f7
Merge pull request #88300 from FaycalElOuariachi/add-TreeItem-is_visible_in_tree
Add `is_visible_in_tree` in `TreeItem`
2024-03-05 23:44:29 +01:00
Rémi Verschelde 4bb219321e
Merge pull request #88081 from Calinou/editor-add-bottom-panel-shortcuts
Add editor shortcuts to toggle bottom panel visibility
2024-03-05 23:44:21 +01:00
A Thousand Ships a775d8bf5a
Clarify behavior of opening a new file in `FileAccess`
The containing directory must exist for this to succeed.
2024-03-05 19:34:19 +01:00
Hugo Locurcio 8221e7546b
Add editor shortcuts to toggle bottom panel visibility
Default shortcuts use the first or second letter of each word.

This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde e63de52bdb
Check if DisplayServer supports icons before attempting setting it 2024-03-05 14:39:11 +01:00
Rémi Verschelde 7d80635fce
Merge pull request #89172 from bruvzg/force_native_windows
[Window] Allow to override viewport and project settings and force use of native window.
2024-03-05 09:56:26 +01:00
Rémi Verschelde 2862cb19a8
Merge pull request #88957 from 398utubzyt/windows/native-dialogs
Windows: Implement `dialog_show` and `dialog_input_text` for `DisplayServer`
2024-03-05 09:56:00 +01:00
Rémi Verschelde 2d408f48e7
Merge pull request #88546 from bruvzg/indent_wrap
[TextEdit] Add support for optional wrapped line indentation.
2024-03-05 09:55:51 +01:00
RedMser 2bd714e34e
Allow configuring the script filename casing rule
Defaults to "Auto", which detects the casing based on the
preference of the currently selected language (C# for example
prefers PascalCase whereas GDScript prefers snake_case).
2024-03-05 09:43:29 +01:00
Faycal ElOuariachi 50cf7e1778 Add is_visible_in_tree in TreeItem 2024-03-05 03:38:33 +01:00
bruvzg c65a667924
Move `global_menu_*` methods to a separate `NativeMenu` class. 2024-03-04 23:41:41 +02:00
bruvzg cfdb968848
[Window] Allow to override viewport and project settings and force use of native window. 2024-03-04 23:06:27 +02:00
398utubzyt 99500611b2 Windows: Implement `DisplayServer::dialog_show` and `DisplayServer::dialog_input_text` 2024-03-04 12:53:22 -08:00
Rémi Verschelde e7039cd6d0
Merge pull request #89150 from RedMser/file_dialog_show_docs
Update file dialog filter documentation
2024-03-04 20:44:07 +01:00
Rémi Verschelde 89611f4ddb
Merge pull request #89147 from Mickeon/doc-peeves-trans-rights-2
Address a few issues in Transform3D documentation
2024-03-04 20:44:04 +01:00
Rémi Verschelde 4ac4132b5b
Merge pull request #89146 from BlueberryGecko/master
Class reference: Improve TileMap `get_cell_atlas_coords` documentation
2024-03-04 20:44:01 +01:00
Rémi Verschelde b6382a573f
Merge pull request #89141 from timothyqiu/xml-node-name
Fix documentation of `XMLParser::get_node_name()`
2024-03-04 20:43:52 +01:00
RedMser 6415ac27ec Update FileDialog filters documentation 2024-03-04 20:12:22 +01:00
Micky abf4894677 Address a few issues in Transform3D documentation 2024-03-04 17:55:14 +01:00
Rémi Verschelde 01dc5c5b58
i18n: Sync translations with Weblate
Adds 'extractable' strings after #86222.
2024-03-04 16:16:19 +01:00
BlueberryGecko 2e5599892f Class reference: Improve TileMap get_cell_atlas_coords documentation 2024-03-04 15:11:44 +01:00
Haoyu Qiu c771d2fc0b Fix documentation of XMLParser::get_node_name() 2024-03-04 20:58:24 +08:00
Rémi Verschelde 13ba673c42
Merge pull request #89135 from timothyqiu/l10n-desc
Fix documentation of localization related editor settings
2024-03-04 13:34:39 +01:00
Rémi Verschelde 48aa12011b
Merge pull request #89104 from luevano/fix-rand-weighted
Fix `RandomNumberGenerator::rand_weighted` return type
2024-03-04 13:34:18 +01:00
Rémi Verschelde de59a9547c
Merge pull request #89100 from YeldhamDev/tag,_it_is_you!
Fix issues with text clearing in `RichTextLabel`
2024-03-04 13:34:13 +01:00
Rémi Verschelde c5577b7d6d
Merge pull request #89059 from Calinou/doc-glow-compatibility
Document environment glow restrictions in the Compatibility rendering method
2024-03-04 13:33:54 +01:00
Rémi Verschelde 8e6661cb48
Merge pull request #89056 from YeldhamDev/rotulo_tres_de
Make `Label3D` obey auto translation
2024-03-04 13:33:49 +01:00
Rémi Verschelde 1a9c0ee5fe
Merge pull request #87391 from markdibarry/new_node_parallax_2d
Add new Parallax2D node
2024-03-04 13:33:09 +01:00
Haoyu Qiu e5464648b7 Fix documentation of localization related editor settings 2024-03-04 19:12:11 +08:00
markdibarry a62870956a Add new Parallax2D node 2024-03-03 15:46:40 -05:00
David Luevano Alvarado 981883d041 Fix `RandomNumberGenerator::rand_weighted` return type 2024-03-02 20:56:01 -06:00
Michael Alexsander d6917d2206
Fix issues with text clearing in `RichTextLabel` 2024-03-02 21:38:32 -03:00
Micky 64ba22a9a7 Overhaul Transform3D documentation 2024-03-02 17:53:12 +01:00
Hugo Locurcio d0b54b1318 Document environment glow restrictions in the Compatibility rendering method 2024-03-01 20:02:15 +01:00
Michael Alexsander 55b22c2bf6
Make `Label3D` obey auto translation 2024-03-01 14:19:17 -03:00
Rémi Verschelde 34effe41dc
Merge pull request #89036 from Mickeon/documentation-uncommon-words-2
Overhaul some "uncommon" wording in class reference
2024-03-01 17:22:18 +01:00
Micky c54e09a5a3 Overhaul some "uncommon" wording in class reference 2024-03-01 15:32:38 +01:00
Rémi Verschelde 8e951fd0a9
Merge pull request #89024 from bruvzg/rtl_hover_meta
[RTL] Add optional `push_meta` argument to control how meta underline is drawn.
2024-03-01 15:00:41 +01:00
Rémi Verschelde bd7637248c
Merge pull request #88883 from joaoh82/add-weighted-random-method
Add `RandomNumberGenerator::rand_weighted` method
2024-03-01 15:00:32 +01:00
Rémi Verschelde d8cfc5e1c8
Merge pull request #88841 from MajorMcDoom/doc-fix
Add necessary elaboration to documentation for `Node3D::get_parent_node_3d`
2024-03-01 15:00:27 +01:00
bruvzg 2a3de7adc3
[RTL] Add optional `push_meta` argument to control how meta underline is drawn. 2024-03-01 12:07:06 +02:00
Markus Sauermann 8121446385 Document that `parse_input_event` doesn't influence the OS 2024-02-29 18:59:04 +01:00
Zi Ye 4c8015bec3 Add necessary elaboration to documentation for Node3D::get_parent_node_3d 2024-02-29 08:40:32 -06:00
Rémi Verschelde 6d9a529c87
Merge pull request #88970 from KoBeWi/ImageCursor2D
Improve `cursor_set_custom_image()` method
2024-02-29 13:54:53 +01:00
Rémi Verschelde 9cf48f5365
Merge pull request #88963 from adamscott/hide-to-advanced-snap-2d-vertices
Move `rendering/2d/snap/snap_2d_vertices_to_pixel` setting to advanced view
2024-02-29 13:54:46 +01:00
Rémi Verschelde dc87f05f44
Merge pull request #88961 from AThousandShips/deferred_doc
[Doc] Clarify some details about deferred calls
2024-02-29 13:54:42 +01:00
Rémi Verschelde cc21871c9a
Merge pull request #88956 from akien-mga/doc-rtl-zero-idx
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
2024-02-29 13:54:31 +01:00
Rémi Verschelde 9278856ff7
Merge pull request #88948 from dalexeev/core-add-callable-create
Core: Add `Callable.create` static method for `Variant` callables
2024-02-29 13:54:22 +01:00
Rémi Verschelde c9b531c613
Merge pull request #88920 from AThousandShips/group_doc_fix
[Doc] Fix some incorrect uses of "children"
2024-02-29 13:54:18 +01:00
Rémi Verschelde 172b254687
Merge pull request #88664 from RandomShaper/res_load_modes
Enhance cache modes in resource loading
2024-02-29 13:54:07 +01:00
Rémi Verschelde da916221a7
Merge pull request #88577 from davthedev/itemlist-light-refactor
Fix item positioning, text alignment & unwanted clipping of ItemList items
2024-02-29 13:54:03 +01:00
Rémi Verschelde 5c38b9bcf4
Merge pull request #88255 from Calinou/doc-richtextlabel-meta-clicked
Document using RichTextLabel's `meta_clicked` to handle clickable URLs
2024-02-29 13:53:54 +01:00
Rémi Verschelde 1cc9190c70
Merge pull request #81822 from nlupugla/nodepath-slice
Add `NodePath::slice` method
2024-02-29 13:53:34 +01:00
João Henrique Machado Silva 88df5ea8ac Add RandomNumberGenerator::rand_weighted method 2024-02-29 13:29:53 +01:00
A Thousand Ships 9b5cd8e240
[Doc] Fix some incorrect uses of "children" 2024-02-29 11:52:55 +01:00
Danil Alexeev d90c9db27f
Core: Add `Callable.create` static method for `Variant` callables 2024-02-29 10:45:00 +03:00
kobewi 3aeb4a5542 Improve cursor_set_custom_image() method 2024-02-28 20:32:25 +01:00
Hugo Locurcio 3fe01226b7 Use black for font outlines by default instead of white
This makes font outlines more usable out of the box, as black
is one of the most commonly used colors for font outlines.
2024-02-28 20:25:15 +01:00
A Thousand Ships 1cc5b0aa0d
[Doc] Clarify some details about deferred calls 2024-02-28 17:04:47 +01:00
Adam Scott dcf4cf79fd
Hide snap_2d_vertices_to_pixel setting to advanced 2024-02-28 10:59:41 -05:00
Rémi Verschelde 4a1397b58c
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
Closes #82885.
2024-02-28 13:46:23 +01:00
Rémi Verschelde df78c0636d
Merge pull request #88798 from Malcolmnixon/xr-body-tracker
XR: Add body tracking support.
2024-02-28 09:34:40 +01:00
Malcolm Nixon 57aa734562 Add body tracking support. 2024-02-27 19:51:59 -05:00
Rémi Verschelde f80cdeb597
Merge pull request #87504 from smix8/nav_mesh_auto_rebake
Auto-bake edited NavigationPolygons in the Editor on a timer
2024-02-27 21:22:56 +01:00
smix8 10e8f3698b Auto-bake edited NavigationPolygons in the Editor on a timer
Auto-bakes edited NavigationPolygons in the Editor on a timer.
2024-02-27 20:51:38 +01:00
Hugo Locurcio 67e9ccdbc4
Display the build date in the editor and when starting the engine
This can be used to quickly see how recent a development build is,
without having to look up the commit date manually.
When juggling around with various builds (e.g. for benchmarking),
this can also be used to ensure that you're actually running the
binary you intended to run.

The date stored is the date of the Git commit that is built, not
the current date at the time of building the binary. This ensures
binaries can remain reproducible.

The version timestamp can be accessed using the `timestamp` key
of the `Engine.get_version_info()` return value.
2024-02-27 20:39:17 +01:00
Hugo Locurcio ea03154a27
Document using RichTextLabel's `meta_clicked` to handle clickable URLs 2024-02-27 20:22:32 +01:00
David Giardi f63728cb9f Fix item positioning & pointer detection areas of ItemList 2024-02-27 20:03:10 +01:00
A Thousand Ships fe203d7003
Prevent threading problems in `TileMap` 2024-02-27 15:38:25 +01:00
Rémi Verschelde 0df286fde0
Merge pull request #88875 from aaronfranke/doc-textedit-gutter-type
Explain gutter types in the TextEdit documentation
2024-02-27 10:18:39 +01:00
Rémi Verschelde 4a4937318b
Merge pull request #88825 from adamscott/add-create-folder-icon
Add create folder icon
2024-02-27 10:18:13 +01:00
Rémi Verschelde 3780604d79
Merge pull request #88819 from lyuma/import_nodes_as_skeleton_bones
Add new scene import option to import as Skeleton
2024-02-27 10:18:00 +01:00
Rémi Verschelde 915f176903
Merge pull request #87973 from flooxo/master
Remove duplicate `ARRAY_CUSTOM_RGBA8_UNORM` ref in Mesh docs
2024-02-27 10:17:15 +01:00
Rémi Verschelde 7c0461af48
Merge pull request #82968 from Calinou/doc-physics-bounce-damping
Document Bounce = 1.0 not being sufficient for infinite energy conservation
2024-02-27 10:17:11 +01:00
Rémi Verschelde e1be09145c
Merge pull request #80372 from Mickeon/doc-peeves-engineering
Overhaul Engine singleton documentation
2024-02-27 10:17:07 +01:00
Micky c11b52b1e5 Overhaul Engine documentation 2024-02-26 20:59:47 +01:00
Hugo Locurcio 7ff1704b1b
Document Bounce = 1.0 not being sufficient for infinite energy conservation 2024-02-26 19:30:43 +01:00
Aaron Franke 8a3e1dfa02
Explain gutter types in the TextEdit documentation 2024-02-26 11:03:29 -06:00
Micky 03400d0326 Tweak SceneTree Documentation 2024-02-26 16:27:58 +01:00
Adam Scott fd3666298c
Add create folder icon 2024-02-26 09:04:24 -05:00
Pedro J. Estébanez 5e144022e7 Enhance cache modes in resource loading
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669, #82830).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
2024-02-26 14:59:04 +01:00
Lyuma 652ef966f9 Add new scene import option to import as Skeleton
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08:00
Rémi Verschelde 08a3493f07
Merge pull request #88811 from Sauermann/fix-focus-change-doc
Mention how Control focus loss affects `Viewport.gui_focus_change`
2024-02-26 10:49:19 +01:00
Rémi Verschelde 785c69d5e2
Merge pull request #88791 from MajorMcDoom/add-bone-index
Make `Skeleton3D::add_bone` return the new bone index
2024-02-26 10:49:15 +01:00
Rémi Verschelde 9509a9e8dd
Merge pull request #83691 from theraot/slidedocs
Expanded documentation for vector slide and project
2024-02-26 10:48:37 +01:00
bruvzg dad4aae386
[TextEdit] Add support for optional wrapped line indentation. 2024-02-26 08:20:14 +02:00
Markus Sauermann 80d8907f01 Mention how Control focus loss affects `Viewport.gui_focus_change` 2024-02-25 13:17:54 +01:00
Zi Ye 995bc8d049 Make Skeleton3D::add_bone return the new bone index right away, instead of requiring an additional call to get_bone_count. 2024-02-25 05:24:48 -06:00