Commit Graph

31793 Commits

Author SHA1 Message Date
robfram 2a3925136e
Only visible TileMaps should add light occluders
(cherry picked from commit cf9220b7d5)
2021-11-15 23:33:26 +01:00
robfram 6247687be8
Fix particles emitting at old location
(cherry picked from commit 91b7c80d28)
2021-11-15 23:32:24 +01:00
Hugo Locurcio a49e3bb449
Document low performance when using `SurfaceTool.append_from()` in thread
(cherry picked from commit f39375d315)
2021-11-15 22:47:24 +01:00
lawnjelly 7de023e192
Portals - Allow user to set roaming expansion margin
Previously a crude metric was used to decide on the roaming expansion margin, but it created unexpected results in some scenarios. Instead this setting is exposed to the user via the RoomManager, allowing them to tailor it to the world size, room sizes, roaming objects sizes and the speeds of movement.

(cherry picked from commit 788f075b44)
2021-11-15 22:45:57 +01:00
Hugo Locurcio fc749f7f8b
Improve the GIProbe and BakedLightmap class documentation
This adds information about performance and procedural generation.

(cherry picked from commit 194d45f11d)
2021-11-15 22:37:51 +01:00
Fabio Alessandrelli fd8ae8ce39
[HTML5] Call glGetBufferSubData directly from C++.
Remove leftover EM_ASM causing problems with gdnative builds.

(cherry picked from commit 340ecb93be)
2021-11-15 22:37:36 +01:00
Hugo Locurcio 0b66d80b61
Fix outdated SCons macOS build message
The message incorrectly stated that the minimum supported version
is 10.9, when it is in fact 10.12.

(cherry picked from commit fde50db399)
2021-11-15 22:37:18 +01:00
Rémi Verschelde 63b5d5de64
Modules: Make sure to include `modules_enabled.gen.h` where needed
Fixes #51677.

Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
(cherry picked from commit 6f4858f184)
2021-11-15 22:36:02 +01:00
Benjamin Armstrong 4f2993b124
Clarify how 'audio/driver/output_latency' project setting works
(cherry picked from commit 1e485a7da8)
2021-11-15 22:35:33 +01:00
Rémi Verschelde 9868850a9f
Rect2: Clarify docs for `has_point` excluding bottom and right borders
Improve tests, as well as documentation for `expand`.

(cherry picked from commit 36c4451a7b)
2021-11-15 22:35:01 +01:00
boruok 0a2dadb639
fixed typo in NavigationPolygon doc
(cherry picked from commit 30d22305e1)
2021-11-15 22:34:11 +01:00
Hugo Locurcio 89cefee947
Swap rest pose actions in the Skeleton2D editor
The texts were changed before, but the actions weren't swapped around.
This led to unexpected behavior.

(cherry picked from commit 4ff1431993)
2021-11-15 22:33:49 +01:00
PouleyKetchoupp f9710ecb5e
Fix test_move reporting collision when touching another body
Reporting rest collision information is needed for move_and_collide and
move_and_slide so floor detection can be done properly, but in the case
of just testing the motion for collision, it makes sense to return false
if the body is able to move all along the path without being stopped.

Updated the logic in test_move and clarified the documentation for
test_move and move_and_collide.

(cherry picked from commit 1560c8b5aa)
2021-11-15 22:33:16 +01:00
PouleyKetchoupp 7344beafdd
Fix errors in KinematicBody when floor is destroyed or removed
In all physics servers, body_get_direct_state() now silently returns
nullptr when the body has been already freed or is removed from space,
so the client code can detect this state and invalidate the body rid.

In 2D, there is no change in behavior (just no more errors).

In 3D, the Bullet server returned a valid direct body state when the
body was removed from the physics space, but in this case it didn't
make sense to use the information from the body state.

(cherry picked from commit b93aeec4a2)
2021-11-15 22:32:53 +01:00
Mark Riedesel 619c1e506e
Fix glTF cubic spline track interpolation incorrectly reporting times/values size mismatch (3.4 specific)
(cherry picked from commit 999bba6916)
2021-11-15 22:32:26 +01:00
Hugo Locurcio 1f35876fd5
Remove hash symbol in front of opcode error messages in GDScript
The hash symbol creates spurious issue references on GitHub if
the message is posted outside a code block, which means some issues
have a lot more references than originally intended.

(cherry picked from commit 63d214f04b)
2021-11-15 22:31:32 +01:00
Hugo Locurcio 96b32740d3
Print the number of PulseAudio input channels when in verbose mode
This is useful information to have for troubleshooting, and it's
said to sidestep a possible race condition issue that breaks
microphone recording on Linux.

(cherry picked from commit de912a8bd9)
2021-11-15 22:30:57 +01:00
Ryan Roden-Corrent a9a3702d69
Clamp rotation for up/down orbiting shortcuts.
This prevents the viewport from going upside-down.

This was suggested at:
https://github.com/godotengine/godot/pull/51984#issuecomment-948614191:

> For 3.4, I think we can just clamp the angle value when using the
> camera orbiting shortcuts. We can investigate what to do with panning
> and freelook in 3.5 and 4.0.

(cherry picked from commit 3bd7c4f2a9)
2021-11-15 22:30:27 +01:00
Omar El Sheikh 20e7a4095e
Fix Vertex Attribute Specification Octahedral
For octahedral compressed normals/tangents, we use vec4 in the shader
regardless of whether a normal/tangent does/doesn't exist

For the case where we only have a normal vector, we need to specify that
there are only two components being used when calling glVertexAttrib

Before we would always specify that there were 4 components, and used
offsets to determine where in the vertex buffer to read data from but
this doesn't work on all platforms

(cherry picked from commit 8a43b222c7)
2021-11-15 22:28:23 +01:00
Ignacio Roldán Etcheverry b63f1fc603
C#: Don't use ActivityThread to determine Android nativeLibraryDir
(cherry picked from commit 690bf12c4c)
2021-11-15 22:27:38 +01:00
kobewi 0f422ad35b
Fix editor saving blank scenes (for real)
(cherry picked from commit 8144ac79cf)
2021-11-15 22:26:45 +01:00
bruvzg 4574b3ebeb
[iOS export] Capture and display xcodebuild output.
(cherry picked from commit 2e74bacf17)
2021-11-15 22:25:35 +01:00
Brian Semrau 1cbc17247c
Prevent obj importer from printing misleading error
(cherry picked from commit bd0d15c5be)
2021-11-15 22:24:45 +01:00
Josh Jones a19040d2de
Fix request headers being included in response.
(cherry picked from commit 7df8bd6b85)
2021-11-15 22:24:22 +01:00
bruvzg a4b736606f
[Export] Read and ZIP project files in 16K chunks instead of reading the whole file at once.
(cherry picked from commit c8f3dd776b)
2021-11-15 22:23:59 +01:00
Julian Adamse 5145c1d783
Fix the volume calculation for cylinders
(cherry picked from commit 03903fdeec)
2021-11-15 22:23:17 +01:00
Kongfa Waroros 5f27fd458c
Fix little typos in 3.x doc
(cherry picked from commit 0d852bf5a6)
2021-11-15 22:22:45 +01:00
PouleyKetchoupp c2a108fe7d
Expose intersect_point in 3D physics server
Also cleaned a few things in the documentation for 2D.

(cherry picked from commit fc2bd63ca0)
2021-11-15 22:22:31 +01:00
bruvzg 71eeecfaf0
[macOS] Enable multithreaded OpenGL engine flag when using multithreaded VisualServer.
(cherry picked from commit 28d7b585c9)
2021-11-15 22:22:06 +01:00
Ibrahn Sahir 1c22bfdb37
AudioDriverPulseAudio: move Vector Cow access outside tight loop.
Replaced some in-loop uses of Vector.write with an out of loop ptrw,
to avoid a lot of superfluous reads on the CowData ref count.

(cherry picked from commit 47496a55bc)
2021-11-15 22:21:36 +01:00
Rémi Verschelde e5d6954505
GDScript: Support multiline indexing with `[]`
Fixes #35417.

(cherry picked from commit 92664f03a9)
2021-11-15 22:21:16 +01:00
Bartłomiej T. Listwon bdf7a0294b
Don't ignore the type mismatch in setter function
(cherry picked from commit 5a7bd296af)
2021-11-15 22:20:46 +01:00
Rémi Verschelde 489b49c6b8
doc: Remove obsolete files 2021-11-05 16:11:18 +01:00
Rémi Verschelde cae697e189
CI: Change BASE_BRANCH to 3.4 2021-11-05 15:01:27 +01:00
Rémi Verschelde 8634985347
Bump version to 3.4.1-rc 2021-11-05 15:00:23 +01:00
Rémi Verschelde 206ba70f4b
Bump version to 3.4-stable \o/
After the decision to continue feature development for the `3.x` branch
alongside the `master` branch for Godot 4.0, we released 3.3-stable in
April 2021.

6 months and 2000 commits later, Godot 3.4 is another feature-packed milestone
for Godot 3, with a ton of improvements and fixes to make it a great option
for use in production while we wait for Godot 4.0!

A big thankyou to all contributors who work tirelessly on our two parallel
development branches and made this stable 3.4 release possible.
2021-11-05 01:06:19 +01:00
Rémi Verschelde e6613ca9d4
Add some more changelog entries for 3.4
Selected from the 3.3.x changelogs.
2021-11-05 00:52:27 +01:00
Hugo Locurcio 231883bdcc
Improve description for `BitMap.grow_mask()`
(cherry picked from commit e3d23d444c)
2021-11-04 19:55:56 +01:00
Gustavo Beltrão Braga 27ec7e6ed5
Change description of relative field in input drag event.
(cherry picked from commit 76c50928a1)
2021-11-04 16:35:20 +01:00
Rémi Verschelde f734a2c915
Merge pull request #54582 from m4gr3d/add_manifest_min_and_target_sdk_version_3x 2021-11-04 13:52:51 +01:00
Rémi Verschelde 2169d65799
Merge pull request #54576 from akien-mga/3.x-changelog-3.4
Add changelog for Godot 3.4
2021-11-04 09:49:00 +01:00
Fredia Huya-Kouadio 724ef83971 Add default `minSdkVersion` and `targetSdkVersion` in the AndroidManifest.xml file 2021-11-03 21:49:22 -07:00
Rémi Verschelde d155f0a8a0
Add changelog for Godot 3.4 2021-11-04 00:28:44 +01:00
Rémi Verschelde 7afb784269
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@322aac4bb7.

Also improve parser errors to allow identifying the problematic mappings.

(cherry picked from commit 4b247e7ffa)
2021-11-03 21:32:53 +01:00
Jake Young feecd894d8
Update my name on author file
(cherry picked from commit 0b734bce4c)
2021-11-03 21:31:11 +01:00
PouleyKetchoupp ec0dc93083
Fix errors with invalid bone node path in Polygon2D
NodePath properties are designed to be relative to the given node, so
validity checks are failing in the editor for Polygon2D nodes, which are
relative to the Skeleton2D node rather than the Polygon2D node.

Fixed by saving bone paths as String properties instead of NodePath.

Shouldn't cause a difference for performance since NodePath properties
are technically saved as String anyway.

(cherry picked from commit 8d9619ad46)
2021-11-03 17:31:10 +01:00
Rémi Verschelde fb8834bb91
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@briansemrau, @Duroxxigar, @williamd67

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 300286ea08)
2021-11-03 16:16:10 +01:00
Rémi Verschelde 0b694eb8e7
i18n: Sync classref translations with Weblate
German (de) is now above the threshold for inclusion.
2021-11-03 15:00:52 +01:00
Rémi Verschelde 74bcf37f90
i18n: Sync editor translations with Weblate
Latvian (lv) is now above the threshold for inclusion.
2021-11-03 14:56:44 +01:00
Rémi Verschelde d04368a41b
CI: Update black to 21.10b0
No formatting changes on our code compared to 20.8b1.

(cherry picked from commit 5116f32db4)
2021-11-03 14:53:05 +01:00