Commit graph

10102 commits

Author SHA1 Message Date
Rémi Verschelde
a27d9639f2
Merge pull request #79075 from dalexeev/doc-typed-arrays
Update typed arrays documentation
2024-04-08 11:17:38 +02:00
Rémi Verschelde
ea961d3981
Merge pull request #78257 from Calinou/doc-packed-arrays-vs-typed-arrays
Document the upsides and downsides of packed arrays versus typed arrays
2024-04-08 11:17:31 +02:00
Micky
50f69656a7
Add missing documentation to Viewport 2024-04-08 11:12:10 +02:00
Gamepro5
4e1305ee77
Specify that get_floor_normal() does not return the surface normal
Also see godotengine/godot-proposals#8324
2024-04-08 11:09:18 +02:00
skyace65
c83718624f Update links to outdated asset library demos
Update links to outdated asset library demos

Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
2024-04-07 16:59:43 +02:00
A Thousand Ships
f2d4ff5c1f
Add instructions to get shape of RayCast2D/3D
Adds details on how to get the intersected shape
2024-04-07 11:42:30 +02:00
A Thousand Ships
47a8033698
[Doc] Clarify the behavior of Vector2/3.cross and mention parallel vectors 2024-04-06 19:10:41 +02:00
Emmanuel Ferdman
ea5ecc6b8e
fix: update the location of editor theme 2024-04-06 18:03:13 +03:00
Rémi Verschelde
c1b2cfdced
Merge pull request #90271 from DarioSamo/pipeline_cache_setting
Add toggle for enabling or disabling RenderingDevice's pipeline cache.
2024-04-06 13:06:47 +02:00
Manpreet Singh
329d04d331 Windows: Add alt+space menu and fix window modes 2024-04-06 16:26:19 +05:30
Jordyfel
491d3a2740 Clarify UndoRedo MergeMode and add_*_reference docs 2024-04-05 20:05:56 +03:00
Dario
ecaafa6001 Add toggle for enabling or disabling RenderingDevice's pipeline cache. 2024-04-05 13:14:07 -03:00
Rémi Verschelde
ca2d28602b
Merge pull request #90196 from bruvzg/ts_tcase
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-05 12:16:18 +02:00
Rémi Verschelde
b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +02:00
Silc Lizard (Tokage) Renew
04dd299cba Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB 2024-04-05 01:28:26 +09:00
Rémi Verschelde
0c71ba7801
Merge pull request #89880 from dsnopek/openxr-composition-layers-node3d-drs
Add support for OpenXR composition layers
2024-04-04 17:09:07 +02:00
Rémi Verschelde
abd64bdb50
Merge pull request #89862 from brandtware/AStar2dDocFix
Fix wrong return type mention in `AStarGrid2D` docs
2024-04-04 17:09:04 +02:00
David Snopek
0f2b804059 Add support for OpenXR composition layers
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-04-04 09:20:23 -05:00
Hendrik Brucker
a81561cbd9 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +02:00
Brandtware
f8c0208e96
Fix wrong return type mention in AStarGrid2D docs 2024-04-04 14:55:59 +02:00
Rémi Verschelde
72e9e57baa
Merge pull request #90088 from Jordyfel/statically-typed-not-static
Fix small error in Variant doc
2024-04-04 14:37:11 +02:00
Rémi Verschelde
0df9c16d81
Merge pull request #89993 from Sauermann/fix-textedit-clip-contents
Make `TextEdit.clip_contents` more transparent to users
2024-04-04 14:35:54 +02:00
Rémi Verschelde
27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +02:00
Rémi Verschelde
2ac88339e4
Merge pull request #89721 from KoBeWi/position_who
Rename some arguments called "position"
2024-04-04 14:31:35 +02:00
Rémi Verschelde
fb32399183
Merge pull request #89699 from Enhex/Enhex-fix-light-probe-doc
Fix documentation for receiving light from light probes
2024-04-04 14:31:31 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
Expose TileMapLayer
2024-04-04 14:31:16 +02:00
Rémi Verschelde
a1ab287010
Merge pull request #88047 from theashtronaut/add_partial_return_astar
Add a partial path return option for astar
2024-04-04 14:30:49 +02:00
Rémi Verschelde
734a2543ae
Merge pull request #87889 from smix8/heightmap_image
Add HeightMapShape3D update with Image data
2024-04-04 14:30:45 +02:00
Rémi Verschelde
406d9426cb
Merge pull request #86121 from lawnjelly/occlusion_cull_jitter
Jitter raster occlusion camera to reduce false positives.
2024-04-04 14:30:42 +02:00
bruvzg
27f6f4147b
[TextServer] Expose ICU title case string conversion to scripting. 2024-04-04 10:56:49 +03:00
ashley
aa1bbe1542 add partial path return option for astar
* AStar2D, AStar3D and AStarGrid2D now can return a partial path if the destination point isn't reachable but still in the map. This option is available for both get_point_path and get_id_path
2024-04-03 22:27:33 -07:00
Rémi Verschelde
f47f4a02c8
Merge pull request #89992 from ajreckof/fix-my-mistake-with-replace-in-update-scene
Fix node duplication in update after external changes.
2024-04-04 02:53:57 +02:00
smix8
924a5c6573 Add HeightMapShape3D update with Image data
Adds HeightMapShape3D update with Image data.
2024-04-04 02:10:00 +02:00
lawnjelly
691854d589 Jitter raster occlusion camera to reduce false positives.
Due to the low resolution of the occlusion buffer, small gaps between occluders can be closed and incorrectly occlude instances which should show through the gaps. To ameliorate this problem, this PR jitters the occlusion buffer over time, making it more likely an instance will be seen through a gap. This is used in conjunction with an occlusion timer per instance, to prevent instances flickering on and off rapidly.
2024-04-03 12:18:45 +01:00
ajreckof
ae472865d0 fix node duplication in update after external changes. 2024-04-03 12:19:38 +02:00
Gilles Roudière
3cd4b2859c Expose TileMapLayer 2024-04-03 11:02:34 +02:00
Jordyfel
e41209caf2 Fix small error in Variant doc 2024-04-03 00:32:35 +03:00
Adriaan de Jongh
7d8cd49737 improve description of y_sort_enabled 2024-04-02 09:43:18 +02:00
A Thousand Ships
334449df70
[Animation] Expose SkeletonProfile.set/is_required 2024-03-30 20:57:55 +01:00
A Thousand Ships
2508c2e309
[Doc] Document loading behavior with relative paths 2024-03-30 13:33:49 +01:00
Markus Sauermann
94e1943f02 Make TextEdit.clip_contents more transparent to users
Instead of ignoring `TextEdit.clip_contents`, use it with a default
value `true`. in the same way as `RichTextLabel`.
2024-03-28 21:07:27 +01:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor. 2024-03-28 11:53:03 +02:00
Rémi Verschelde
4e4bc3b39a
Merge pull request #89911 from AThousandShips/peering_bit
[TileSet] Expose `TileData.is_valid_terrain_peering_bit`
2024-03-28 10:47:18 +01:00
Rémi Verschelde
7092230df6
Merge pull request #89907 from bruvzg/nat_dlg_ftr_flags
[DisplayServer] Add separate feature flags for different native dialog types.
2024-03-28 10:47:15 +01:00
Rémi Verschelde
df6f4ce5e9
Merge pull request #89851 from rburing/bind_6dof_enums
Bind constants related to 6DOF joints
2024-03-28 10:47:11 +01:00
bruvzg
082b420c0a
Implement OS.execute_with_pipe method to run process with redirected stdio.
Implement `pipe://*` path handling for creation of named pipes.
2024-03-27 11:41:16 +02:00
kobewi
25f9f923a1 Rename some arguments called "position" 2024-03-27 01:28:24 +01:00
A Thousand Ships
d4fcca4545
[TileSet] Expose TileData.is_valid_terrain_peering_bit 2024-03-26 16:07:50 +01:00
bruvzg
dc01658ee9
[DisplayServer] Add separate feature flags for different native dialog types. 2024-03-26 15:18:06 +02:00
Rémi Verschelde
cff7de077b
Merge pull request #89838 from Chronos-W/update-shortcut-input-method-doc
Add reference to InputEventJoypadButton in `_shortcut_input` doc
2024-03-26 13:45:35 +01:00
Rémi Verschelde
a0d464ae19
Merge pull request #89820 from rburing/concave_collision_polygon_2d
Fix concave `CollisionPolygon2D` debug drawing and docs
2024-03-26 13:45:31 +01:00
Chronos-W
9a439b246a Add reference to InputEventJoypadButton in _shortcut_input doc 2024-03-25 19:38:33 -06:00
Rémi Verschelde
80a5da5242
Merge pull request #89088 from lander-vr/limiter
Add AudioEffectHardLimiter as a rework of audio limiter effect
2024-03-25 15:25:39 +01:00
landervr
61a5d52388 Add AudioEffectHardLimiter as a rework of audio limiter effect 2024-03-25 13:37:03 +01:00
Rémi Verschelde
f371b7fb70 Merge pull request #87883 from TontonSancho/text-skip-occurence
Add 'Skip to next (text) occurrence' feature to text editor
2024-03-25 13:15:56 +01:00
Rémi Verschelde
0acfb38376
Merge pull request #89875 from bruvzg/menu_use_rids
[MenuBar] Use NativeMenu RIDs instead of indices to track items.
2024-03-25 11:19:01 +01:00
Rémi Verschelde
17c66c0bea
Merge pull request #89805 from AThousandShips/viewport_report
Add missing `RenderInfoType` enum to `Viewport`
2024-03-25 11:18:43 +01:00
Christophe Andral
c988bec4b3 Add 'Skip to next (text) occurrence' feature to text editor
Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor.
This action is bound `Ctrl+Alt+D` shorcut.

Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection
and avoid some of them.
Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
2024-03-25 11:12:28 +01:00
Rémi Verschelde
0e36df69f9
Merge pull request #89815 from KoBeWi/translates_bananas
Improve some notification and translation docs
2024-03-25 10:42:37 +01:00
bruvzg
5851f1e2dd
[MenuBar] Use NativeMenu RIDs instead of indices to track items. 2024-03-25 10:58:05 +02:00
Ricardo Buring
38a31f4cb5 Bind constants related to 6DOF joints
This makes physics server GDExtensions able to use the enums without
workarounds.
2024-03-24 15:16:33 +01:00
kobewi
83789426cc Improve some notification and translation docs 2024-03-24 15:14:02 +01:00
Rémi Verschelde
6cb319a962
Merge pull request #89710 from AThousandShips/dotnet_names
[Doc] Fix casing of some C# names
2024-03-24 01:22:24 +01:00
Rémi Verschelde
c3370023b6
Merge pull request #89692 from Scony/baking-crash-prevention
Add navigation baking crash prevention mechanism
2024-03-24 01:21:56 +01:00
Rémi Verschelde
8e6d011013
Merge pull request #89629 from lyuma/import_rest_as_reset
Add option to import skeleton rest as RESET animation
2024-03-24 01:19:49 +01:00
Rémi Verschelde
55d051ee0d
Merge pull request #89590 from markdibarry/parallax2D_so_close_yet
[Doc] Fix Parallax2D use of closer/further
2024-03-24 01:18:36 +01:00
Rémi Verschelde
5940fd5d07
Merge pull request #89526 from Calinou/inputevent-add-emulation-internal-constants
Expose `DEVICE_ID_EMULATION` constant in InputEvent
2024-03-24 01:16:34 +01:00
Rémi Verschelde
e92806c7e7
Merge pull request #88424 from rburing/fti_2d
Physics interpolation (2D)
2024-03-24 01:13:53 +01:00
Rémi Verschelde
f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Rémi Verschelde
f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Pawel Lampe
64fc9e2156 Add navigation baking crash prevention mechanism 2024-03-23 22:20:00 +01:00
Ricardo Buring
b6f07a007a Fix concave CollisionPolygon2D debug drawing and docs 2024-03-23 18:51:39 +01:00
A Thousand Ships
8a88e5ea07
Add missing RenderInfoType enum to Viewport 2024-03-23 14:03:08 +01:00
Ricardo Buring
2ed2ccc2d8 Fixed Timestep Interpolation (2D)
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +01:00
Silc Lizard (Tokage) Renew
6dd410854c Rework AnimationNode process for retrieving the semantic time info 2024-03-20 22:52:26 +09:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
A Thousand Ships
366cc648bf
[Doc] Fix casing of some C# names 2024-03-20 13:39:00 +01:00
bruvzg
0587a1d217
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly. 2024-03-20 11:56:07 +02:00
VolTer
de8b6f7a3c Add editor settings for autocompletion with NodePath and StringName 2024-03-19 17:23:54 +02:00
Lyuma
34f284bcc2 Add option to import skeleton rest as RESET animation
Also creates an AnimationPlayer if one does not exist.
Designed to be used in conjunction with loading rest pose in another importer.
2024-03-19 02:27:34 -07:00
Enhex
14ba478023
Fix documentation for receiving light from light probes 2024-03-18 01:52:20 +02:00
A Thousand Ships
8a78e7e174
[Doc] Clarify behavior of String.format with keys in replacements 2024-03-17 15:02:12 +01:00
markdibarry
22c26100df [Doc] Fix Parallax2D use of closer/further 2024-03-16 19:37:33 -04:00
Hugo Locurcio
6818e50adc Expose DEVICE_ID_EMULATION constant in InputEvent
This also improves the documentation related to emulated InputEvents.
2024-03-16 19:16:40 +01:00
Ricardo Buring
e5632b0243 Fix force integration documentation 2024-03-16 00:32:21 +01:00
bruvzg
ebb19c4198 [NativeMenu] Fix changes lost due to incorrect rebase (menu goes under task bar, dark mode, item text get, docs) and check to ensure help menu is not using native menu on Windows. 2024-03-15 22:46:47 +02:00
Rémi Verschelde
856efe4e19
Merge pull request #89509 from timothyqiu/touch-event-position
Fix description of touch input position
2024-03-15 10:40:23 +01:00
Haoyu Qiu
0ff396c981 Fix description of touch input position 2024-03-15 16:51:51 +08:00
smix8
5d5e85fe07 Add NavigationObstacle options to affect and carve navigation mesh
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +01:00
Rémi Verschelde
79d2ac37bf
Merge pull request #89454 from iltenahmet/master
[Doc] Clarify description for `get_unix_time_from_system` on UTC
2024-03-14 22:35:00 +01:00
Rémi Verschelde
4ca6cd054f
Merge pull request #89273 from bruvzg/win_native_menu
[NativeMenu] Implement native popup menu support on Windows.
2024-03-14 22:34:42 +01:00
Rémi Verschelde
f7ebb00ea0
Merge pull request #89050 from AThousandShips/the_angry_count_extended
Add extension support for argument count to `ScriptInstance`
2024-03-14 22:34:29 +01:00
Rémi Verschelde
cfe7bd09af
Merge pull request #87414 from rburing/doc_warning_check_ray_collides
RayCast2D and RayCast3D: warn to check `is_colliding` before `get_collision_point` and `get_collision_normal`
2024-03-14 22:34:25 +01:00
Ricardo Buring
8effd6b513 RayCast2D and RayCast3D documentation: warn to check is_colliding 2024-03-14 11:34:44 +01:00
iltenahmet
8bfc257e63 Update docs clarifying description for get_unix_time_from_system on UTC
fix url tag in doc/classes/Time.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

fix url tag in doc/classes/Time.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

update get_unix_time_from_system description

Update doc/classes/Time.xml

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-03-13 19:28:51 -04:00
A Thousand Ships
0c19d0f5a0
Add extension support for argument count to ScriptInstance 2024-03-13 22:40:09 +01:00
Rémi Verschelde
da945ce626
Merge pull request #89444 from AThousandShips/article_fix
[Doc] Fix some incorrect uses of `a/an`
2024-03-13 22:16:50 +01:00
Rémi Verschelde
a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
Add methods to get argument count of methods
2024-03-13 22:16:43 +01:00
A Thousand Ships
24c9d442e9
[Doc] Fix some incorrect uses of a/an 2024-03-13 21:20:28 +01:00
Rémi Verschelde
6c482fad89
Merge pull request #89207 from bruvzg/_ts_req
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 18:41:28 +01:00
bruvzg
3bb5047db3
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs. 2024-03-13 12:57:39 +02:00
bruvzg
ac7583e449
[NativeMenu] Implement native popup menu support on Windows. 2024-03-13 10:51:38 +02:00
Danil Alexeev
ef1909fca3
GDScript: Fix @warning_ignore annotation issues 2024-03-12 19:00:06 +03:00
Rémi Verschelde
20373d026d
Merge pull request #89419 from KoBeWi/losing_control
Fix some AcceptDialog argument types
2024-03-12 16:28:10 +01:00
kobewi
a7b6bcb988 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +01:00
Rémi Verschelde
061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
passivestar
3199c294f9 Allow connecting signals to existing methods without opening the script editor 2024-03-12 15:50:54 +04:00
bruvzg
433de7f1a8
[RTL] Use "visible characters" property for inline object visibility 2024-03-12 11:28:45 +02:00
Rémi Verschelde
d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
bruvzg
911fa38d3a
[Font] Add option to disable embedded bitmaps loading. 2024-03-11 16:31:10 +02:00
Danil Alexeev
ca486985d5
Documentation: Fix RST generation for [codeblock lang=text] 2024-03-11 10:24:09 +03:00
Rémi Verschelde
53701a0234
Merge pull request #89361 from Repiteo/scons/with-statement
SCons: Ensure `with` statement where applicable
2024-03-10 21:13:18 +01:00
Rémi Verschelde
7515549c35
Merge pull request #87610 from Mickeon/documentation-MultiplayerAPI-peer-id
Mention Multiplayer.`get_remote_sender_id`'s 0 after await
2024-03-10 21:12:48 +01:00
Thaddeus Crews
fb299d0fb1
SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
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
0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +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
Thaddeus Crews
d9fa40f2df
Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06: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
eccdf1a1e8
Merge pull request #89263 from dalexeev/editor-help-codeblock-syntax-highlighting
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:52:16 +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
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks 2024-03-09 00:02:31 +03: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
Johan H. W. Basberg
ad9fe3c954 Clarifies emitting behavior of 2D and 3D GPU particles 2024-03-07 11:55:26 +00: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
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
Rémi Verschelde
ec901ae16e
Merge pull request #88767 from AThousandShips/string_doc_fix
[Doc] Fix GDScript casing of `String.num_scientific`
2024-02-25 11:50:12 +01:00
Rémi Verschelde
e69cdf3680
Merge pull request #87181 from Mickeon/doc-peeves-quaternion-i-keep-misspelling-it
Overhaul Quaternion documentation
2024-02-25 11:50:02 +01:00
Micky
38cd13c51a Overhaul Quaternion documentation 2024-02-25 01:09:15 +01:00
A Thousand Ships
b384beccc5
[Doc] Fix GDScript casing of String.num_scientific 2024-02-24 17:51:21 +01:00
K. S. Ernest (iFire) Lee
04d43947bf
Add ufbx for FBX importing
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion.

Key changes include:

- Support for importing geometry helper nodes in FBX files.
- Addition of cameras and lights with updated names.
- Removal of the fbx importer manager.
- Introduction of ModelDocument3D and updates to its methods.
- Changes to FBX import options and visibility.
- Updating the documentation and handling some errors.
- Store the original non-unique node, mesh and animation names in FBX and glTF.

Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com>
2024-02-23 22:33:04 +01:00
Rémi Verschelde
09c58edc0a
Merge pull request #88708 from AThousandShips/experimental_docs
[Docs] Fix some experimental/deprecated hints
2024-02-23 22:19:22 +01:00
Rémi Verschelde
0d83267923
Merge pull request #88639 from dsnopek/xrserver-hand-tracker
Provide generic interface for XR hand tracking
2024-02-23 22:19:05 +01:00
A Thousand Ships
9e6158d687
[Docs] Fix some experimental/deprecated hints 2024-02-23 19:48:53 +01:00
David Snopek
2184fa9698 Provide generic interface for XR hand tracking 2024-02-23 12:20:22 -06:00
bruvzg
ad017a20ea
[TextServer] Implement soft hyphen handling. 2024-02-23 12:40:13 +02:00
Rémi Verschelde
5b968af176
Merge pull request #88444 from DaltonSW/master
Fix function description for `Font.get_char_size()`
2024-02-23 11:29:37 +01:00
Rémi Verschelde
12817f2993
Merge pull request #87025 from bruvzg/button_wrap
[Button] Add autowrap feature.
2024-02-23 11:29:32 +01:00
Rémi Verschelde
42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals 2024-02-23 11:29:22 +01:00