Commit Graph

52884 Commits

Author SHA1 Message Date
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
Pedro J. Estébanez a37eb88c5b Lift restriction that resource load thread requester has to be the initiator
(cherry picked from commit c51229491d)
2023-04-24 14:04:18 +02:00
Rémi Verschelde 90b4ca2e50
i18n: Sync translations with Weblate 2023-04-20 13:26:36 +02:00
Rémi Verschelde 16a6bdd423
Merge pull request #75786 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.3) - 1st batch
2023-04-11 21:01:58 +02:00
kobewi 177be9bd37 Initialize editor values on first launch
(cherry picked from commit b0eadcfbce)
2023-04-10 11:32:28 +02:00
Yuri Sizov 967ad04928 Add changelog for 4.0.3 2023-04-07 18:08:27 +02:00
mightygoat 66633d19a1 Fix the limit for interpolation of R0 with respect to metallic and SSR
Shlick term

(cherry picked from commit 2c000cb72f)
2023-04-07 17:44:40 +02:00
smix8 675547845e Fix NavigationObstacles not being added to avoidance simulation
Fixes NavigationObstacles not being added to avoidance simulation.

(cherry picked from commit aadf33efd8)
2023-04-07 17:44:40 +02:00
Ziya Erkoc 210879d284 Warn if a concave shape is assigned to ConvexPolygonShape2D
(cherry picked from commit 6fb113f59f)
2023-04-07 17:44:40 +02:00
Hugo Locurcio 66a8ddf61c Fix CompressedTextureLayered description in the class reference
This also updates the list of compression modes available for textures.

(cherry picked from commit 0d24016db0)
2023-04-07 17:44:40 +02:00
smix8 c62f8f9319 Fix AudioStreamPlayer2D crash when PhysicsServer2D runs on thread
Fixes AudioStreamPlayer2D crash when PhysicsServer2D runs on thread due to empty PhysicsSpace

(cherry picked from commit a5351086b0)
2023-04-07 17:44:39 +02:00
bruvzg ba5335f3fb [Web] Fix keycode/physical keycode mixed up.
(cherry picked from commit 744bf604bf)
2023-04-07 17:44:39 +02:00
Malcolm Nixon 7c62d1106e Modify "physics/3d/solver/contact_max_allowed_penetration" precision to three significant digits, so values down to "0.001" can be specified.
Updated additional 2D and 3D physics parameters based on team recommendations

Co-Authored-By: Ricardo Buring <rburing@users.noreply.github.com>
(cherry picked from commit 1d1d3c71e0)
2023-04-07 17:44:39 +02:00
bruvzg 05fa6e314a [SVG Font] Keep a copy of UTF-8 XML source string during the whole SVG processing.
(cherry picked from commit 19179238fa)
2023-04-07 17:44:39 +02:00
Martin Capitanio 233bd4abaa SVG: fix tvg::Picture->size() and scale based errors.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit bfc498f3d0)
2023-04-07 17:44:39 +02:00
umarcor a99b046412 [ci/windows] remove obsolete 'tools' in the name
(cherry picked from commit 2abadbb58b)
2023-04-07 17:44:39 +02:00
Rémi Verschelde 2805f7b36d CI: Visibly print trailing whitespace when static checks fail
GitHub Actions seems to be hiding colored whitespace, and after lots of
attempts I couldn't find a way to work it around.

So instead I'm using a perl expression to replace trailing spaces with
`·` and tabs with `<TAB>` in the ANSI colored diff output. This ensure
that they're visible, and they are properly colored as expected too.

(cherry picked from commit 266280ffca)
2023-04-07 17:44:39 +02:00
Fredia Huya-Kouadio 589c32ec55 Fix the issue preventing dragging in the 2D and visual shader editor
(cherry picked from commit 2c7633dce5)
2023-04-07 17:44:39 +02:00
HK-SHAO 9598eb9638 Fix the Python type error when creating the .sln file
(cherry picked from commit 19a8efc875)
2023-04-07 17:44:39 +02:00
Lyuma ba9f2981f1 gltf: Remove obsolete hack to embed gltf textures in advanced import
(cherry picked from commit bd020b7d92)
2023-04-07 17:44:39 +02:00
Bartłomiej T. Listwon 1f51ceddf3 Fix moving position indicator out of bounds in FileAccessMemory
(cherry picked from commit bff0c71e2e)
2023-04-07 17:44:38 +02:00
yedpodtrzitko eab0386934 ci: wait for static check results before starting builds
(cherry picked from commit 93b7bcb33d)
2023-04-07 17:44:38 +02:00
Johan Aires Rastén 585f4ed737 GraphNode ignore non-visible children for minimum size.
(cherry picked from commit 9a60c4affb)
2023-04-07 17:44:38 +02:00
Yuri Sizov cacc6c5ed5 Prevent color conversion of the big Godot logo
Use an off-white color from the palette that we explicitly don't convert.

(cherry picked from commit ce741df43d)
2023-04-07 17:44:38 +02:00
Marius Hanl 817da41d55 Fix some theme values affect the editor by setting a default value for the theme constant 'h_separation' for MenuBar and Button and a default value for the theme color 'background_color' for TextEdit
(cherry picked from commit c0905bc0af)
2023-04-07 17:44:38 +02:00
Andrés Botero 02d0f090c0 Added guide button to controller db, changed to use secret XInput function.
(cherry picked from commit f249a9ce19)
2023-04-07 17:44:38 +02:00
Rindbee 2b0acb61be Fix RemoteTransform2D could fail to update AnimatableBody2D's position or rotation
Configure the transform per condition, and then only set it once to
prevent multiple `NOTIFICATION_LOCAL_TRANSFORM_CHANGED` notifications
from being sent.

(cherry picked from commit 100b4b1f28)
2023-04-07 17:44:38 +02:00
kobewi 88d446f6c6 Prevent off-screen controls in editor
(cherry picked from commit 55b50703d7)
2023-04-07 17:44:38 +02:00
kobewi 87a9d2c87e Improve editor state initialization
(cherry picked from commit 13c8a9890d)
2023-04-07 17:44:38 +02:00
kobewi 03827485d7 Properly remember snapping options per-project
(cherry picked from commit 45b47d5584)
2023-04-07 17:44:38 +02:00