Commit Graph

53013 Commits

Author SHA1 Message Date
kleonc 13cfbe6a25 Fix deserializing resource usage debug data
(cherry picked from commit 3e7752463a)
2023-04-24 17:03:57 +02:00
angel-721 d936cc8b9e Rename internal root canvas group to start with underscore
(cherry picked from commit e347d7d64d)
2023-04-24 17:03:57 +02:00
Yuri Sizov 4a140b61f1 Use Point2 consistently in Control methods
While Size2 and Point2 are just aliases,
which is why this doesn't fail compilation,
it's nice to have things consistent.

(cherry picked from commit 4fed87320c)
2023-04-24 17:03:56 +02:00
Evgeniy Vasilyev d46cb8e65c Fixed typo in DisplayServer.ScreenOrientation docs
(cherry picked from commit 5ba98e59f0)
2023-04-24 17:03:56 +02:00
Haoyu Qiu c6297f46fe Unify descriptions of vector methods
* is_equal_approx
* normalize
* length_squared
* posmod
* posmodv

(cherry picked from commit 6cd8e706fa)
2023-04-24 17:03:56 +02:00
Rattle22 12da78cf30 Fix Typo in NavigationServer2D
(cherry picked from commit 5c387cbdb3)
2023-04-24 17:03:55 +02:00
Tae Hong Ahn a27b427b1f update set_smooth_group description
fixes https://github.com/godotengine/godot/issues/74452

(cherry picked from commit 5a775ac08c)
2023-04-24 17:03:55 +02:00
bruvzg 9c1ea28092 Improve line BiDi handling, prevent crash on recursive log updates.
(cherry picked from commit 282e4231c2)
2023-04-24 17:03:55 +02:00
bruvzg 3a1af9393f [TextServer] Improve BiDi error handling.
(cherry picked from commit d8d88e1530)
2023-04-24 17:03:54 +02:00
clayjohn 2c773e12b8 Use angle_rand to calculate base_angle in particles process material
(cherry picked from commit 821917ba9f)
2023-04-24 17:01:37 +02:00
Danil Alexeev d31002cfbe GDScript: Add missing member type check when resolving `extends`
(cherry picked from commit 66279b98b6)
2023-04-24 17:00:35 +02:00
Pedro J. Estébanez 3a5bc7455e Make EditorToaster's handler thread-safe
(cherry picked from commit 84183f89e6)
2023-04-24 16:52:26 +02:00
Ninni Pipping 3fcaffc96b Fix `Image.compress` description
Description mentioned `mode` instead of `source`

(cherry picked from commit 6312fe2fae)
2023-04-24 16:52:25 +02:00
kleonc ebcc7b4b98 Fix OBJ mesh importer smoothing handling
(cherry picked from commit e8900a2cac)
2023-04-24 16:52:25 +02:00
Hakim 756d809ef1 Change cursor consistently when panning in the 2D Editor
(cherry picked from commit f4edbe6341)
2023-04-24 16:52:25 +02:00
Paweł ad5d7c2030 Fix Windows StringFileInfo structure
(cherry picked from commit e15a086bb9)
2023-04-24 16:52:24 +02:00
João Pedro Braz 1a85f6398f Use MODELVIEW_MATRIX for vertex transform when double precision is enabled
This commit updates the double precision vertex transform code from
using the MODEL_MATRIX to now use the MODELVIEW_MATRIX instead.

This can be made possible by transforming the MODELVIEW_MATRIX
back into model space (ie, same space as the MODEL_MATRIX) and then using it as if it were the MODEL_MATRIX.

With this in place we now properly handle VERTEX transformations that
a Material Shader might do, such as billboard-ing.

(cherry picked from commit 63c6f0b93c)
2023-04-24 16:52:24 +02:00
clayjohn ad582cf0b1 Don't store instance transform in RD 3D renderer unless requested
Previously, when using doubles builds of the engine, instance transform was stored no matter what which caused world space particles to accumulate the instance transform twice

(cherry picked from commit 29edd277e4)
2023-04-24 16:52:24 +02:00
Erik Johnson 410b503aac Translate inactive particles to -INF
(cherry picked from commit 6229c2a1f9)
2023-04-24 16:28:30 +02:00
Ninni Pipping 3445fa7dbc Expose more compression formats in Image and fix compress check
Check for compressing ASTC checked if the function for BPTC was present

(cherry picked from commit cf64e2fa47)
2023-04-24 16:28:30 +02:00
Ninni Pipping ccc761dd93 Don't apply scale to autohide theme property
(cherry picked from commit 722597aa97)
2023-04-24 16:28:29 +02:00
Martin Capitanio 2992a99629 Fix blend_shape (shapekey) empty name import.
Corresponds to the Blender glTF-Importer PR
https://github.com/KhronosGroup/glTF-Blender-IO/pull/1902

(cherry picked from commit 8b6fa79eee)
2023-04-24 16:28:29 +02:00
Jason Knight f3907e2fe0 Fix potential null in android text entry system.
(cherry picked from commit f8699d93f6)
2023-04-24 16:28:29 +02:00
clayjohn 27df8b93aa Properly calculate lifetime_split for particles
(cherry picked from commit f35ca4a9c7)
2023-04-24 16:28:28 +02:00
clayjohn 95f5027453 Write out render_mode even when mode is set to default in VisualShaders
(cherry picked from commit 016946b552)
2023-04-24 16:28:28 +02:00
bruvzg e071fb2263 [TextServer] Use dedicated flag for object replacement characters.
(cherry picked from commit d904516e55)
2023-04-24 16:28:28 +02:00
clayjohn d4c9ca3975 Ensure that depth write state is updated before transparent pass in OpenGL3 renderer
(cherry picked from commit ed0c378bda)
2023-04-24 16:28:27 +02:00
Haoyu Qiu df80e2ae43 Tree: Fix offset calculation when there are hidden items
(cherry picked from commit a083c85521)
2023-04-24 16:28:27 +02:00
cody c1ec270b44 Fix "error X3708: continue cannot be used in a switch" in HTML export
(cherry picked from commit 5062df41a5)
2023-04-24 16:28:27 +02:00
clayjohn aeca8f07fa Check for instancing without relying on instance_count when drawing 2D meshes
This ensures that Particles and MultiMeshes still draw when instance_count is 1

(cherry picked from commit 579ca03e88)
2023-04-24 16:28:26 +02:00
Hugo Locurcio 8a349e4fa9 Allow entering named colors in ColorPicker's hex field
This also makes the hex field wider to allow displaying 9-character
hex code (`#rrggbbaa`) in full, even when using a custom font.

(cherry picked from commit 517dc3654a)
2023-04-24 16:28:26 +02:00
smix8 25518aad27 Fix forced optimization in dev_build
Fixes forced optimization in dev_build.

(cherry picked from commit b18c7481aa)
2023-04-24 16:28:26 +02:00
Hugo Locurcio 9253f415b3 Fix `get_test_texture()` returning an almost fully white texture
The texture's appearance is now similar to the texture that was displayed
on the TestCube node in Godot 2.x.

(cherry picked from commit e4d5cecd4c)
2023-04-24 16:28:26 +02:00
Riteo Siuga 214ad50498 Convert the logo's text outlines into paths
This avoids rendering issues with ThorVG and other renderers (which
don't support the `paint-order` property) at a slight cost in file size.

This approach has already been used by the main icon.

(cherry picked from commit af9372eb59)
2023-04-24 16:28:25 +02:00
Mallardbro e801fe83d1 Correct the side mentioned with focus_neighbor_right and focus_neighbor_top.
A small typo with the definitions of `focus_neighbor_right` and `focus_neighbor_top`. Both use "bottom" rather than the correct side for each.

(cherry picked from commit c25d015d06)
2023-04-24 16:28:25 +02:00
Johan Mattsson 5bcff18c76 macOS export: Fix validation of codesigning certificate password
(cherry picked from commit 76e1d1363b)
2023-04-24 16:28:25 +02:00
Rémi Verschelde effefe9feb Windows TTS: Use HashMap instead of RBMap for ids
And fixup includes in other implementations.

(cherry picked from commit 92b9806dcc)
2023-04-24 16:28:24 +02:00
Koyper 7e482f420d Fixed RichTextLabel wrong selection offset in padded table cell.
(cherry picked from commit 6f11cf7d31)
2023-04-24 16:28:24 +02:00
Ricardo Subtil b5ff677381 Poll LSP/DAP clients for connection status updates
(cherry picked from commit 4be4eeea3a)
2023-04-24 14:16:37 +02:00
Haoyu Qiu e7f7de0044 Set font sizes for various styles in editor output panel
(cherry picked from commit 2c0db8222a)
2023-04-24 14:16:37 +02:00
mara a6e15e2f15 Change to_utf8 to to_utf8_buffer and to_ascii to to_ascii_buffer in remaining docs
The method `to_utf8` doesn't exist in Godot 4, but is still mentioned in
the documentation in some places. Replace it with the new name
`to_utf8_buffer`. Same for ascii. Same for C#.

(cherry picked from commit 57dca93718)
2023-04-24 14:16:36 +02:00
kobewi 51fdbf6ac7 Adjust size of some dialogs
(cherry picked from commit 71011e0855)
2023-04-24 14:16:16 +02:00
Ninni Pipping 9902d07966 Document how to make custom min/max for Array
(cherry picked from commit 96ab31a711)
2023-04-24 14:04:20 +02:00
Dimitri A ce7fd66896 docs/FileDialog: Use clickable references
This replaces two [code][/code] blocks with clickable refs to [enum Access] and [member file_mode] respectively.

(cherry picked from commit a5778da55b)
2023-04-24 14:04:20 +02:00
Yuri Sizov df5df11916 Always cache parent visibility in CanvasItem
(cherry picked from commit fd6a743823)
2023-04-24 14:04:19 +02:00
kobewi 8c372f4109 Fix method dialog label
(cherry picked from commit c399d4f26c)
2023-04-24 14:04:19 +02:00
Haoyu Qiu d0c50d820b Fix connect signal dialog not allowing Unicode method name
(cherry picked from commit 936c9e83b4)
2023-04-24 14:04:19 +02:00
Ricardo Buring deb22e2381 Fix typo bug in convex-convex separating axis test
(cherry picked from commit d7aed57b60)
2023-04-24 14:04:19 +02:00
Juan Linietsky 4616de0c5d Fix CI build error
Fixes potential use of uninitialized variable.

(cherry picked from commit 37362202a4)
2023-04-24 14:04:18 +02:00
fuzzy@notepc 08b825396f Fix #75790, where creating Ceil(Vector2) node in Visual Shader Editor
crashes engine due to index out of bounds.

(cherry picked from commit c6a45f1031)
2023-04-24 14:04:18 +02:00