Commit Graph

53029 Commits

Author SHA1 Message Date
bruvzg
10547deb3d [Windows TTS] Fix queuing utterances in rapid succession.
(cherry picked from commit a9d326db60)
2023-04-26 14:14:06 +02:00
bruvzg
357e2ec05d [Image Font] Fix fractional ascent for font with odd height.
(cherry picked from commit 41f7bb2025)
2023-04-26 14:14:06 +02:00
HolonProduction
769daf79e2 Fix multi-line string highlighting with single quotes.
(cherry picked from commit bdb7045e2c)
2023-04-26 14:14:05 +02:00
Hugo Locurcio
39c0392a64 Document using AnimatableBody when needed in StaticBody description
(cherry picked from commit 68117d2fc7)
2023-04-26 14:14:05 +02:00
kleonc
6ac70ff5da TileMap Fix rendering odd-sized tiles
(cherry picked from commit c49a7feae3)
2023-04-26 14:14:05 +02:00
Rémi Verschelde
d78691d44f
Merge pull request #76405 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.3) - 2nd batch
2023-04-25 14:24:38 +02:00
Yuri Sizov
b5bd99d9e6 Update changelog for 4.0.3 2023-04-24 18:10:21 +02:00
Adam Scott
e6478f5be3 Fix typo when parsing LSP function parameters
(cherry picked from commit 879791e305)
2023-04-24 17:08:56 +02:00
Haoyu Qiu
2eb29d0684 Fix various typos in the classref
(cherry picked from commit 766807506c)
2023-04-24 17:08:56 +02:00
Paweł
32dc3b66ab Remove double thes from documentation
(cherry picked from commit 4431cdd154)
2023-04-24 17:08:56 +02:00
David Giardi
75f3ce618e Fix blurry borders on antialiased FlatStyleBox
This is a fix of the antialiasing logic of FlatStyleBox.
It is now possible to have smooth rounded corners while keeping
the edges sharp on the pixels.

The antialiasing gradient positioning is ajusted so that the "hard"
border corresponds to the middle of that gradient instead of one end.
Checked against rendering of rounded rectangles in a vector graphics
software.

(cherry picked from commit 2ef20045b1)
2023-04-24 17:08:55 +02:00
kobewi
f39f354313 Add missing LineEdit constants in editor theme
(cherry picked from commit f462efd7f1)
2023-04-24 17:08:55 +02:00
Michael Alexsander
af0dd6591b Remove unnecessary zero multiplications
(cherry picked from commit f057d755ab)
2023-04-24 17:07:09 +02:00
Ninni Pipping
13f368067f Improve description of Callable.bind/unbind
(cherry picked from commit 0332fd5e8f)
2023-04-24 17:03:58 +02:00
VolTer
10d8a67267 Fix Quaternion's brief description
(cherry picked from commit 5c0e3b26a6)
2023-04-24 17:03:57 +02:00
Hugo Locurcio
83c3963235 Improve print_rich() documentation
- List all supported colors.
- Mention URL tag support limitations.
- Fix and tweak code example to do what it says.
- Remove outdated notice about lack of Windows support (but mention
  that only Windows 10 and later support ANSI code conversion).

(cherry picked from commit ec277d804e)
2023-04-24 17:03:57 +02:00
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