Commit Graph

59430 Commits

Author SHA1 Message Date
Micky b0318cfb3d Overhaul AABB's documentation
(cherry picked from commit 8467245526)
2024-01-25 17:40:44 +01:00
Micky 4f60f850f7 Specify how CanvasTexture does not work in 3D
(cherry picked from commit 52d062560b)
2024-01-25 17:40:44 +01:00
Steven Schoen e19f2c6b76 Clarify Node doc: get_child returns null for invalid index
(cherry picked from commit 3c416f3a64)
2024-01-25 17:40:44 +01:00
Micky 3b2cdc2cc5 Overhaul Node Documentation
(cherry picked from commit b5ca06c9ca)
2024-01-25 17:40:44 +01:00
Gwen 27d08e2d87 Correct C# syntax in _validate_property example for the Object class
(cherry picked from commit e40b23c619)
2024-01-25 17:38:16 +01:00
Nico 49cec88ff9 Complete the docs for Quaternion
(cherry picked from commit d67e7f8729)
2024-01-25 17:38:15 +01:00
Markus Sauermann bb8b208ede Explain which nodes receive `NOTIFICATION_WM_SIZE_CHANGED`
(cherry picked from commit 361aa909da)
2024-01-25 17:38:15 +01:00
A Thousand Ships cc90979f35 Clarify that `@GlobalScope.clamp` does not do component-wise clamping
(cherry picked from commit e7dbb7a267)
2024-01-25 17:38:15 +01:00
Septian e35bbb2f85 Fix various typos in documentation
(cherry picked from commit d83cad6d9b)
2024-01-25 17:38:15 +01:00
Micky e00f2e598a Link to the "article" in the docs instead of saying "article"
(cherry picked from commit 78c9e2c53a)
2024-01-25 17:38:15 +01:00
ZeferinoI d4114f1631 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" }

(cherry picked from commit 53ab38a34e)
2024-01-25 17:38:15 +01:00
Ricardo Buring cf767ddf29 Fix operator documentation in GDExtension API dump with docs
The type of the right operand is now taken into account.

(cherry picked from commit 82afe58aca)
2024-01-25 17:38:15 +01:00
jsjtxietian 2ba4a7dd3d Add thread guard for force_draw and update relared doc
force_draw must be called from main thread

(cherry picked from commit b88b84ce18)
2024-01-25 17:38:15 +01:00
Gilles Roudière 032d96042d Fixes global transform being wrong on entering tree
(cherry picked from commit 0a726d692a)
2024-01-25 17:19:42 +01:00
Silc Lizard (Tokage) Renew 209aa9821a Make default blend_left consider current blend amount
(cherry picked from commit f8da9460c1)
2024-01-25 17:19:42 +01:00
风青山 f5ecaec1a4 Set an appropriate minimum size for labels in windows that display incorrectly
When the label's `autowrap_mode` is `AUTOWRAP_WORD_SMART` and the initial `text`
is set at the same time, it may have a higher height.

Set an appropriate minimum size for labels in windows that display incorrectly
so that these controls display properly.

(cherry picked from commit f932c6548e)
2024-01-25 17:19:42 +01:00
Fredia Huya-Kouadio 894d629185 Disable automatic permissions request
The feature was added in Godot 4.2, but it goes against recommended best practices for permissions request, as such it's being reverted.
In its place, developers now have to explicitly request the permissions they need to access.

(cherry picked from commit df4f9e8e64)
2024-01-25 17:19:41 +01:00
Bastiaan Olij 41dcabb0cf Fix SSR not working properly in stereo
(cherry picked from commit 10a8b88165)
2024-01-25 17:19:41 +01:00
Haoyu Qiu 4a036b5fe7 Fix ZIPPacker storing file permissions unexpectedly
(cherry picked from commit 7a833c9b2e)
2024-01-25 17:19:41 +01:00
kobewi a1c32a9462 Only update particle velocity when it changes
(cherry picked from commit cb0a37f61a)
2024-01-25 17:19:41 +01:00
S.V.I. Vilcrow 89fd2c30e1 Fix the autocomplete function for the 'self' keyword.
(cherry picked from commit c8fc824608)
2024-01-25 17:19:41 +01:00
Silc Lizard (Tokage) Renew b20ba6bd12 Fix discrete key retrieval method after start
(cherry picked from commit b438e28509)
2024-01-25 17:19:41 +01:00
Silc Lizard (Tokage) Renew 19bb93513a Make unstore AnimationLibrary if AnimationTree is assigned Player
(cherry picked from commit c380b1296a)
2024-01-25 17:19:41 +01:00
kobewi c285b726bb Fix file disappearing when renaming dependencies
(cherry picked from commit 397f0b31e4)
2024-01-25 17:19:41 +01:00
HolonProduction 7c22d5444a Fix regression when autocompleting subscript on get node
(cherry picked from commit 5f72254d4d)
2024-01-25 17:19:41 +01:00
Michael Wörner 1b8d1048ad Restored the ability for linear interpolation to work on a mix of integer and float keyframes.
(cherry picked from commit 12ce2e33b2)
2024-01-25 17:19:41 +01:00
A Thousand Ships 79179351a3 [Editor] Fix threading problems with `TileMap` preview
(cherry picked from commit dbcd82ba67)
2024-01-25 17:03:57 +01:00
Nicholas Foo 4d3e25d09d Fix RichTextLabel.remove_paragraph crash by popping current
(cherry picked from commit c0f8e0061d)
2024-01-25 17:03:57 +01:00
Leo Belda 776938f731 Fix PrismMesh::_create_mesh_array division by 0
(cherry picked from commit 83992fd7bd)
2024-01-25 17:03:57 +01:00
Yuri Sizov 36f34c8f86 Avoid crashes when engine leaks canvas items and friends
(cherry picked from commit 34ecfff672)
2024-01-25 17:03:57 +01:00
Markus Sauermann ba23081eb7 Fix crash caused by stale owner
Adjust `NOTIFICATION_PREDELETE` in `Node` to clean up owned nodes.
Also print a warning, when the owner becomes invalid.

(cherry picked from commit d3d00c7039)
2024-01-25 17:03:57 +01:00
Haoyu Qiu f1f56746b9 Make AnimationTree reference AnimationPlayer instead of AnimationMixer
(cherry picked from commit 7946e84187)
2024-01-25 17:03:57 +01:00
jsjtxietian d41639a4cb Use render method from OS in compositor RD; Update related UI
(cherry picked from commit 453c2246b6)
2024-01-25 17:03:57 +01:00
kit 29811357a3 fix crash on hiding grandparent on mouse exit
(cherry picked from commit 78e1702adb)
2024-01-25 17:03:56 +01:00
bruvzg ee3a87caf1 Fix CanvasOcclusionShaderRD format error with double precision build.
(cherry picked from commit c0a1c5ae61)
2024-01-25 17:03:56 +01:00
Yuri Sizov a3d7978c55
Merge pull request #87534 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.2) - 1st batch
2024-01-24 19:07:00 +01:00
A Thousand Ships 04207a87b8 Clarify `PackedByteArray.decompress*` limitations with external data
(cherry picked from commit 4850b866e8)
2024-01-24 16:38:29 +01:00
clayjohn 03ec65203c Disable scissor test after rendering batches in compatibility renderer
(cherry picked from commit 062e8802b7)
2024-01-24 16:38:29 +01:00
Rémi Verschelde 6d1c2e54bb zlib/minizip: Update to version 1.3.1
Minizip includes previously backported fix for CVE-2023-45853,
and a Debian patch for CVE-2014-9485 was also upstreamed.

(cherry picked from commit 8ead8d2ddb)
2024-01-24 16:38:29 +01:00
Raul Santos e6ea82344a Ignore directory entries in TPZ
Zip files may contain directory entries, they always end with a path
separator and zip entries always use forward slashes for path separators.

There's no need to create the directories included in the zip file,
since they'll already be created when creating the individual files.

(cherry picked from commit 59a5a1eb70)
2024-01-24 16:38:28 +01:00
Lyuma 80bf0cff65 gltf: fix three bugs which prevented extracted textures from being refreshed.
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.

(cherry picked from commit fea4165ca8)
2024-01-24 16:38:28 +01:00
CardboardCarl d11ef2d908 Clarified behavior of RayCast objects when get_collision_point() is used inside a collision shape
(cherry picked from commit 6dfec4f70d)
2024-01-24 16:38:28 +01:00
A Thousand Ships 0c00f3ece2 Redraw `TreeItem` on more changes
* Custom font changes
* Custom draw changes
* Custom as button

(cherry picked from commit 552594ffdc)
2024-01-24 16:38:28 +01:00
Bartłomiej T. Listwon c8bb637c57 Prevent overriding file info of another file when reimport creates files
(cherry picked from commit aae48ac2b6)
2024-01-24 16:38:28 +01:00
jsjtxietian ce34a9b9a1 Fix CollisionObject3D Gizmo not updated after calling shape_owner_* functions
(cherry picked from commit 80a488a242)
2024-01-24 16:38:28 +01:00
Occalepsus c12a46d3f4 Fix body leaving area gravity influence
(cherry picked from commit 492f1c2406)
2024-01-24 16:38:28 +01:00
Erik Johnson 837aeeac89 Add descpription for rendering/limits/spatial_indexer/threaded_cull_minimum_instances
(cherry picked from commit 498f46063d)
2024-01-24 16:38:28 +01:00
31 853b505228 Include animation.length in Animation example
The length of an Animation isn't automatically set by adding keys, and
it must be set manually. The existing example only has keys up to 0.5s,
so the default value of 1.0s may be acceptable. However, this results in
unexpected behavior for anyone who makes an animation longer than 1.0s.
Include animation.length in the example because it's important.

Also, increase the key position to 2.0s so it won't be confusing that
the assignment is somewhat redundant.

(cherry picked from commit 698c67d540)
2024-01-24 16:38:28 +01:00
Alessandro Famà acaa906093 Fix Dummy audio driver initialization issue on WASAPI output device initialization failure
`AudioDriverWASAPI::init` consistently returns `Error::OK`, even when encountering a failure during the initialization of the output device. This behaviour blocks the dummy driver from initializing in `AudioDriverManager::initialize`.

(cherry picked from commit 998078f8d7)
2024-01-24 16:38:27 +01:00
Micky 55baf9fc58 Add missing descriptions to PrimitiveMesh and SoftBody3D
(cherry picked from commit a33777d49d)
2024-01-24 16:38:27 +01:00