Commit Graph

32038 Commits

Author SHA1 Message Date
Ricardo Buring
fb6394f58c Joint2D and Joint: update joint on NOTIFICATION_POST_ENTER_TREE
This allows reparenting, etc.

(cherry picked from commit f197e5eebb)
2022-03-02 12:07:21 +01:00
Haoyu Qiu
fbd74ae941 Make string inside TTR() single-line
(cherry picked from commit 1348f868c9)
2022-03-02 12:07:01 +01:00
Ricardo Buring
8e5a3a3019 AreaSW and Area2DSW: fix premature return in call_queries
(cherry picked from commit 89ce63a84f)
2022-03-02 12:06:42 +01:00
Rémi Verschelde
93efa57823 Revert "PitchShift effect quality and performance tweaks for different pitch scale values"
(cherry picked from commit dae0135ae5)
2022-03-02 12:03:06 +01:00
Haoyu Qiu
719f4cd5e5 Fix UndoRedo::create_action() invalid memory usage
(cherry picked from commit b00b7f9b7c)
2022-03-02 12:03:06 +01:00
Sergey Minakov
0cb1d17d22 [iOS] Fix multitouch not working correctly
(cherry picked from commit 15ef056997)
2022-03-01 11:05:03 +01:00
Hugo Locurcio
22f50490c2 Print every file exported with PCKPacker.flush()s verbose parameter
Previously, only one line per 100 files was printed.

This also refactors the print statement to use Godot methods and
make it more informative overall.

(cherry picked from commit 8e57e5dc6a)
2022-03-01 11:02:59 +01:00
Nova
d35d49171f Added or improved documentation to a few more String methods
(cherry picked from commit f159e7e5ab)
2022-03-01 10:56:09 +01:00
Markus Sauermann
77ba87be88 Update doc for match: empty argument doesn't match anything
(cherry picked from commit 70ae6c21de)
2022-03-01 10:53:01 +01:00
Rémi Verschelde
7a8b728043 Bump version to 3.4.4-rc 2022-03-01 10:50:58 +01:00
Rémi Verschelde
242c05d12f Bump version to 3.4.3-stable 2022-02-25 11:23:26 +01:00
Rémi Verschelde
ee8c87b884 Add changelog for Godot 3.4.3 2022-02-25 11:23:08 +01:00
jfons
5b5b52ce1e Add sanity checks to lightmap unwrap texel size
(cherry picked from commit d0fd5fd3c7)
2022-02-24 13:31:59 +01:00
Rémi Verschelde
626f1cf941 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
CakHuri, floppyhammer, rafallus, Sauermann, Scony, trollodel,
winterpixelgames

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 093b46ddf0)
2022-02-24 13:29:32 +01:00
skyace65
857fac65b1 Add more information on triangulate polygon
(cherry picked from commit bcc4d26c48)
2022-02-24 10:33:35 +01:00
Hugo Locurcio
2f95efcaaf Document glow rendering caveats when using GLES3 on mobile
(cherry picked from commit 595d67ae8b)
2022-02-24 10:23:23 +01:00
lawnjelly
e03a2cec58 Fix GIProbe gizmo out of bounds crash
The GIProbe gizmo was writing values in 3 dimensions to Vector2s. This error was previously being masked by the Vector2 accessor, but now results in a crash or ERR_FAIL message.

This PR removes the Vector2s as they were unused.

(cherry picked from commit e3f84916de)
2022-02-24 10:18:48 +01:00
Rémi Verschelde
df9392c4c7 CI: Use mono_static=yes for Mono builds
This removes the dependency on shared libmonosgen installed locally
and makes the artifacts usable as standalone for testing without
needing a full Mono install.

(cherry picked from commit 6475c676a8)
2022-02-24 10:18:17 +01:00
Rémi Verschelde
c82740e101 Revert "use exact match when checking focus next / previous"
This reverts commit 4ef3985dc3.

This wasn't meant to be included in the `3.4` branch, as it's a fix for
a change introduced in `3.x`.

Fixes #58460.
2022-02-23 15:00:56 +01:00
Ricardo Buring
f7c191e179 In final phase of test_body_motion, move and cull AABB for body once instead of for every shape
(cherry picked from commit e6f1a44b4d)
2022-02-21 15:17:12 +01:00
Rémi Verschelde
4eef71d921 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@94b76208bc

(cherry picked from commit e3d89a76f7)
2022-02-21 11:11:48 +01:00
Powerbyte7
f5db3d815d [HTML5] Add Stadia controller to database
Add web support for the Stadia controller.

(cherry picked from commit b8a7ea034c)
2022-02-21 11:11:00 +01:00
Rémi Verschelde
3b294aff20 Revert "Fix selection of CSG objects"
This reverts commit d445c14595.
2022-02-21 10:45:56 +01:00
Hugo Locurcio
c93408b568 Document that meshes and lights must be fully set up before baking GIProbe
(cherry picked from commit def35898e4)
2022-02-19 16:00:41 +01:00
Ricardo Subtil
df24144a4c Fix decompression functions not returning errcodes
(cherry picked from commit 61790a03f5)
2022-02-19 16:00:17 +01:00
Hugo Locurcio
30a36f0d20 Only store _edit_use_anchors_ metadata if value is not the default
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.

(cherry picked from commit 3b25190494)
2022-02-19 15:59:32 +01:00
Haoyu Qiu
885c9bdfbd Fix wording in AnimationNode classref
(cherry picked from commit bc37b0508b)
2022-02-19 15:46:38 +01:00
Sergey Minakov
a6b7300438 [iOS] Fix incorrect method name for input dragging event
(cherry picked from commit 8b3ac9479e)
2022-02-19 15:46:19 +01:00
Rémi Verschelde
0ea54d07f2
Merge pull request #58234 from akien-mga/3.4-cherrypicks 2022-02-17 12:34:37 +01:00
Haoyu Qiu
46037af570
Fix documentation about TreeItem button ID
(cherry picked from commit bb766a8fb6)
2022-02-17 10:44:05 +01:00
Haoyu Qiu
9b161542dc
Fix VisualScript crash when using Set Index node
(cherry picked from commit 1262d331c0)
2022-02-17 10:42:04 +01:00
Hugo Locurcio
83bfc89466
Document Light contact shadows often looking broken
(cherry picked from commit 9171737e2b)
2022-02-17 10:41:53 +01:00
Hugo Locurcio
2c174cbc0a
Clamp environment light sky contribution to the [0.0; 1.0] range
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.

(cherry picked from commit 08128351a5)
2022-02-17 10:41:37 +01:00
Hugo Locurcio
8af41b1c58
Improve documentation for AudioServer device properties and methods
(cherry picked from commit 743b5608e3)
2022-02-17 10:41:11 +01:00
Max
12b9fe5021
Fixed variant decoding Segmentation Fault
(cherry picked from commit 6aede992a9)
2022-02-17 10:40:42 +01:00
Bartłomiej T. Listwon
ec1dc201f6
Audio quality improvements in PitchShift
(cherry picked from commit 29b6ed9283)
2022-02-17 10:40:15 +01:00
Bartłomiej T. Listwon
3c1fbdba95
Pass audio samples untouched for pitch_scale around 1.0f
(cherry picked from commit c02e979dbf)
2022-02-17 10:40:09 +01:00
Hugo Locurcio
9f020ec777
Clarify identical hash() return values due to collisions
(cherry picked from commit 08541fe11d)
2022-02-17 10:39:39 +01:00
lawnjelly
f911ec589d
Fix GL buffer upload size bugs
Wrapper functions for uploading buffers to OpenGL take all sizes and offsets in bytes. Some buffer sizes are specified as units (e.g. float) so require conversion to bytes when calling the buffer upload functions.

Two such bugs have been fixed in blendshapes, and parameter names and comments have been changed to emphasize that sizes should be in bytes.

In addition DEV_ASSERTS in the upload wrappers have been changed to ERR_FAIL.

(cherry picked from commit 614dc363ab)
2022-02-17 10:39:06 +01:00
Jean-Michel Bernard
285c2d3a84
Hide Polygon2D lines and handles when node is not visible in tree.
(cherry picked from commit b0ebbd8ece)
2022-02-17 10:38:49 +01:00
Jean-Michel Bernard
c761613826
Hide CollisionShape2D handles when node is not visible in tree.
(cherry picked from commit ef995b222e)
2022-02-17 10:38:24 +01:00
Hugo Locurcio
1c4c724064
Tweak logo max width on the web editor
The logo's maximum width is now dependent on the viewport height
in addition to the page width. This prevents the "Start Godot editor"
button from overflowing the page on mobile devices (although the
"Clear persistent data" and "Web editor documentation" buttons will
still overflow for now).

(cherry picked from commit 34a4ff0cef)
2022-02-17 10:37:31 +01:00
Hugo Locurcio
c1ad560e55
Allow using the web editor on any device orientation
On tablets and foldable phones, the editor can remain usable
while in portrait mode thanks to the wide display.

(cherry picked from commit 078475f354)
2022-02-17 10:36:51 +01:00
Hugo Locurcio
90ca5d29e3
Tweak theme color to match the Godot editor's background color
This makes for a more seamless-looking address bar/status bar
when using the web editor on a mobile device, either directly
in the brower or installed as a progressive web app.

This also specifies a theme color for the web editor's offline
fallback.

(cherry picked from commit 7ef459c2d7)
2022-02-17 10:36:48 +01:00
BimDav
e53604b742
has_setting now correctly returns true when the setting is present due to a feature tag
(cherry picked from commit d39e416c61)
2022-02-17 10:35:27 +01:00
Hugo Locurcio
87e96ca24c
Improve the AudioStreamPlayer2D/3D.area_mask documentation
The documentation was stating that the area mask affects where sounds
can be heard, which is not true. Instead, the area mask affects audio
bus redirection.

Thanks to Azedaxen on the Godot forums for providing this description :)

(cherry picked from commit ab1eaac315)
2022-02-17 10:34:57 +01:00
Fabio Alessandrelli
06de19a266
[HTML5] Fetch API now passes credentials.
Used default value before, i.e. "same-origin", now uses "include" (i.e.
include for cross-origin if cross-origin is allowed).

(cherry picked from commit ffe248cbdf)
2022-02-17 10:34:36 +01:00
Haoyu Qiu
4ad179b75d
Fix GridMap memory leak
(cherry picked from commit 5d4a141c97)
2022-02-17 10:34:16 +01:00
Hugo Locurcio
66de60553e
Recommend using GitHub attachments for minimal reproduction projects
Third-party file hosts can have their files expire or be removed
by the owner. In comparison, GitHub attachments are more resilient.

This also fixes the link to create a bug report.

(cherry picked from commit 01c1667836)
2022-02-17 10:33:31 +01:00
Hayden
d47214f344
Make parser treat all exponent literals as float
(cherry picked from commit 1305ff92f7)
2022-02-17 10:33:31 +01:00