Commit Graph

48057 Commits

Author SHA1 Message Date
Max Hilbrunner 5b84583b95
Merge pull request #67254 from TechnoPorg/doc-projection-class
Fully document the Projection class.
2022-10-21 18:38:32 +02:00
Max Hilbrunner 05e68196c3
Merge pull request #67648 from Calinou/doc-cylindershape3d-bugs
Document known issues with CylinderShape3D
2022-10-21 18:35:06 +02:00
Max Hilbrunner 13138b307b
Merge pull request #67656 from MewPurPur/instance🧹
Fix minor mistakes throughout the documentation
2022-10-21 18:19:32 +02:00
Max Hilbrunner d145c9b1a7
Merge pull request #67684 from patchfx/fix-typo-in-draw-rect-region
Fix tp_canvas_item typo in _draw_rect_region
2022-10-21 18:13:45 +02:00
Max Hilbrunner 8ebc8813d5
Merge pull request #67314 from anvilfolk/quote-fix
Fix single-quotes incorrectly escaped when dragging into script editor
2022-10-21 18:12:09 +02:00
Max Hilbrunner 5cefc07d90
Merge pull request #67444 from nonunknown/array_pick_random
Add ability to pick random value from array
2022-10-21 16:25:52 +02:00
Max Hilbrunner c4c35ab77a
Merge pull request #67627 from KoBeWi/tilter
Fix texture filter and repeat in TileMap
2022-10-21 13:54:31 +02:00
VolTer 05a9637d5d Fix small mistakes throughout much of the documentation 2022-10-21 00:20:59 +02:00
Clay John 72b845b287
Merge pull request #67506 from squashiv/master
Expose Shape2D::get_rect to scripting
2022-10-20 13:26:40 -07:00
Richard Patching 5de65bb2d7 Fix tp_canvas_item typo in _draw_rect_region 2022-10-20 20:04:45 +01:00
Nonunknown 9f4dbf415d add ability to pick random value from array 2022-10-20 08:39:47 -03:00
squash 247a93845d Expose Shape2D::get_rect to scripting 2022-10-20 11:26:49 +03:00
TechnoPorg 678eec7530 Fully document the Projection class.
Projection is a 4x4 matrix that applies a projective transformation.
2022-10-19 18:30:37 -06:00
Hugo Locurcio e7d72eedc6
Document known issues with CylinderShape3D 2022-10-19 23:43:18 +02:00
kobewi 2f9cbbe0fb Fix texture filter and repeat in TileMap 2022-10-19 23:23:40 +02:00
Clay John a8c805be29
Merge pull request #66546 from KoBeWi/rfeipletaetr
Add methods to get target filter and repeat
2022-10-19 13:55:57 -07:00
Clay John f63b2a9c05
Merge pull request #66950 from Calinou/doc-surfacetool-generate-normals-smooth-groups
Document `SurfaceTool.generate_normals()` interaction with smooth groups
2022-10-19 13:51:58 -07:00
Max Hilbrunner d148613bb1
Merge pull request #66279 from aaronfranke/control-min-size
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19 22:40:52 +02:00
Max Hilbrunner f066f2c0de
Merge pull request #66940 from aaronfranke/doc-get-tr-aabb
Remove the global space `get_transformed_aabb` helper method
2022-10-19 22:40:02 +02:00
Max Hilbrunner 23dec5c54f
Merge pull request #65613 from Commander-Firestrike/audiostreamgeneratorplayback_docs_fix_0
Update AudioStreamGeneratorPlayback.xml
2022-10-19 22:15:23 +02:00
Max Hilbrunner 847cef99bf
Merge pull request #66134 from MewPurPur/fix-outdated-editor-settings
Improve some Text Editor editor settings
2022-10-19 22:11:01 +02:00
Max Hilbrunner c660cc4adc
Merge pull request #66410 from RedMser/patch-1
Fix `Control.get_global_rect` documentation
2022-10-19 22:06:43 +02:00
Max Hilbrunner ee772f109f
Merge pull request #66326 from zak-grumbles/editor_script_reference_docs
Add note regarding RefCounted to EditorScript docs
2022-10-19 22:02:46 +02:00
Max Hilbrunner e6311c8e5e
Merge pull request #67001 from KoBeWi/🎲
Fill random docs
2022-10-19 21:58:03 +02:00
Max Hilbrunner 21c90b4c7d
Merge pull request #67564 from bruvzg/macos_wide_alert
[macOS] Fit OS::alert to the text width for better readability.
2022-10-19 21:52:40 +02:00
Max Hilbrunner b209065e89
Merge pull request #67543 from clayjohn/PLU-default
Use CameraAttributesPractical in the editor default environment
2022-10-19 21:49:57 +02:00
Max Hilbrunner cb36006f9e
Merge pull request #67100 from Mickeon/doc-peeves
Tweak `@GDScript` documentation overall
2022-10-19 21:45:35 +02:00
Max Hilbrunner 431012e148
Merge pull request #67208 from Mickeon/doc-peeves-the-peevening
Tweak `@GlobalScope` functions documentation overall
2022-10-19 21:12:38 +02:00
Max Hilbrunner 523f6263e4
Merge pull request #67249 from wuyingnan/fix_quaternion_typo
Fix a comment typo in node_3d.h
2022-10-19 21:02:14 +02:00
Fredia Huya-Kouadio 27f69b6f8b
Merge pull request #67576 from m4gr3d/delete_old_godot_lib_main
Delete Android godot-lib with the old naming scheme
2022-10-19 09:32:58 -07:00
Max Hilbrunner 5f7906a289
Merge pull request #67527 from BastiaanOlij/fix_tracker_names
Fix two typos in tracker names and a bug in OpenXR haptic feedback
2022-10-19 18:18:36 +02:00
kobewi 4efa851d7f Add methods to get target filter and repeat 2022-10-19 14:41:42 +02:00
Yuri Rubinsky 61051a44cc
Merge pull request #67583 from paddy-exe/fix-distane-fade-node 2022-10-19 09:06:50 +03:00
Fredia Huya-Kouadio 20d1c882cd Delete Android godot-lib with the old naming scheme
Update the `clean` task configuration: running `gradlew clean` will now properly delete the generated build artifacts
2022-10-18 20:36:40 -07:00
Micky a34cf161aa Tweak `@GDScript` documentation overall
- Made use of [param] more frequently,
- Link to other classes' documentation more often, improve the examples.
- Made the writing style closer to how the rest of the documentation is formatted.
- Ensure these are called "functions", not "methods".
- Add [b]Warning:[/b] where more appropriate than [b]Note:[/b]

Most notably, removed " It must be a static string, so format strings can't be used.", as this behavior is actually a bug.
2022-10-18 22:54:46 +02:00
clayjohn 15e14c5b59 Use CameraAttributesPractical in the editor default environment
This avoids forcing DoF in the editor when physical light units are enabled
2022-10-18 10:15:53 -07:00
Patrick 91a9e7af3f Fix typo in VisualShader DistanceFade node 2022-10-18 18:20:31 +02:00
Bastiaan Olij 4a96fce801
Merge pull request #67529 from BastiaanOlij/filter_out_htc_paths
Filter out HTC OpenXR paths based on extension
2022-10-19 01:53:56 +11:00
Micky 474edca100 Tweak `@GlobalScope` functions documentation overall
Generally:
- Made use of [param] more frequently;
- Link to other classes' documentation more often;
- Improve and add more examples;
- Ensure that multiple comments of an codeblock example are spaced out equally for better readability;
- Made the writing style closer to how the rest of the documentation is formatted;
- Ensure these are called "functions", not "methods".
- Fixed a few typos.
- Touched up a few cases of zero being written as "zero" or "0" where "0" or "0.0" would be more appropriate.
- Removed mentions of "(real)". In 3.x, this was associated with floats, because TYPE_FLOAT was called TYPE_REAL.

More specifically:
- Every type-safe version of a function (such as `ceili` has a consistent final note ("A type-safe version of [method ceil], returning a [int]").
- Added more details to `randomize`, `seed`.
- Corrected `floori()`'s description. It's not the same as `int()`. This was not correct behavior and has been fixed.
2022-10-18 15:36:18 +02:00
Bastiaan Olij 19f9fe1dec Filter out HTC OpenXR paths based on extension 2022-10-19 00:09:54 +11:00
Aaron Franke 9ebd8c5bb5
Remove the global space `get_transformed_aabb` helper method 2022-10-18 07:30:31 -05:00
bruvzg a3cb6163cc
[macOS] Fit OS::alert to the text width for better readability. 2022-10-18 12:11:39 +03:00
Bastiaan Olij 2e3662acbd
Merge pull request #67561 from BastiaanOlij/fix_openxr_missing_itos
Fix missing itos for OpenXR logging
2022-10-18 17:00:57 +11:00
Bastiaan Olij 45ce45c001 Fix missing itos for OpenXR logging 2022-10-18 13:55:39 +11:00
João Martins 97bada99ee Fix single-quotes incorrectly escaped when dragging into script editor 2022-10-17 16:05:53 -04:00
Rémi Verschelde 28a4eec9a7 Merge pull request #67532 from Faless/ws/4.x_fix_poll
[WebSocket] Fix client failing to connect to direct IP.
2022-10-17 17:32:16 +02:00
Rémi Verschelde b545d55df9 Merge pull request #67539 from bruvzg/check_ctx
Check if Vulkan context for the window exists before resizing it to avoid unnecessary error messages.
2022-10-17 17:32:07 +02:00
Rémi Verschelde 667bc202b5 Merge pull request #67179 from BastiaanOlij/openxr_add_refresh_rate_extension
Adding support for the OpenXR Display Refresh Rate extension
2022-10-17 17:32:01 +02:00
Rémi Verschelde 3c4b110ae0 Merge pull request #67521 from nikitalita/speed_up_texture_pos
Speed up `find_texture_pos_for_glyph()`
2022-10-17 17:31:54 +02:00
Rémi Verschelde fde8838316 Merge pull request #67463 from aaronfranke/num-real-negative
Fix big negative numbers printing incorrect decimals in `num_real`
2022-10-17 17:31:47 +02:00