Commit Graph

32111 Commits

Author SHA1 Message Date
tdetoy
72498a3ced mesh_surface_get_format_offset and mesh_surface_get_format_stride will now provide an error with an invalid array index
(cherry picked from commit 8e57aae57d)
2022-05-05 15:13:00 +02:00
David Cambré
467c2c5d4b Fixes the copy paste issue in the visual script editor.
Moves copy and paste in their own functions so copy_nodes_request and paste_nodes_request are able to work.
Applies paste offset to the last mouse clicked position.

(cherry picked from commit fb7c23f30b)
2022-05-05 15:12:44 +02:00
FireForge
d9ad611639 Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59)
2022-05-05 15:12:24 +02:00
DESKTOP-893BK8A\howar
db5bfa398a 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

(cherry picked from commit c0513268bd)
2022-05-05 15:11:49 +02:00
Haoyu Qiu
355c73de32 Fix undo history for function name autocompletion
(cherry picked from commit 19a0145742)
2022-05-05 15:11:26 +02:00
Rémi Verschelde
5816a26c04
Merge pull request #60205 from akien-mga/3.4-cherrypicks 2022-04-13 15:51:01 +02:00
Haoyu Qiu
1a95a0e999 Fix popup dialog UI in AnimationTreePlayer editor
(cherry picked from commit 65aac2cfae)
2022-04-13 12:18:45 +02:00
Markus Sauermann
60184f08f4 Add a note about collisions in different canvases.
(cherry picked from commit b9c91d620e)
2022-04-13 12:18:45 +02:00
Nicholas Huelin
12ca7fbfe3 Fix Visual Script's jump to function relative to zoom
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.

(cherry picked from commit e8a326a08f)
2022-04-13 12:18:45 +02:00
kobewi
f0b0a244b0 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac)
2022-04-13 12:18:45 +02:00
Eric McGuirk
3d4af8117d Fix toggling GraphEdit's minimap with minimap_enabled
Fixes #53831.

(cherry picked from commit b1441bbcfc)
2022-04-13 12:18:45 +02:00
Ryan Roden-Corrent
5b098bf41b 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 f84e2db35e)
2022-04-13 12:18:45 +02:00
kobewi
52f6ec2ea7 Fix TouchScreenButton error spam
(cherry picked from commit db19cc60fb)
2022-04-13 12:18:45 +02:00
nova++
6a788fe7a3 Fixing some of my own typos...
(and a little improvement to wording that was bugging me)

(cherry picked from commit 05718796db)
2022-04-13 12:18:45 +02:00
Haoyu Qiu
6432d53f10 Fix capitalization of boolean output in classref
(cherry picked from commit 94a5f9edb0)
2022-04-13 12:18:45 +02:00
Rémi Verschelde
fcd8ff1ad4 zlib/minizip: Update to version 1.2.12
Security update, fixes CVE-2018-25032 in zlib.

Preliminary assessment doesn't show Godot as affected since we don't
seem to call `deflate` with the problematic parameters, but the extent
of the vulnerability is not fully clear upstream yet.

(cherry picked from commit 420d0d50bc)
2022-04-13 12:18:45 +02:00
Rémi Verschelde
4ac1a79514 Cleanup and reorder .gitignore
Group things better in categories, and remove a ton of VS junk.
Some of it might still be needed and could need to be re-added.

(cherry picked from commits 1f1edaa1b5
and b0df742cbe)
2022-04-13 12:18:45 +02:00
Haoyu Qiu
4640071104 Clip animation track keyframe rects
(cherry picked from commit c7e06e2202)
2022-04-13 12:18:45 +02:00
Ricardo Buring
3850d6db76 BulletPhysicsServer::area_get_space: null check
This is now the same as e.g. body_get_space.

(cherry picked from commit 79317f9cb1)
2022-04-13 12:18:45 +02:00
keptsecret
b95221fb0a fix unable to change directory in user access mode
(cherry picked from commit c69689ab5a)
2022-04-13 12:18:45 +02:00
Pedro J. Estébanez
3680cfde86 Fix crash when passing null to AudioStreamPlayer::set_stream()
(cherry picked from commit 9e2d5120c1)
2022-04-13 12:18:45 +02:00
Bartłomiej T. Listwon
661da8f9dd Fix crash in AudioServer when switching audio devices with different audio channels count (connecting PS5 controller, bluetooth 5.1 headphones etc.)
(cherry picked from commit df39e0f472)
2022-04-13 12:18:45 +02:00
ConteZero
d87f9ad419 Fix X11 is_window_maximized
(cherry picked from commit 59fb6c9ef0)
2022-04-13 12:18:45 +02:00
Hugo Locurcio
95252110c5 Improve documentation related to 3D material vertex lighting
(cherry picked from commit 4e6dfac969)
2022-04-13 12:18:45 +02:00
Hugo Locurcio
152c4c7434 Clarify what set_as_toplevel() does in CanvasItem
(cherry picked from commit 196c4fff13)
2022-04-13 12:18:45 +02:00
Haoyu Qiu
8b8bafbd53 Fix crash when using Camera2D::set_custom_viewport()
(cherry picked from commit b89befe173)
2022-04-13 12:18:45 +02:00
Ellen Poe
883c3dc413 [3.x] instance audio streams before AudioServer::lock call
(cherry picked from commit 027546ee8a)
2022-04-13 12:18:45 +02:00
Rémi Verschelde
64d3520faf doc: Fix String.rsplit code example
Fixes #36898.
Supersedes and closes #36951.

(cherry picked from commit e7fd0ec31f)
2022-04-13 12:18:45 +02:00
Haoyu Qiu
91c7c40d50 Document how to specify explicit value for PROPERTY_HINT_ENUM names
(cherry picked from commit 405bc96a1e)
2022-04-13 12:18:45 +02:00
Raul Santos
3a16557642 Avoid modifying csproj globbing includes on remove
Check if the found globbing include already matches the given path on
removing scripts to avoid modifying users' csproj files.

(cherry picked from commit 3086d7c035)
2022-04-13 12:18:44 +02:00
Rémi Verschelde
a7ccdfcc53 Bump version to 3.4.5-rc 2022-04-13 12:18:18 +02:00
Rémi Verschelde
419e713a29 Bump version to 3.4.4-stable 2022-03-22 10:47:22 +01:00
Rémi Verschelde
f9a67aaae4 Add changelog for Godot 3.4.4 2022-03-22 10:46:43 +01:00
Rémi Verschelde
0335369e48 Update AUTHORS and DONORS list
New contributor added to AUTHORS:
rburing

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit a4b075596f)
2022-03-22 10:30:10 +01:00
zacryol
d298cceeaa update _init() description
Specify details regarding required parameters.

(cherry picked from commit 21fc3cbe81)
2022-03-22 09:29:33 +01:00
Ricardo Buring
91ba6f7895 Document that PhysicsServer's get_process_info is implemented only for Godot Physics
(cherry picked from commit 812d45ea7c)
2022-03-22 08:57:28 +01:00
Haoyu Qiu
4ae0adbf2c Fix inversed ADD_GROUP parameters in AnimationNodeOneShot
(cherry picked from commit 6a3bf65657)
2022-03-22 08:57:18 +01:00
Hugo Locurcio
b5ff9fd7c4 Mention that Node's owner must be set for persistence to work
This is already done in `Node.add_child()` documentation, but
this copies the note in `Node.owner` for good measure.

(cherry picked from commit be1acf3b92)
2022-03-22 08:56:36 +01:00
ztco224
b86b4e5004 Fix DST Error on Windows
(cherry picked from commit 4802f15231)
2022-03-17 13:36:19 +01:00
Fredia Huya-Kouadio
451d3d378c Setup logic to publish the Godot Android library to MavenCentral
(cherry picked from commit a2bf47de2b)
2022-03-17 13:06:34 +01:00
Hugo Locurcio
5d1858dcea Document Range's value_changed signal is also emitted with code changes
This also mentions that the signal is potentially emitted every frame,
which can have performance implications.

(cherry picked from commit cdbb31adc9)
2022-03-17 13:06:15 +01:00
Bartłomiej T. Listwon
9029e5d66f Include platform_config.h in thread.cpp and thread.h
(cherry picked from commit 6c6291b84f)
2022-03-17 13:05:47 +01:00
snowapril
776bca2488 Fix crash on get index for non-existing string
As _buttons and _axes have both valid string and nullptr.
When iterating over them, if given key exists it will work correctly.
But if given key does not exist, it will end up with
String::operator=(nullptr). As String constructor from nullptr exists, I
use it.

(cherry picked from commit c77b710035)
2022-03-17 13:05:35 +01:00
Marcel Admiraal
1a5b379a68 Update documentation for Control rect_pivot_offset to include rotation
(cherry picked from commit d2c0ee700a)
2022-03-17 13:05:17 +01:00
Rémi Verschelde
69e9e8f87d
Merge pull request #59159 from RandomShaper/fix_blend_shapes_3.4 2022-03-15 11:22:18 +01:00
Pedro J. Estébanez
d780a0c8db Fix broken normals in meshes with blend shapes 2022-03-15 10:25:09 +01:00
Rémi Verschelde
c3d7c4d41c Revert "Fix detected leaks/heap-use-after-free by AddressSanitizer at startup"
This reverts commit 0ae6150d8e.

It broke `detect_prime`'s main purpose which is to detect GPUs and use
the best one available.
2022-03-15 09:33:11 +01:00
Wilson E. Alvarez
0ae6150d8e Fix detected leaks/heap-use-after-free by AddressSanitizer at startup
(cherry picked from commit 3f94ea6271)
2022-03-13 18:14:54 +01:00
Haoyu Qiu
c594e1c0cc Fix crash when is-operator right-hand-side is null
(cherry picked from commit 871a73341b)
2022-03-13 18:14:53 +01:00
Rémi Verschelde
1f4dda2138
Merge pull request #59109 from akien-mga/3.4-cherrypicks 2022-03-13 17:19:05 +01:00