Commit graph

8946 commits

Author SHA1 Message Date
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
Rémi Verschelde
b2b7ea21ff
Merge pull request #89318 from Calinou/doc-test-move-keywords
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
2024-03-09 22:20:02 +01:00
Rémi Verschelde
ecc4649ea8
Merge pull request #89280 from AThousandShips/arr_order_doc
[Doc] Clarify `bsearch(_custom)` behavior
2024-03-09 22:19:42 +01:00
Hugo Locurcio
f8dd9844e5
Add keywords to PhysicsBody{2D,3D}.test_move() for easier discoverability
`sweep` is the term used in Unity for collision checks without
moving anything.
2024-03-09 17:33:04 +01:00
A Thousand Ships
06df4abcd3
[Doc] Clarify bsearch(_custom) behavior
* Added an example for the effect of `before`
* Clarified the arguments to the custom callable can be either order
2024-03-09 13:09:29 +01:00
Rémi Verschelde
d6a9a70101
Merge pull request #89282 from Rindbee/reduce-indent-in-XRInterface-example-code
Reduce indentation in `XRInterface` class document example code
2024-03-09 00:52:23 +01:00
Rémi Verschelde
8af66a72b5
Merge pull request #56420 from nathanfranke/project-creation
Automatically create folder in project manager create and import
2024-03-09 00:51:51 +01:00
Nathan Franke
2130f1121a
Automatically create folder in project manager create/import/install 2024-03-08 12:27:50 -06:00
风青山
2a7257aedf
Reduce indentation in XRInterface class document example code 2024-03-08 20:37:37 +08:00
Rémi Verschelde
6f51f73339
Merge pull request #88221 from Scony/extend-parse_source_geometry_data
Extend `NavigationMeshSourceGeometryData[23]D` to allow data merging
2024-03-08 13:09:17 +01:00
Rémi Verschelde
476be3ab64
Merge pull request #88111 from Ryan-000/master
Expose scene unique id functionality in Resource
2024-03-08 13:09:13 +01:00
Pawel Lampe
ab242769b7 Extend NavigationMeshSourceGeometryData[23]D to allow data merging 2024-03-07 19:57:43 +01:00
Ryan
42ce14043e
Expose scene unique id functionality in Resource 2024-03-07 14:53:58 +01:00
A Thousand Ships
2f1f8ee39b
[Docs][C#] Use PropertyName constants in more places 2024-03-07 13:03:03 +01:00
Rémi Verschelde
bfdac951e3
Merge pull request #89224 from bruvzg/nmenu_warn
[NativeMenu] Add checks to avoid unnecessary warnings.
2024-03-07 00:24:06 +01:00
Rémi Verschelde
6c9a166308
Merge pull request #89219 from devloglogan/xr-profile-changed
Expose `profile_changed` signal to XRController3D
2024-03-07 00:24:03 +01:00
Rémi Verschelde
fcb0adf132
Merge pull request #89130 from Malcolmnixon/xr-hand-scaling
Fix XRHandModifier3D scaling
2024-03-07 00:23:56 +01:00
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
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
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