32218 Commits

Author SHA1 Message Date
9fec145ebe Improve documentation for tonemapping operators
(cherry picked from commit 035cb7fcb0)
2022-05-05 15:17:29 +02:00
62b3855ce7 Fixed implementation of RTL remove_line()
Co-authored-by: Eric M <itsjusteza@gmail.com>
(cherry picked from commit ff381f6e84)
2022-05-05 15:16:27 +02:00
twi
06ac7dc21f Update link to vector2_angle_to_point.png
(cherry picked from commit 718533552c)
2022-05-05 15:16:08 +02:00
a3d032eea3 Fix UndoRedo in Gradient editor
(cherry picked from commit a384031326)
2022-05-05 15:15:36 +02:00
694aef9ae5 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 07ad066420)
2022-05-05 15:15:10 +02:00
5ca5e7d0c0 Fix custom class icon when it inherits from a script
(cherry picked from commit 42448d7587)
2022-05-05 15:14:42 +02:00
bfe54e4d44 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.

(cherry picked from commit 3a8104289d)
2022-05-05 15:13:11 +02:00
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
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
d9ad611639 Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59)
2022-05-05 15:12:24 +02:00
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
355c73de32 Fix undo history for function name autocompletion
(cherry picked from commit 19a0145742)
2022-05-05 15:11:26 +02:00
5816a26c04 Merge pull request #60205 from akien-mga/3.4-cherrypicks 2022-04-13 15:51:01 +02:00
1a95a0e999 Fix popup dialog UI in AnimationTreePlayer editor
(cherry picked from commit 65aac2cfae)
2022-04-13 12:18:45 +02:00
60184f08f4 Add a note about collisions in different canvases.
(cherry picked from commit b9c91d620e)
2022-04-13 12:18:45 +02:00
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
f0b0a244b0 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac)
2022-04-13 12:18:45 +02:00
3d4af8117d Fix toggling GraphEdit's minimap with minimap_enabled
Fixes #53831.

(cherry picked from commit b1441bbcfc)
2022-04-13 12:18:45 +02:00
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
52f6ec2ea7 Fix TouchScreenButton error spam
(cherry picked from commit db19cc60fb)
2022-04-13 12:18:45 +02:00
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
6432d53f10 Fix capitalization of boolean output in classref
(cherry picked from commit 94a5f9edb0)
2022-04-13 12:18:45 +02:00
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
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
4640071104 Clip animation track keyframe rects
(cherry picked from commit c7e06e2202)
2022-04-13 12:18:45 +02:00
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
b95221fb0a fix unable to change directory in user access mode
(cherry picked from commit c69689ab5a)
2022-04-13 12:18:45 +02:00
3680cfde86 Fix crash when passing null to AudioStreamPlayer::set_stream()
(cherry picked from commit 9e2d5120c1)
2022-04-13 12:18:45 +02:00
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
d87f9ad419 Fix X11 is_window_maximized
(cherry picked from commit 59fb6c9ef0)
2022-04-13 12:18:45 +02:00
95252110c5 Improve documentation related to 3D material vertex lighting
(cherry picked from commit 4e6dfac969)
2022-04-13 12:18:45 +02:00
152c4c7434 Clarify what set_as_toplevel() does in CanvasItem
(cherry picked from commit 196c4fff13)
2022-04-13 12:18:45 +02:00
8b8bafbd53 Fix crash when using Camera2D::set_custom_viewport()
(cherry picked from commit b89befe173)
2022-04-13 12:18:45 +02:00
883c3dc413 [3.x] instance audio streams before AudioServer::lock call
(cherry picked from commit 027546ee8a)
2022-04-13 12:18:45 +02:00
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
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
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
a7ccdfcc53 Bump version to 3.4.5-rc 2022-04-13 12:18:18 +02:00
419e713a29 Bump version to 3.4.4-stable 3.4.4-stable 2022-03-22 10:47:22 +01:00
f9a67aaae4 Add changelog for Godot 3.4.4 2022-03-22 10:46:43 +01:00
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
d298cceeaa update _init() description
Specify details regarding required parameters.

(cherry picked from commit 21fc3cbe81)
2022-03-22 09:29:33 +01:00
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
4ae0adbf2c Fix inversed ADD_GROUP parameters in AnimationNodeOneShot
(cherry picked from commit 6a3bf65657)
2022-03-22 08:57:18 +01:00
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
b86b4e5004 Fix DST Error on Windows
(cherry picked from commit 4802f15231)
2022-03-17 13:36:19 +01:00
451d3d378c Setup logic to publish the Godot Android library to MavenCentral
(cherry picked from commit a2bf47de2b)
2022-03-17 13:06:34 +01:00
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
9029e5d66f Include platform_config.h in thread.cpp and thread.h
(cherry picked from commit 6c6291b84f)
2022-03-17 13:05:47 +01:00
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