Commit Graph

8533 Commits

Author SHA1 Message Date
Rémi Verschelde cf519ab898
Merge pull request #86551 from bruvzg/agility_dynamic_load
[D3D12] Dynamically load Agility SDK.
2024-01-02 18:05:33 +01:00
Rémi Verschelde 1f1a971bf4
Merge pull request #86549 from sepTN/fix-docs-typos2
Fix various typos in documentation
2024-01-02 18:05:30 +01:00
Rémi Verschelde 3dae50aa4f
Merge pull request #86520 from touilleMan/fix-ScriptLanguageExtension-_find_function-documentation
Fix `ScriptLanguageExtension::_find_function` documentation
2024-01-02 18:05:26 +01:00
Rémi Verschelde b5c6e870e8
Merge pull request #82264 from dalexeev/core-builtin-methods-as-callables
Core: Allow methods of built-in `Variant` types to be used as Callables
2024-01-02 18:05:05 +01:00
Micky 78c9e2c53a Link to the "article" in the docs instead of saying "article" 2024-01-02 16:38:39 +01:00
bruvzg 126a763f7a
[D3D12] Dynamically load Agility SDK. 2024-01-02 17:15:59 +02:00
jsjtxietian d73312d5e9 Update get_image doc to mention that it will return an empty image with invalid texture 2024-01-02 11:31:38 +08:00
Micky e88a819194 Add more examples to Basis' Documentation 2024-01-01 19:32:01 +01:00
Quincy Wofford c979d02db2 corrected tooltip information Roll Influence property of VehicleWheel3D 2023-12-31 15:10:46 -07:00
Gwen e40b23c619
Correct C# syntax in _validate_property example for the Object class 2023-12-30 19:13:58 +01:00
Pedro J. Estébanez c217041afd Remove traces of the extinct RID preallocate feature 2023-12-28 10:18:05 +01:00
Septian d83cad6d9b Fix various typos in documentation 2023-12-27 20:37:37 +07:00
A Thousand Ships e7dbb7a267 Clarify that `@GlobalScope.clamp` does not do component-wise clamping 2023-12-26 22:16:34 +01:00
Emmanuel Leblond 0124b513cd
Fix `ScriptLanguageExtension::_find_function` documentation 2023-12-26 14:05:53 +01:00
Yuri Sizov b4fe310f7d Merge pull request #86377 from timothyqiu/slider-drag
Emit slider's `drag_started` signal before the first value change
2023-12-22 17:20:05 +01:00
Yuri Sizov 84d4889fa0 Merge pull request #86345 from brno32/outline-size-docs
Add note that a large value for `Label.outline_size` is not recommended
2023-12-22 17:20:02 +01:00
Yuri Sizov 13d34d6a2b Merge pull request #85923 from Calinou/editor-filesystem-dock-add-open-in-terminal
Add a editor FileSystem dock action to open a terminal in selected folder
2023-12-22 17:19:53 +01:00
Haoyu Qiu 58db3e5d7b Emit slider's drag_started signal before the first value change 2023-12-21 11:23:35 +08:00
Aaron Franke c77ae051d5
Add and expose Basis/Transform2D/3D division by float operator 2023-12-20 18:24:03 -06:00
Yuri Sizov 3a8524dd92
Merge pull request #83452 from RandomShaper/rd_common
Split `RenderingDevice` into API-agnostic and `RenderingDeviceDriver` parts
2023-12-20 20:09:18 +01:00
Pedro J. Estébanez 12a519bae2 Split RenderingDevice into API-agnostic and RenderingDeviceDriver parts
Credit and thanks to @bruzvg for multiple build fixes, update of 3rd-party items and MinGW support.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-12-20 19:18:08 +01:00
Alex Drozd daa8942f41 Add note that a large value for outline_size is not recommended 2023-12-20 17:55:23 +01:00
Yuri Sizov ed5a54d797 Merge pull request #86326 from MichaelMacha/patch-1
Remove pointer to deprecated class page from Skeleton3D
2023-12-20 15:08:14 +01:00
Yuri Sizov e11e0a7f07 Merge pull request #84734 from Anutrix/node-doc-11112023
Add description to `AnimationNodeStateMachine.replace_node`
2023-12-20 15:07:36 +01:00
Yuri Sizov bc6be82f5a Merge pull request #81260 from KoBeWi/min_maxing_particle_editing
Improve editing of min/max particle properties
2023-12-20 15:07:25 +01:00
kobewi ce9fec9b4d Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
Yuri Sizov 3ce73e5d41 Merge pull request #86331 from Calinou/doc-richtexteffect
Improve RichTextLabel `install_effect()` documentation
2023-12-19 20:33:13 +01:00
Yuri Sizov dee2604d99 Merge pull request #84729 from nickyfoo/add-navigationserver-getters
Add missing getters to navigation servers
2023-12-19 20:32:46 +01:00
Yuri Sizov 179b8c7973 Merge pull request #84185 from bruvzg/lbl_char_rects
[Label] Add get_character_bounds method to get bounding rectangles of the characters.
2023-12-19 20:32:39 +01:00
Yuri Sizov b9dff50282 Merge pull request #83785 from Geometror/graphedit-dotted-grid
Add dotted grid to GraphEdit
2023-12-19 20:32:35 +01:00
Nicholas Foo e7ee672120 Add getters to navigation servers
Add virtual functions and bind to navigation servers
Implement getters
Add documentation
2023-12-19 19:51:49 +01:00
msreis f1cc14d525 Fix missing time for some script functions in profiler
Fixes the issue by adding a mechanism by which the functions that were
previously disappearing can be profiled too. This is optional with
an editor setting, since collecting more information naturally slows the engine
further while profiling.

Fixes #23715, #40251, #29049
2023-12-19 19:42:21 +01:00
Hugo Locurcio 78fff7292c
Improve RichTextLabel `install_effect()` documentation 2023-12-19 17:29:49 +01:00
Hugo Locurcio 0e97acff84
Add a editor FileSystem dock action to open a terminal in selected folder
This is useful to enter some commands without having to open a separate
terminal and `cd` to the project folder.
2023-12-19 15:04:02 +01:00
Yuri Sizov 02d4579fa2 Merge pull request #85000 from bruvzg/ed_ui_direction
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +01:00
Yuri Sizov 1ecba5d341 Merge pull request #84940 from Calinou/editor-textureprogressbar-inspector-hide-properties
Hide ineffective TextureProgressBar properties in the editor
2023-12-19 13:01:30 +01:00
Yuri Sizov 7aae85edfd Merge pull request #84845 from DarkMessiah/tree-disabled-checkbox
Implement disabled state for Checkbox in Tree
2023-12-19 13:01:25 +01:00
Yuri Sizov 76fdc0adad Merge pull request #84708 from bruvzg/winink_def
[Windows] Make Windows Ink tablet API default, add dummy driver to disable tablet input.
2023-12-19 13:01:14 +01:00
Yuri Sizov 714e27393a Merge pull request #84652 from timothyqiu/enum-pun
Avoid punning enum names in documentation
2023-12-19 13:01:10 +01:00
bruvzg e9c219cff2
[Label] Add get_character_bounds method to get bounding rectangles of the characters. 2023-12-19 13:53:21 +02:00
Michael Macha 0e52ffeb69
Remove pointer to deprecated class page, from Skeleton3D
SkeletonIK3D is now deprecated, but Skeleton3D is recommending looking into its use for complicated inverse kinematics. What's worse, the removed line is not perfectly clear for non-developers and people less experienced with the engine, and could still stand to be improved.
2023-12-19 04:46:34 -07:00
bruvzg e01b22a69d
[Windows] Make Windows Ink tablet API default, add dummy driver to disable tablet input. 2023-12-18 22:36:54 +02:00
Yuri Sizov a4d789370f Merge pull request #85966 from Kimau/claire/expose_mouseover
Expose a method to get hovered Control in Viewport
2023-12-18 18:17:57 +01:00
Yuri Sizov 644e236e5c Merge pull request #83987 from bruvzg/macos_window_and_help
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-18 18:17:41 +01:00
Yuri Sizov 80c3ed6845 Merge pull request #80487 from theraot/expose_set_global_name
Expose `Script.get_global_name()`
2023-12-18 18:17:30 +01:00
A Thousand Ships 0081a50e32 Prevent mapping areas with invalid IDs for `Area2D/3D`
This occurs when areas are created directly from the servers, and no
instance is linked.
2023-12-18 16:02:46 +01:00
Alfonso J. Ramos e7e35e8366 Expose `Script.get_global_name()` 2023-12-18 15:13:09 +01:00
Claire Blackshaw fe7725239e Expose a method to get hovered Control in Viewport 2023-12-18 14:53:52 +01:00
Yuri Sizov 9c425c592f Merge pull request #86161 from ZeferinoI/patch-1
Update the description of the method get_connection_list in GraphEdit
2023-12-16 17:50:01 +01:00
Yuri Sizov 1e86ce0b40 Merge pull request #85317 from miv391/fix-breaking-frame-index-in-sprites
Fix invalid `frame` index when Sprite2D's `hframes` or `vframes` has been changed
2023-12-16 17:49:38 +01:00
Yuri Sizov 4b258ccdd3 Merge pull request #82884 from KoBeWi/commit_message_cached,_please_refresh
Clarify some descriptions regarding resource cache
2023-12-16 17:49:20 +01:00
Yuri Sizov d02b368fd6 Merge pull request #78095 from aaronfranke/dict-get-or-set-default
Add a `get_or_add` method to Dictionary
2023-12-16 17:49:10 +01:00
Mika Viskari 484c5b5aff Fix invalid frame index when Sprite2D's hframes or vframes has been changed 2023-12-15 20:32:18 +02:00
Yuri Sizov 302e41c264 Merge pull request #82561 from ershn/fix_navigation_agents_is_target_reached_behavior
Make `target_desired_distance` affect the navigation of `NavigationAgent2D/3D`
2023-12-14 21:22:35 +01:00
Yuri Sizov 4cf6325aa1 Merge pull request #84660 from groud/better_tileset_polygons
Move tile transforms handling cache to TileData
2023-12-14 17:38:14 +01:00
Yuri Sizov 16d1d85a56 Merge pull request #78206 from alula/node-count-in-group
Add SceneTree.get_node_count_in_group()
2023-12-14 17:38:00 +01:00
ZeferinoI 53ab38a34e
Update the description of the method get_connection_line in GraphEdit.xml
The form should be like { from_port: 0, from_node: "GraphNode name 0", to_port: 1, to_node: "GraphNode name 1" }
2023-12-14 23:09:43 +08:00
bruvzg 0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization. 2023-12-13 23:20:05 +02:00
Gilles Roudière 18fe0bd025 Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
Rémi Verschelde d3414d80bf
Merge pull request #86081 from KoTeYkA23/bindings-for-emulated-input-events
Add bindings for setting and getting emulation mouse from touch and touch from mouse in input
2023-12-13 10:33:36 +01:00
Rémi Verschelde 28220a3405
Merge pull request #86071 from Calinou/doc-time-scale-audioserver
Document `AudioServer.playback_speed_scale` in `Engine.time_scale`
2023-12-13 10:33:12 +01:00
CaTaTo 075a54bbcf Add bindings for setting and getting emulation mouse from touch and touch from mouse in input 2023-12-13 08:07:36 +03:00
Rémi Verschelde 41365c6c8b
Merge pull request #70315 from RandomShaper/d3d12_mesa
Direct3D 12 Rendering Driver (Mesa NIR approach)
2023-12-12 21:58:57 +01:00
Pedro J. Estébanez 2f47c57385 Add Direct3D 12 RenderingDevice implementation 2023-12-12 19:10:04 +01:00
Hugo Locurcio ce2a7f3253
Document `AudioServer.playback_speed_scale` in `Engine.time_scale`
This also documents `physics_ticks_per_second` not being automatically
adjusted, which can be important when speeding up simulation.
2023-12-12 13:13:05 +01:00
Rémi Verschelde 342531597b
Merge pull request #85811 from clayjohn/2D-render-info
Implement render info counters for the 2D renderer
2023-12-12 10:41:06 +01:00
Rémi Verschelde 4943b6e6b3
Merge pull request #84451 from ShirenY/FixSkeletonMeshCulling
Transform mesh's AABB to skeleton's space when calculating mesh's bounds
2023-12-12 00:16:51 +01:00
Rémi Verschelde 5529d32b56
Merge pull request #83938 from clayjohn/sky-exposure
Expose `energy_multiplier` to remaining SkyMaterials
2023-12-12 00:16:25 +01:00
Rémi Verschelde 4e2350b1af
Merge pull request #82661 from bruvzg/custom_ellipsis
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-12 00:15:34 +01:00
Rémi Verschelde 9eb47ce361
Merge pull request #75098 from smix8/map_random_point_queries_4.x
Add NavigationServer random point queries
2023-12-12 00:15:05 +01:00
kobewi a1aa1a468f Clarify some descriptions regarding resource cache 2023-12-10 20:30:01 +01:00
ShirenY 27f71c4e78 Transform mesh's AABB to skeleton's space when calculate mesh's bounds. 2023-12-09 11:41:15 +08:00
Yuri Sizov 7798ea773b Merge pull request #85717 from thmasn/master
Explain parameter usage in GPUParticles3D and GPUParticles2D
2023-12-08 16:58:34 +01:00
Yuri Sizov dfe0f584b4 Merge pull request #82953 from jsjtxietian/document-forcedraw-can-only-be-called-from-main-thread
Add thread guard for `force_draw` and update related documentation
2023-12-08 15:22:53 +01:00
smix8 64a56245d8 Add NavigationServer random point queries
Adds query functions to get random points on navigation mesh to the NavigationServer.
2023-12-08 00:18:05 +01:00
Rémi Verschelde a311a4b162
Merge pull request #83976 from BastiaanOlij/gles3_msaa_scaler
Add 3D MSAA and scaling support to GLES3
2023-12-07 14:36:42 +01:00
clayjohn 528b4a3283 Implement render info counters for the 2D renderer
This provides information for the debug monitors
2023-12-06 14:39:33 -07:00
Aaron Franke 437586bf31
Add a `get_or_add` method to Dictionary 2023-12-06 11:43:58 -06:00
thmasn def5545b39 Explain parameter usage in GPUParticles3D.xml and GPUParticles2D.xml
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-05 20:56:38 +01:00
Rémi Verschelde 708efe9b94
Merge pull request #85491 from BNTFryingPan/editor-icon-color-docs
Fix documentation for `icon_and_font_color` editor setting
2023-12-05 15:15:39 +01:00
Rémi Verschelde c4f872e38e
Merge pull request #85599 from addmix/CameraAttributesPhysical-docs
Improve documentation for `CameraAttributesPhysical.exposure_shutter_speed`
2023-12-05 13:05:32 +01:00
addmix b7b0022c7a Improve documentation for `CameraAttributesPhysical.exposure_shutter_speed` 2023-12-04 17:35:31 -07:00
Bastiaan Olij caddce14dd Add 3D MSAA and scaling support to GLES3 2023-12-05 10:01:00 +11:00
Rémi Verschelde f444818c7e
Merge pull request #84794 from akien-mga/videoplayer-fix-reloading-translation-remapped-stream
VideoPlayer: Fix reloading translation remapped stream
2023-12-04 23:05:15 +01:00
Rémi Verschelde 628af13338
Merge pull request #83907 from Calinou/doc-texture-filter
Improve and clarify texture filtering documentation
2023-12-04 23:00:28 +01:00
Rémi Verschelde 4bd5ffd669
Merge pull request #83812 from smix8/navregion_properties
Fix missing NavigationRegion property updates in constructor
2023-12-04 22:59:13 +01:00
Rémi Verschelde 9be2f25c57
Merge pull request #83802 from smix8/navlink_properties
Fix missing NavigationLink property updates in constructor
2023-12-04 22:58:49 +01:00
smix8 25bf20d7a5 Fix missing NavigationRegion property updates in constructor
Fixes missing NavigationRegion property updates in constructor.
2023-12-04 19:50:17 +01:00
bruvzg 56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
Frying☆Pan de59872db8 fix documentation for `icon_and_font_color` editor setting 2023-11-30 14:00:07 -05:00
Ershn fce16b6662 Make target_desired_distance affect the navigation of NavigationAgent2D/3D
When the target is reachable, stop the navigation only when the target is reached.
2023-11-29 23:48:54 +09:00
RedMser 61570884bf Clarify difference of Capture and Record effects 2023-11-28 13:59:12 +01:00
DevPoodle 45ae95c2be Add descriptions to all RDUniform methods 2023-11-26 08:15:46 -08:00
Pedro J. Estébanez ab01dc5a48 Enhance SceneTree.change_scene*() methods' docs 2023-11-24 11:25:21 +01:00
Krazy_J b359f8e6f5
Fix example in `NodePath.get_name()` documentation
The output of `node_path.get_name(2)` is stated to be `Sprite`,
but the actual output is `Sprite2D`.
2023-11-22 14:07:17 -06:00
bruvzg 932174fedf
[Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02:00
Hugo Locurcio 9f1870ec49
Hide ineffective TextureProgressBar properties in the editor
Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
2023-11-15 18:35:54 +01:00
Stanislav Labzyuk ff8797e980 Implement disabled state for Checkbox in Tree 2023-11-15 17:13:34 +01:00
jsjtxietian 4680ced5fa support updating tooltip after editor description change 2023-11-15 14:27:49 +08:00
Markus Sauermann 8ac2e2ac20 Mark `SubViewportContainer::_propagate_input_event` experimental
The function got introduced during 4.2-dev and it was discussed, if it
could be implemented in a way that also allows InputEvent filtering
during `Node._process`. Let's keep this function experimental for the
moment, in case we implement a general solution.
2023-11-14 21:34:46 +01:00