Commit Graph

1853 Commits

Author SHA1 Message Date
Chris verBurg
019b8f009b Link to Container tutorial
Users happening across any of the Container pages may not already know the intent of Containers, or which others are available.  This commit adds a link to the existing "GUI containers" page in their tutorials sections.

(cherry picked from commit 3b941ed98cfb1f72c35684f1d4d458dacd482c63)
2022-07-27 14:28:54 +02:00
02eef8fc57 Ported: Check for null when retrieving clip data item text on Android - madmiraal
fe60de2c6a
2022-07-27 14:28:26 +02:00
Haoyu Qiu
957fcb67b1 Load fallback icon for custom class when no icon available
(cherry picked from commit ba90778f1cb670db34e3d51923456e90b29fa1c4)
2022-07-27 14:27:25 +02:00
ScottVMariotte
d858779450 Replaced loops_current with end_loop
(cherry picked from commit c526ee6683b74a8e0b283b1630dd29c5280aae19)
2022-07-27 14:27:06 +02:00
Rémi Verschelde
e439495ea4 Relax version warning in clang-format precommit hook
Closes #60778.

(cherry picked from commit 9e66a947e4ac67c12c24b94db155f4ffadc371d4)
2022-07-27 14:26:31 +02:00
Rémi Verschelde
9cbdec7d87 SCons: Don't enable any -Werror=return-type outside werror=yes
We shouldn't presume that future compilers will not have false positives or
find new occurrences of this warning, which would break compiling old versions
of the engine without passing custom `CXXFLAGS`.

Follow-up to #60652.

(cherry picked from commit e55d30768a83f027f2c36e106e0ad5320723709d)
2022-07-27 14:26:16 +02:00
Rémi Verschelde
721c41ee47 SCons: Disable -Werror=return-type for GCC 12+ due to regression
Works around and thus closes #58747.
Supersedes #60613.

(cherry picked from commit 01f8f17b67eb3ebbde5489eb6ee96d332e368d14)
2022-07-27 14:25:59 +02:00
Rémi Verschelde
4ca6458457 Crash handler: Use print_error to include backtrace in logs 2022-07-27 14:25:16 +02:00
285c02bf76 Ported: Add autocompletion for AnimatedSprite.play() - timothyqiu
0f7f3d08ba
2022-07-27 14:23:27 +02:00
2c4a3f686b ported: Expose tile_texture property - KoBeWi
0b5289cadf
2022-07-27 14:19:41 +02:00
Hugo Locurcio
263c6ab535 Use physical keys for numpad emulation in the 3D editor
This makes numpad emulation work on non-QWERTY keyboard layouts
more reliably.
2022-07-27 14:17:52 +02:00
Gustav
7126f79cc6 Stop reset of MultiMesh properties on populate
ColorFormat and CustomFormat is not changed when populate is called.
2022-07-27 14:17:19 +02:00
Pawel Lampe
106c45519b Add ability to bake_navigation_mesh off thread.
This feature makes it possible to workaround problems such as:
 - long baking time due to heavy synchronization when parsing geometry
   from mesh instances
 - crash when freeing `NavigationMeshInstance` while baking
 - errors when actively baking node tree is being detached from the
   scene tree
2022-07-27 14:14:50 +02:00
lawnjelly
da628411d2 Physics Interpolation - Flush transforms after physics tick
Leftover transforms from the physics tick were being flushed during idle, which was causing problems for physics interpolation.

This PR flushes the transforms at the end of the physics tick when physics interpolation is active.
2022-07-27 14:14:36 +02:00
77a399398d Small todo change. 2022-07-27 14:14:23 +02:00
Haoyu Qiu
1b18fda613 Document RichTextLabel append_bbcode/parse_bbcode always return OK 2022-07-27 14:11:37 +02:00
bruvzg
127060d953 Fix export plugins after embedded PCK loading changes. 2022-07-27 14:10:05 +02:00
kleonc
e992e44d75 Fix inspecting nested dictionaries/arrays when debugging 2022-07-27 14:09:44 +02:00
Hugo Locurcio
724566309b Print warning in SpatialMaterial when depth and triplanar are active
Using both depth mapping and triplanar mapping isn't supported.
2022-07-27 14:09:11 +02:00
3a4cd703ac Fix compile. 2022-07-27 14:07:52 +02:00
37413614eb Ported: Add an inspector preview for BitMap - fire-forge, timothyqiu
e8d1552af2
2022-07-27 14:04:48 +02:00
FireForge
57bdac4e2b Add a RayCast2D.cast_to editor handle 2022-07-27 14:02:38 +02:00
Haoyu Qiu
b33251a6f5 Fix left aligned integer sign in string formatting 2022-07-27 13:57:44 +02:00
b1fa7891f9 Ported: Improve documentation for tonemapping operators - Calinou
035cb7fcb0
2022-07-27 13:57:19 +02:00
smix8
1317f7000a Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance
Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance
2022-07-27 13:54:43 +02:00
a9df89703c Ported: TileMap: Use const ref for all Vector2 parameters - akien-mga
2834332591
2022-07-27 13:54:29 +02:00
9071569b3b Ported: Document the ProximityGroup class - Calinou, MJacred
fb345a924d
2022-07-27 13:46:51 +02:00
Hugo Locurcio
342e09db7b Document workarounds for 2D line and polygon antialiasing 2022-07-27 13:41:51 +02:00
86045019c4 Ported: doc: Fix a couple broken links to a moved page - akien-mga
8ee69a88c1
2022-07-27 13:41:36 +02:00
04e45474bb Also apply the previous fix to cscript. 2022-07-27 13:38:43 +02:00
Haoyu Qiu
cdeba9e5d1 Fix incorrect usage for some export variables 2022-07-27 13:37:40 +02:00
b9fb0ae733 Ported: Backport the new Tween system as SceneTreeTween - timothyqiu, KoBeWi
153dc4d57e
2022-07-27 13:37:17 +02:00
bruvzg
814f76bf6b Fixed implementation of RTL remove_line()
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-07-27 13:08:20 +02:00
Haoyu Qiu
1980eeaa36 Fix external link icon black background 2022-07-27 13:07:56 +02:00
Hugo Locurcio
de8e9fc231 Add a Skew property to StyleBoxFlat
This makes it possible to create more aesthetically pleasing
styleboxes for GUI theming, especially in games that have
a futuristic appearance (where skewed buttons and progress bars
are common).
2022-07-27 13:07:30 +02:00
smix8
fa0b1f561a Expose VisualServer.texture_set_proxy() to GDScript
Expose VisualServer.texture_set_proxy() to GDScript
2022-07-27 13:06:42 +02:00
lawnjelly
3a191189ca Physics interpolation - fix streaking when unhiding nodes
The data flow to the VisualServer of current and previous transforms is essential for allowing correct interpolation. An optimization was present that disabled sending transforms when nodes were hidden, however this meant that when unhidden, nodes would interpolate incorrectly from the last transform received when hiding, rather than the up to date previous transform.

This PR disables the optimization and sends always sends transforms when a node is interpolated.
2022-07-27 13:06:20 +02:00
b26a1cd3b4 Ported: [3.x] Improve embedded PCK loading and exporting. - bruvzg
bea7c9be5d
2022-07-27 09:33:39 +02:00
twi
0768f95415 Update link to vector2_angle_to_point.png 2022-07-27 09:05:31 +02:00
Silc 'Tokage' Renew
3250bdc1e4 fixed rotated RootMotionView grid glitch
(cherry picked from commit df89969865ffe84d36a666716934089afa16c51f)
2022-07-27 09:04:43 +02:00
kobewi
15a58cabc0 Expose move_to_trash()
(cherry picked from commit b80e52f04899d28ea191ce3eaad9fdb76bc11b52)
2022-07-27 09:04:19 +02:00
kleonc
78aff244f1 Fix Image.blit_rect/blend_rect() for negative p_dest point
(cherry picked from commit 4038bc0c369578c7483a5b1eae31e1ab4f35db34)
2022-07-27 09:03:55 +02:00
Rémi Verschelde
a0f698d4a6 Linux: Use pkg-config for alsa, libudev and GL too
It's not needed on most distros as those are found in standard lib
and include paths, but on NixOS they're all in non-standard prefixes,
so we need to rely on information provided by pkg-config.

Fixes #59913.

Co-authored-by: David Lewis <davidalewis00@gmail.com>
(cherry picked from commit 07ad0664204fbc965627ed5cba548e93e5af4be7)
2022-07-27 09:03:00 +02:00
9eee70dbb7 Ported: Add an external link editor icon
This replaces the existing "chainlink" instance icon that was
used for external links. That icon is still used for scene instancing.
The icon was designed by redlamp.
Co-authored-by: Taylor Wright <taylor@redlamp.org>
- Calinou
2bc036dad5
2022-07-27 09:02:28 +02:00
kobewi
4d6dd2e452 Improve descriptions for drag methods
(cherry picked from commit 31a23ab33f6ac80931c7f0027ff4f15f4a3c2172)
2022-07-27 08:54:38 +02:00
FireForge
3f22cc9f3b Fix UndoRedo in Gradient editor
(cherry picked from commit a384031326b96dd1185b7ba33809660ba5551549)
2022-07-27 08:54:15 +02:00
9f0dcb2f42 Added a todo. 2022-07-27 01:28:22 +02:00
GTcreyon
4facccc520 Changed "pair" to "triplet" in Vector3 definition
(cherry picked from commit ce1fcfcff9d5056127deb8da70f8823be1654e1f)
2022-07-27 01:26:10 +02:00
Daniel Kříž
028a39f49b Fix missing favorite files in filesystem dock
(cherry picked from commit cbe363d7161d765577e9babf22a2d6f158b6259a)
2022-07-27 01:25:52 +02:00
Haoyu Qiu
718fad73eb Document timestamp decimal fraction in Time
(cherry picked from commit 1b891069cd0ea672276888ea0e0159b5cedc5cc9)
2022-07-27 01:25:36 +02:00