Commit graph

9380 commits

Author SHA1 Message Date
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
Rémi Verschelde 6882e5042d
i18n: Sync translations with Weblate
(cherry picked from commit 1dee633c91)
2023-12-11 22:10:21 +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
Rémi Verschelde d5ad37afcd
i18n: Sync translations with Weblate
(cherry picked from commit daeb1c7292)
2023-12-07 11:13:54 +01:00
Haoyu Qiu 9c83d3db5b Fix missing heading in translated online class reference 2023-12-07 11:35:06 +08: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
Mikael Klasson 4986d6d317 Fix invalid Python escape sequences 2023-12-06 11:51:41 +09: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
Rémi Verschelde c17d73f140
i18n: Sync translations with Weblate 2023-11-29 17:21:35 +01: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
Rémi Verschelde 7022271291
i18n: Sync translations with Weblate 2023-11-21 16:08:36 +01:00
风青山 ed0e6e87fd Fix translation po file not found when make rst
The parsed language parameters contain unstripped spaces. This will
generate a wrong path.

Provide a `TOOLSOPT` to allow overriding the default values of
parameters of the `make_rst.py` script.

The xml generated by `godot --doctool -l LANG` can be checked for
errors using `make xml-check LANGARG=LANG`, which may be useful for
checking errors in po files.
2023-11-19 11:29:46 +08:00
bruvzg 932174fedf
[Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02:00
Hugo Locurcio c7f6504105
makerst: Disallow user-contributed notes on the class index page
User-contributed notes are still allowed on individual class pages.
2023-11-17 10:51:29 +01:00
Rémi Verschelde 80e1672836
i18n: Sync translations with Weblate 2023-11-16 17:38:43 +01: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
Hendrik Brucker 1a8e676131 Add different grid patterns to GraphEdit 2023-11-14 19:48:31 +01:00
Hugo Locurcio 47cadda3ad
Improve and clarify texture filtering documentation
- Mention the Use Nearest Mipmap Filter project setting.
- Fix nearest mipmap claiming to always use bilinear filtering
  (it uses trilinear filtering by default, like linear mipmap).
2023-11-14 15:18:03 +01:00
Hugo Locurcio d6768a17fa
Document changing the window's resizable status at runtime 2023-11-14 15:02:25 +01:00
Rémi Verschelde 70ec97aadf
Merge pull request #84844 from Calinou/doc-runtime-loading-image
Link to runtime loading/saving tutorial and improve Image documentation
2023-11-14 12:17:31 +01:00
Hugo Locurcio e5270c0db2
Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
Markus Sauermann 361aa909da Explain which nodes receive NOTIFICATION_WM_SIZE_CHANGED 2023-11-13 17:32:39 +01:00
kobewi 4296f0a771 Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
Rémi Verschelde 7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.
2023-11-12 15:22:16 +01:00
Rémi Verschelde 5abeb043d0
Merge pull request #84784 from timothyqiu/recturns
Fix typo in `TextureServer.font_get_face_index()` description
2023-11-12 12:16:18 +01:00
Micky b5ca06c9ca Overhaul Node Documentation 2023-11-12 12:10:27 +01:00
Hugo Locurcio a63556212d
Don't apply frame delay project setting to the editor
This appears to already be the case for the Max FPS project setting.
2023-11-12 12:09:39 +01:00
Haoyu Qiu 2717fc6c0f Fix typo in TextureServer.font_get_face_index description 2023-11-12 17:07:09 +08:00
Rémi Verschelde 8179ad558a
Merge pull request #82942 from timothyqiu/circulation
Explain circular references and how to break them
2023-11-11 23:05:11 +01:00
Anutrix 3c82f4a371 Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement 2023-11-11 21:17:19 +05:30
Anutrix 66134fd0f4 Added description to AnimationNodeStateMachine.replace_node 2023-11-11 20:43:58 +05:30
Haoyu Qiu b2dcef4928 Explain circular references and how to break them
Also improves the documentation of `weakref`.
2023-11-11 10:07:48 +08:00
Rémi Verschelde 76d9521801
Merge pull request #82863 from HexagonNico/docs_get_tree
Specify the behaviour of `get_tree()` when the node is not in the scene tree
2023-11-10 21:54:56 +01:00
Rémi Verschelde 60e46cfeed
Merge pull request #81697 from nathanjf/master
Add missing documentation for `Skeleton3D` methods
2023-11-10 21:53:14 +01:00
Markus Sauermann 0baebed41a
Document that Input.is_action_* should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2023-11-10 21:34:50 +01:00
Nico ee9c8cb296 Specify the behaviour of get_tree when the node is not in the scene tree 2023-11-10 20:24:53 +01:00
Nathan Frank 13e2e4e5d8 Add missing documentation for Skeleton3D methods
Adds description for get/set pose position/rotation/scale.
2023-11-10 19:07:04 +01:00
Rémi Verschelde bdd9034ad0
i18n: Sync translations with Weblate 2023-11-10 16:30:40 +01:00
Yuri Sizov d9c980f1cf Fix a property reference in EditorSpinSlider 2023-11-10 15:30:16 +01:00
jsjtxietian b88b84ce18 Add thread guard for force_draw and update relared doc
force_draw must be called from main thread
2023-11-10 18:57:31 +08:00
Rémi Verschelde 7f49389c4b
Merge pull request #84698 from RandomShaper/fix_doccy
Fix link in the docs about ResourceImporterTextureAtlas
2023-11-10 10:46:30 +01:00
Rémi Verschelde 4eae6f8028
Merge pull request #84669 from akien-mga/doc-displayserver-dont-mess-with-windows
doc: Clarify that `DisplayServer.window_set_*_callback` aren't supported on Window nodes
2023-11-10 10:46:06 +01:00
Rémi Verschelde 804c1926c9
Merge pull request #84648 from NiftyHat/patch-1
Add C# example for the AudioStreamGenerator code snippet
2023-11-10 10:45:20 +01:00
Rémi Verschelde dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Pedro J. Estébanez 29a4707fa5 Fix link in the docs about ResourceImporterTextureAtlas 2023-11-10 09:51:11 +01:00
Duncan "NiftyHat" Saunders 496eaafe49
Add C# example for the AudioStreamGenerator code snippet 2023-11-10 09:28:35 +01:00
MewPurPur 80b636069a Add performance note to Array.resize() 2023-11-10 00:41:39 +02:00
bruvzg 173b84127b
[Windows] Add some AMD GPUs to the OpenGL blocklist. 2023-11-09 20:11:04 +02:00
bruvzg d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
Rémi Verschelde 02e52da774
Merge pull request #84667 from timothyqiu/semi-redundant
Remove a redundant semicolon from `max_fps` documentation
2023-11-09 18:10:11 +01:00
Rémi Verschelde d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Rémi Verschelde 25e650ab61
Merge pull request #83388 from jsjtxietian/document-resource-saver-uid
Document UID behavior in ResourceSaver's save function
2023-11-09 18:07:41 +01:00
Rémi Verschelde 9ff5ee79b8
Merge pull request #82991 from jsjtxietian/update-doc-for-draw-poly-line
Update `draw_polyline` documentation to clarify negative width behavior
2023-11-09 18:07:16 +01:00
Rémi Verschelde 95a42aeb96
Merge pull request #82092 from jitspoe/master.pr_physical_keycode_doc_fix
Fix documentation on how to get the keycode string from a `physical_keycode`
2023-11-09 18:06:51 +01:00
kobewi aff49d3a76 Fix missing arrows in integer vector properties 2023-11-09 17:35:15 +01:00
Rémi Verschelde 354c622aa7
doc: Clarify that DisplayServer.window_set_*_callback aren't supported on Window nodes 2023-11-09 17:23:38 +01:00
Haoyu Qiu d6bd0e1289 Remove a redundant semicolon from max_fps documentation 2023-11-09 22:18:01 +08:00
kit d24d73ba31 Make mouse-enter/exit notifications match mouse event propagation
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.

In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.

Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
jitspoe 1e01fcd038
Fix documentation on how to get the keycode string from a physical_keycode
Fixes #82091.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-11-09 13:03:29 +01:00
Rémi Verschelde e769a75640
Merge pull request #84618 from YuriSizov/docs-resolve-method-reference-collisions
Resolve collisions in reference anchors added for methods
2023-11-09 11:47:48 +01:00
Rémi Verschelde 26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde b153f4868a
Merge pull request #84567 from timothyqiu/shapecast-doc
Sync changes between ShapeCast and RayCast class references
2023-11-09 11:47:00 +01:00
Rémi Verschelde aaafc69132
Merge pull request #84513 from bruvzg/x11_fallback_and_spam
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
2023-11-09 11:46:36 +01:00
Haoyu Qiu cc3984f359 Avoid punning enum names in documentation 2023-11-09 17:16:30 +08:00
Yuri Sizov 0924ae0167 Resolve collisions in reference anchors added for methods
While the anchors themselves were sufficiently unique,
when converted to HTML all underscore characters are
replaced. This created collisions between, say, Object._get and
Object.get, where the latter would get a generic unique
anchor identifier, e.g. id1.
2023-11-08 15:16:35 +01:00
Yuri Sizov b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
clayjohn a74cfc2629 Use default samplers in base uniform set when rendering to reflection probes 2023-11-07 17:46:05 +01:00
Yuri Sizov 326899226f Merge pull request #84408 from m4gr3d/update_input_event_magnify_gesture_android_description
Update the description for the `InputEventMagnifyGesture` and `InputEventPanGesture` gestures
2023-11-07 12:54:17 +01:00
Hugo Locurcio 079f1c8ead
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +01:00
Haoyu Qiu aca6855ef2 Sync changes between ShapeCast and RayCast class references 2023-11-07 16:49:51 +08:00
Fredia Huya-Kouadio b737ac1e1d Update the description for the InputEventMagnifyGesture and InputEventPanGesture gestures
Mention the requirement to enable those gestures on Android
2023-11-06 11:02:39 -08:00
Yuri Sizov d3e9033868 Merge pull request #83931 from clayjohn/DOCS-material
Fill out Material documentation and clarify `render_priority` and `next_pass` sorting
2023-11-06 15:43:25 +01:00
Yuri Sizov b7449a3d1a Merge pull request #84419 from YuriSizov/core-remove-orphan-notification
Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification
2023-11-06 13:23:21 +01:00
Yuri Sizov e5f1cbfe2a Merge pull request #84376 from YuriSizov/animation-unexpose-internal-property
Unexpose internal data property of `AnimationLibrary`
2023-11-06 13:23:15 +01:00
Yuri Sizov 623b905d2e Remove unused NOTIFICATION_NODE_RECACHE_REQUESTED notification 2023-11-06 12:16:32 +01:00
bruvzg f3d4f5a77e
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam. 2023-11-06 12:40:44 +02:00
Yuri Sizov e7c3a0540a Merge pull request #83435 from trevyn/get_skips
Document `AudioStreamGeneratorPlayback.get_skips()`
2023-11-03 12:52:12 +01:00
trevyn 7c2e37e5dd Document AudioStreamGeneratorPlayback.get_skips()
Co-Authored-By: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-02 21:54:07 +02:00
Yuri Sizov 0b2f8ee036 Merge pull request #84283 from jsjtxietian/update-add_submenu-doc
Update `add_submenu_item` doc to mention that submenu should already exist
2023-11-02 20:34:11 +01:00
Yuri Sizov f2de1137d9 Unexpose internal data property of AnimationLibrary 2023-11-02 18:57:39 +01:00
jsjtxietian 34c27021e0 Update add_submenu doc to mention that submenu should already exist 2023-11-02 11:02:13 +08:00
curious-broccoli 385f4cb572
Fix sentence in RandomNumberGenerator.xml 2023-11-01 21:37:01 +01:00
Rémi Verschelde 1267c58422
Merge pull request #84301 from jsjtxietian/improve-get_time_zone_from_system-doc
Clarify that `get_time_zone_from_system` will return a localized timezone name
2023-11-01 15:12:54 +01:00
Rémi Verschelde 1ea46ad4c3
Merge pull request #84276 from Chubercik/velocity_pivot_desc
Add a description for the `velocity_pivot` parameter
2023-11-01 15:10:56 +01:00
Rémi Verschelde 8ce31989ff
Merge pull request #84226 from Agaanii/patch-1
Fix documentation in MultiplayerAPIExtension
2023-11-01 15:10:33 +01:00
jsjtxietian fd751f9b21 Clarify get_time_zone_from_system will return a localized timezone name 2023-11-01 19:47:30 +08:00
Boris The Brave a390996a61
Document that resource_name is not always supported
Closes #82333.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-01 10:43:41 +01:00
Jakub Marcowski 201e5bab35
Add a description for the velocity_pivot parameter 2023-11-01 03:15:05 +01:00
Matt Loesby c10921b5d1 Fix documentation in MultiplayerAPIExtension
Fix documentation in MultiplayerAPIExtension.xml

In implementing a MultiplayerAPIExtension, I found that the example from documentation did not function even in the Multiplayer tutorial example.

Eventually, I found that the issue was that base_multiplayer will not poll unless told to by the LogMultiplayer implementation.

I also corrected a spelling issue and a few out-of-date return types.
2023-10-31 18:39:45 -06:00
Rémi Verschelde 799d30c306
Merge pull request #83753 from bruvzg/mac_angle_fb
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed.
2023-10-31 20:14:42 +01:00
Rémi Verschelde c942297410
Merge pull request #84224 from ershn/patch-1
Add missing word in `NOTIFICATION_POST_ENTER_TREE` documentation
2023-10-31 13:47:25 +01:00
Rémi Verschelde cf16c69e7d
Merge pull request #82609 from jsjtxietian/document-localized-timezone-name
Document `get_time_zone_from_system` will return a localized timezone name
2023-10-31 13:46:14 +01:00
Rémi Verschelde a4efb5a974
Merge pull request #81622 from Calinou/doc-dictionary-merge
Add an example for `Dictionary.merge()`, mention lack of recursion
2023-10-31 13:45:47 +01:00
Hugo Locurcio 0396e12a47
Add an example for Dictionary.merge(), mention lack of recursion 2023-10-31 10:16:11 +01:00
jsjtxietian 5eeb1518a8 Document get_time_zone_from_system will return a localized timezone name 2023-10-31 12:29:10 +08:00
Steven Le Boëdec 47258411da
Add missing word in NOTIFICATION_POST_ENTER_TREE documentation 2023-10-31 09:07:00 +09:00
Rémi Verschelde 17a575625e
Merge pull request #84159 from clayjohn/uv-compression
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde 608226a097
Merge pull request #82801 from allenwp/82587-untyped-declaration-usability
Add a recommendation to turn on type hints with untyped declaration warning
2023-10-30 23:18:10 +01:00
Rémi Verschelde be8761a801
Merge pull request #81176 from Jordyfel/integer-scaling-docs
Document integer scaling functionality and limitation
2023-10-30 23:17:21 +01:00
Rémi Verschelde fa54bc3eca
Merge pull request #79571 from Calinou/doc-richtextlabel-padding
Clarify the purpose of RichTextLabel text highlight padding
2023-10-30 23:16:24 +01:00
clayjohn 3f5c16dd9e Fix multiple issues with UV compression 2023-10-30 23:11:34 +01:00
Allen Pestaluky ede91c9f89 Added recommendation to turn on Add Type Hints with Untyped Declaration warning
Fixes #82587 by improving usability of the untyped_declaration warning. This adds a note to the documentation that recommends turning on EditorSettings.text_editor/completion/add_type_hints when the untyped declaration warning is set to warn or error.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-10-30 15:46:57 -04:00
Rémi Verschelde acbc341a58
OpenGL: Fix uninitialized memory usage for GPUPartciles interp_to_end
Fixes #84072.
2023-10-30 15:08:24 +01:00
Rémi Verschelde 6fe7a5e8d7
Merge pull request #84111 from EgeYildir/patch-1
doc: Fix typo in ConcavePolygonShape2D/3D description
2023-10-30 10:19:20 +01:00
Ege Yıldır 0573122605 doc: Fix typo in ConcavePolygonShape2D/3D description 2023-10-29 17:27:47 +03:00
Rémi Verschelde e2645d8a52
Merge pull request #84109 from clayjohn/disable-disable_2d
Revert "Add a Disable 2D property to Viewport"
2023-10-28 18:36:09 +02:00
Rémi Verschelde 3f045951ed
Merge pull request #84101 from programneer/incorrect-window-width-override
Fixed `window_width_override` description
2023-10-28 12:33:13 +02:00
Rémi Verschelde 17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
Kacper Gibas df0d83f856 Fixed window_width_override description 2023-10-28 09:40:36 +02:00
Andrés Botero acae382010 Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D 2023-10-28 01:23:38 -05:00
Rémi Verschelde bcf8a21e5f
Merge pull request #83636 from AThousandShips/scroll_doc
Clarify `NOTIFICATION_SCROLL_BEGIN/END` behavior
2023-10-27 21:40:00 +02:00
clayjohn f672198f5e Revert "Add a Disable 2D property to Viewport"
This reverts commit f6cc2603a1.
2023-10-27 14:45:59 +02:00
Rémi Verschelde 73130a20f3
Merge pull request #83916 from Calinou/doc-particles-collision-subemitters
Improve documentation related for particle subemitters, collision and attractors
2023-10-27 11:37:45 +02:00
twobit b4aa6ad36e Fix reparent losing owner if relationship to original owner is not broken 2023-10-26 13:08:05 -04:00
Rémi Verschelde bf46ee144d
Merge pull request #77788 from gongpha/stop-posting-about-(re)importing-assets-whatever-dot-exr
Avoid reimporting lightmap textures every getter call
2023-10-26 15:57:46 +02:00
Michael Alexsander c3fc87964f
Fix disabled tabs being selected when removing the current one 2023-10-25 16:46:54 -03:00
Hugo Locurcio 22e42c1826
Improve documentation related for particle subemitters, collision and attractors
This also describes how to set up particle flipbook animation in
GPUParticles2D's texture property.
2023-10-25 20:44:12 +02:00
Danil Alexeev b04263644c
Core: Allow methods of built-in Variant types to be used as Callables 2023-10-25 15:53:52 +03:00
clayjohn 9251821c97 Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial
These are needed to tweak sky exposure separately from background
2023-10-25 14:12:22 +02:00
clayjohn 6a663959a6 Fill out Material documentation and clarify render_priority and next_pass sorting 2023-10-25 10:58:06 +02:00
Rémi Verschelde bef514559a
Merge pull request #82906 from LinuxUserGD/patch-1
Add `sdf_collision` property description to LightOccluder2D
2023-10-25 10:27:56 +02:00
Rémi Verschelde c0f00be870
Merge pull request #81936 from detomon/update-renderingdevice-doc
Fix required parameter values for 2D textures in `RenderingDevice.texture_clear()`
2023-10-25 10:27:32 +02:00
Rémi Verschelde ea0ab441c8
Merge pull request #83861 from Calinou/lightmapgi-fix-editor-only-sky-only
Fix LightmapGI taking editor-only and sky-only lights into account
2023-10-24 10:54:56 +02:00
Rémi Verschelde 6ead61ab1e
Merge pull request #83839 from todeskurve/todeskurve-patch-ImmediateMesh.xml
Add C# Example to ImmediateMesh.xml
2023-10-24 10:54:45 +02:00
Rémi Verschelde c20e948a2b
Merge pull request #83441 from AThousandShips/anim_doc
Fix description of `Animation::copy_track`
2023-10-24 10:54:08 +02:00
Hugo Locurcio e4d846378b
Fix LightmapGI taking editor-only and sky-only lights into account
These lights are not visible when running the project (or at all),
so they shouldn't affect the lightmap baking process.
2023-10-23 22:56:17 +02:00
todeskurve db26963938
Add C# Example to ImmediateMesh.xml 2023-10-23 14:50:07 +02:00
smix8 2f1668804c Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.
2023-10-23 01:43:55 +02:00
kit 701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
Rémi Verschelde 8c25a98fdf
Merge pull request #83768 from programneer/incorrect-physics-jitter
ProjectSettings: Fix description of physics jitter
2023-10-22 12:13:52 +02:00
Kongfa Waroros c165f0cf2e Avoid reimporting lightmap textures every getter call 2023-10-22 16:32:08 +07:00
Kacper Gibas c724368b7d Fix description of physics jitter 2023-10-22 11:12:21 +02:00
bruvzg 590c353707
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed. Remove platform specific renderer config values from docs. 2023-10-21 22:09:35 +03:00
smix8 b7be45279d Solve race condition between AThousandShips and Akien
Solves race condition between AThousandShips and Akien.
2023-10-21 19:04:41 +02:00
smix8 4771431b28 Fix NavigationAgent3D stored y-axis velocity and make it optional
Fixes NavigationAgent3D stored y-axis velocity and makes it optional.
2023-10-21 01:11:26 +02:00
Rémi Verschelde d99285db6a
Merge pull request #83609 from k0T0z/fix-csharp-syntax-error-in-web-doc
Fix Object class C# syntax error
2023-10-20 15:10:38 +02:00
Rémi Verschelde 34e3fa5ec7
Merge pull request #83602 from copytime/patch-1
Doc: Change return type of `_Set` method from `void` to `bool` in C# code example
2023-10-20 15:09:51 +02:00
A Thousand Ships 44f62a4f97 Clarify NOTIFICATION_SCROLL_BEGIN/END behavior
Documents that these notifications are only sent for touch events.
2023-10-19 22:33:57 +02:00
jsjtxietian 6950aab078 Make LineEdit secret character easier to change and enter
1. Allow values longer than 1 character in the property,
    but trim characters after the first one.
2. Allow empty strings, this acts like if a space was used as a secret character,
    so that an error isn't printed when you erase all characters in the property.
2023-10-19 21:32:38 +08:00
CopyTIME 458cb99966 Change return type of "_Set" method in csharp code example
Add "return false" to GDScript code example of _Set method
2023-10-19 18:52:11 +08:00
Saif Kandil 74efbde7df Fix Object class C# syntax error
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-19 13:43:54 +03:00
Rémi Verschelde dce1aab174
Merge pull request #83514 from kleonc/docs-multiplication-operators-doing-xform_inv-csharp
Clarify C# docs for operators performing `xform_inv`
2023-10-18 00:06:02 +02:00
Rémi Verschelde 024172b4eb
Merge pull request #82409 from KoBeWi/3_in_1
Document, cleanup and fix some theme properties
2023-10-18 00:00:36 +02:00
Rémi Verschelde 0181983ad4
Merge pull request #81774 from MewPurPur/improve-visible-on-screen-class-docs
Improve VisibleOnScreen classes' docs
2023-10-18 00:00:11 +02:00
kleonc 408de3b091 Clarify C# docs for operators performing xform_inv 2023-10-17 19:49:42 +02:00
MewPurPur 53d0ba2913 Improve VisibleOnScreen classes docs 2023-10-17 19:29:16 +03:00
Rémi Verschelde 8ff8d41f0b
Merge pull request #83461 from kleonc/docs-multiplication-operators-doing-xform_inv
Clarify docs for operators performing `xform_inv`
2023-10-17 16:13:09 +02:00
Rémi Verschelde e6d488f233
Merge pull request #81196 from georgwacker/add-audiosession-options
Add project settings for AVAudioSessionCategory on iOS
2023-10-17 16:12:49 +02:00
Georg Wacker fcc500ea41 Add project settings for AVAudioSessionCategory on iOS 2023-10-17 12:35:49 +02:00
kleonc a8c62c5928 Clarify docs for operators performing xform_inv 2023-10-16 21:52:02 +02:00
A Thousand Ships 9d23956b28 Fix description of Animation::copy_track
The documentation stated the track was added to this, instead of
`to_animation`
2023-10-16 14:37:19 +02:00
Danil Alexeev 0c2202c56e
GDScript: Fix incorrect error message for utility functions 2023-10-16 14:09:57 +03:00
Jakub Marcowski bc78c832e9 Expose 3D Delaunay tetrahedralization in Geometry3D 2023-10-16 11:48:49 +02:00
jsjtxietian 161a4b9d60 Document UID behavior in ResourceSaver's save function 2023-10-15 22:19:44 +08:00
Rémi Verschelde 1d3854665f
Merge pull request #83273 from groud/disable_tilemap_navigation
Allow disabling the built-in tilemap navigation
2023-10-13 22:19:48 +02:00
Rémi Verschelde 348c1ff96b
Merge pull request #83266 from bruvzg/linux_case_check
[Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS.
2023-10-13 22:19:24 +02:00
Dario a9a197d2dc Rewrite the GPU Lightmapper's indirect lighting logic to match Godot 3.5's CPU Lightmapper.
Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
2023-10-13 14:33:55 -03:00
Gilles Roudière c820c8d1e6 Allow disabling the built-in tilemap navigation 2023-10-13 17:42:28 +02:00
bruvzg 54eae6221a
[Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS. 2023-10-13 15:48:03 +03:00
Rémi Verschelde 51f81e1c88
Merge pull request #82957 from bruvzg/fs_case_check
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
bruvzg 9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde 1eabeb620b
Merge pull request #83038 from jsjtxietian/update-doc-mention-spinbox-reset-habeviour
Update SpinBox documentation to include resetting to min/max behaviour
2023-10-13 11:43:59 +02:00
Jakub Marcowski cb954c6bab Implement Vector2i/3i/4i methods: distance_to and distance_squared_to 2023-10-12 13:46:49 +02:00
Rémi Verschelde 3126001ef0
Merge pull request #83013 from RobTheFiveNine/documentation/start_button
Add documentation on which buttons JOY_BUTTON_START corresponds to
2023-10-11 22:44:11 +02:00
Rémi Verschelde efc0b08371
Merge pull request #82832 from bruvzg/oidn_external_exe
Re-add optional OIDN denoise as an external executable.
2023-10-11 22:38:18 +02:00
Rémi Verschelde 587f084200
Merge pull request #82595 from paulloz/fix-fileaccess-error-handling
Error handling for `FileAccess.get_file_as_*`
2023-10-11 22:37:54 +02:00
Rémi Verschelde 357a57b828
Merge pull request #82557 from RadiantUwU/patch-2
Fix `RefCounted.unreference()` documentation providing wrong info.
2023-10-11 22:37:30 +02:00
bruvzg 899e56de5d
Re-add optional OIDN denoise as an external executable. 2023-10-11 19:52:18 +03:00