Commit Graph

1272 Commits

Author SHA1 Message Date
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
laws65
1ec045e2f1 Proper validation of negative values in datetime strings and datetime dicts
(cherry picked from commit cf9fc0b93609abd52e0f9fe8cd425fef012b6b46)
2022-07-27 01:25:11 +02:00
Oğuzhan Eroğlu
49a98d13a0 Quick fix: Crash when parsing invalid datetime string #60189
(cherry picked from commit 2b8eb126b4dfaa6b3217adef96dca5ed03708de1)
2022-07-27 01:24:52 +02:00
8156e2ba36 Ported: Vibrate using iOS haptics engine on supported devices (3.x) - timoschwarzer
8fb9c96df9
2022-07-27 01:23:10 +02:00
Haoyu Qiu
5d03519e6d Make more import preset name translatable 2022-07-27 01:17:35 +02:00
Haoyu Qiu
122a796535 Fix custom class icon when it inherits from a script 2022-07-27 01:17:09 +02:00
f45f64b07e Added a new todo. 2022-07-27 01:16:11 +02:00
74dc60ec5f Fix compile. 2022-07-27 01:05:16 +02:00
Haoyu Qiu
84ee52250c Validate theme type/item names 2022-07-27 00:46:56 +02:00
d1108dc8bc Ported: Implement Scene Unique Nodes - KoBeWi
e1c74ae83f
2022-07-27 00:45:48 +02:00
720fac314f Fix an another typo. 2022-07-27 00:33:10 +02:00
f3f3d61a94 Fx typo. 2022-07-27 00:25:58 +02:00
f3ec84fa78 Ported: Add a method for obtaining display cutouts on Android - madmiraal
ec2270b88f
2022-07-27 00:21:20 +02:00
e7a5c47f8b Ported: Fix several OS_X11 memory leaks - timothyqiu
95d861694a
2022-07-27 00:04:29 +02:00
Rémi Verschelde
0fa5feae1a MultiMesh: Fix potential crash found by fuzzing
Fixes #58293.
2022-07-26 15:55:28 +02:00
Haoyu Qiu
aed26cc13b Bind Semaphore.try_wait() 2022-07-26 15:55:06 +02:00
b2030adef8 TODO. 2022-07-26 15:54:47 +02:00
50ed908929 Ported: Add fill method to Array and PoolArrays - timothyqiu, DarknessCatt
77b6f7595a
2022-07-26 15:49:30 +02:00
a2cb12fd07 Ported: Improve locking safety for RID handles builds. Additional locks are added. This is primarily to cover a potential race condition where the pool is resized from another thread during a get operation. - lawnjelly
130cc36a88
2022-07-26 15:34:36 +02:00
309055ce7f Renamed OAHashMap's const lookup_ptr method to lookup_ptr_const. Also added back const qualifier to the other one. 2022-07-26 15:33:36 +02:00
b4dcb3996b Ported: Remove Array link in description of PoolArrays - timothyqiu
4fda4f31c2
2022-07-26 15:16:21 +02:00
Hugo Locurcio
fc041bf980 Document that glTF classes are only usable in editor builds
Run-time glTF saving/loading is only available in Godot 4.0,
not Godot 3.x.
2022-07-26 15:10:11 +02:00
Pawel Lampe
cf84a36352 Fix crash in GodotNavigationServer::map_get_path, fixes #60413 2022-07-26 15:09:40 +02:00
1e0353e179 Alos add a const version of lookup_ptr for OAHashMap, similar to 62e9044837 . 2022-07-26 15:09:11 +02:00
AndreaCatania
dacb9e650f Backported the Vector function to_byte_array and slice 2022-07-26 15:05:54 +02:00
Haoyu Qiu
5d3645c8cf Improve RayCast2D debug shape
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2022-07-26 15:05:00 +02:00
clayjohn
ebe72ade75 Sort based on camera position when using perspective camera 2022-07-26 15:04:35 +02:00
tdetoy
4c295c2cd6 mesh_surface_get_format_offset and mesh_surface_get_format_stride will now provide an error with an invalid array index 2022-07-26 15:04:05 +02:00
lawnjelly
4d6dda4df0 Fix CPUParticles emission updating using physics interpolation
When switching emission on and off, processing was always being switched on and off using internal_process, which was incorrect for using physics interpolation (where physics_process is the relevant one).

This PR correctly updates the process mode according to whether physics interpolation is being used.
2022-07-26 15:03:37 +02:00
Haoyu Qiu
7190c806ec Fix Label autowrap for CJK text 2022-07-26 15:03:08 +02:00
Hugo Locurcio
4951e23481 Add a property hint for AspectRatioContainer's ratio property
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.

The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-07-26 15:02:39 +02:00
Michael Alexsander
691b99f40c Draw relationship lines for items offscreen 2022-07-26 15:02:12 +02:00