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
Hugo Locurcio
416258cd55
Fix project manager window position when editor scale is above 100%
...
This backports a fix from `master` to `3.x` (with simplified code).
2022-07-26 15:00:44 +02:00
RedHeadphone
fe77fedbbf
validate input in Time.get_datetime_string_from_dict()
...
format fix
better fix to handle ERR_FAIL_COND_V_MSG return data type
(cherry picked from commit 7e35af3dc32870dcbbba95c13ccf6273ed7357ea)
2022-07-26 15:00:13 +02:00
FireForge
d4d913bd4c
Fix EditorProperty text and icon overlap bugs
...
(cherry picked from commit dbc380af59b28de8243f945c6cb965bee83efadf)
2022-07-26 14:59:48 +02:00
Michael Alexsander
21d66d3a68
Fix GridContainer
not ignoring toplevel children
...
(cherry picked from commit 506d8ba526188bb683eeb4e4389c8bd4a18abab8)
2022-07-26 14:59:18 +02:00
KingCakeTheFruity
be66ed9679
Added p_shape check to avoid engine crush
...
(cherry picked from commit 29a2809d2120bc740f948e4134e839557e689724)
2022-07-26 14:58:57 +02:00
kleonc
4c27d02012
NavMap::get_path Fix not resetting least_cost_id
2022-07-26 12:56:54 +02:00
58b8271bf4
Ported: Fixed #59985 leading spaces autowrap boundary problem
...
Bug problem:
No condition for when the first character of the label is a space character
Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
- ZheisterCoding
c0513268bd
2022-07-26 12:56:16 +02:00
2b6b95db1f
Fix compile.
2022-07-26 12:55:53 +02:00
Haoyu Qiu
56fed34913
Fix undo history for function name autocompletion
2022-07-26 12:46:13 +02:00
Haoyu Qiu
6191e0f0b8
Add option to paste animation as duplicate
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-07-26 12:45:49 +02:00
Oğuzhan Eroğlu
95e6e47f88
Added set_extra_headers() to WebSocketServer
...
(cherry picked from commit fd4341fba46b8e78eea2e7efeae74038f7f55c4b)
2022-07-26 12:43:31 +02:00
Markus Sauermann
963e5a12b1
Add a note about collisions in different canvases.
...
(cherry picked from commit b9c91d620e829f2f4cea8037492ed6939e4aad87)
2022-07-26 12:43:04 +02:00
a25fb35179
Ported: Improves EditorInspector documentation - timothyqiu
...
6598eb9547
2022-07-26 12:40:35 +02:00
Eric McGuirk
55ed3e573e
Fix toggling GraphEdit's minimap with minimap_enabled
...
Fixes #53831 .
(cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c)
2022-07-26 12:37:32 +02:00
kobewi
0da6b17950
Fix GraphEdit's valid connections being reversed
...
(cherry picked from commit b29aff8dac9bf342e45e6b6332b5efa13af9fa26)
2022-07-26 12:37:15 +02:00
Haoyu Qiu
0658cad124
Localize unnamed project name in editor window title
...
(cherry picked from commit 35d087813981d05a699221f6bc7e5c72fc55c665)
2022-07-26 12:36:44 +02:00
Ryan Roden-Corrent
794c54a386
Clarify Array.erase for nonexistant element.
...
The docs specify that Array.remove does nothing if the index does not
exist. Array.erase does not have a similar phrase, so it's unclear if
erase will print an error, or silently do nothing.
(cherry picked from commit f84e2db35e2f6eceb4f8c3a1e8e9de7adf6f4c30)
2022-07-26 12:36:19 +02:00
Haoyu Qiu
2aefcf5585
Consider chained operation when selecting text in TextEdit::undo()
...
(cherry picked from commit 8cefbfcf432ef6ed3879ee60bf500b52149f3e01)
2022-07-26 12:35:47 +02:00
Jason Yundt
983eec5521
Improve autoload inheritance error message
...
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.
Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.
Fixes #59884 .
(cherry picked from commit 1cc7e7ec33a652647d63cb32fa164eceef87c653)
2022-07-26 12:34:50 +02:00
kobewi
e34661999f
Mention how to add dragging for SpinBox's LineEdit
...
(cherry picked from commit c8de26530727afb4b60f15b412f1f9a7f2fcb104)
2022-07-26 12:34:03 +02:00
634345f152
Ported: Remove duplicate resizable settings - m4gr3d
...
a3b445d7e8
2022-07-26 12:33:36 +02:00
d14f7d0134
Ported: Update resize settings:
...
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template
- m4gr3d
4ff726b933
2022-07-26 12:25:24 +02:00
e63464d675
Commit missing change.
2022-07-26 12:24:59 +02:00
kobewi
3bb0c714bb
Fix TouchScreenButton error spam
...
(cherry picked from commit db19cc60fb1aed98c54fb2722f525a624d56b17e)
2022-07-26 12:14:49 +02:00
nova++
ca55e41fe8
Fixing some of my own typos...
...
(and a little improvement to wording that was bugging me)
(cherry picked from commit 05718796db20145fcc712c7a826e8043e5177905)
2022-07-26 12:14:21 +02:00