Commit Graph

32057 Commits

Author SHA1 Message Date
lawnjelly 69c3abedf0 Correct docs for Environment background keep mode
The docs incorrectly stated that KEEP was the fastest mode. This is not the case with modern hardware.

(cherry picked from commit bc924d4b41)
2022-03-13 15:34:45 +01:00
Markus Sauermann e7d9a40a8b Fix documentation about depth and width of Height map
(cherry picked from commit 2cafaf3adb)
2022-03-13 15:34:33 +01:00
MythTitans bd47f7aebb Fix normals computation at the 'seam' of smoothed torus shape
(cherry picked from commit 8bcbaff411)
2022-03-13 15:34:19 +01:00
Ansraer 36aa94502c Fix alpha scissor support
(cherry picked from commit 2fb998bfbc)
2022-03-13 15:32:49 +01:00
hoontee 4594c96dae Revert #52647
(cherry picked from commit 9c312c486c)
2022-03-13 15:32:01 +01:00
Mai Lavelle cf3497ce78 Fix deleting of directories on Linux
Trailing slash of directories was mishandled, and incorrect derived paths
were formed. Stripping the slash fixes this.

(cherry picked from commit 2c00b90613)
2022-03-12 15:07:17 +01:00
lawnjelly 6c3cfc72e2 Fix incorrect buffer upload size in GLES2 draw_gui_primitive
The buffer upload size appears to have been incorrect for quite some time, which causes uploading from undefined memory.

(cherry picked from commit 3dc0e97d05)
2022-03-11 16:33:33 +01:00
Haoyu Qiu ecac71ff5e Fix text color of TileMap editor info overlay
(cherry picked from commit 86bcac5a5e)
2022-03-10 15:59:08 +01:00
Rémi Verschelde 6b4d7d20a4 Revert "[HTML5] Fetch API now passes credentials."
(cherry picked from commit 63df46c238)
2022-03-07 14:40:42 +01:00
Rémi Verschelde fd21478f43 Revert "Fix ProjectSettings has_setting() when used on a overriden setting with feature tags"
(cherry picked from commit 78bf9926f8)
2022-03-07 14:40:34 +01:00
Rémi Verschelde cb66b672d7 GLES2: Fix VersionKey comparison in `ShaderGLES2::bind()`
This was comparing arrays, GCC 12 raises a warning for it:

```
drivers/gles2/shader_gles2.cpp: In member function 'bool ShaderGLES2::bind()':
drivers/gles2/shader_gles2.cpp:80:71: error: comparison between two arrays [-Werror=array-compare]
   80 |         if (active != this || !version || new_conditional_version.key != conditional_version.key) {
      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gles2/shader_gles2.cpp:80:71: note: use unary '+' which decays operands to pointers or '&'component_ref' not supported by dump_decl<declaration error>[0] != &'component_ref' not supported by dump_decl<declaration error>[0]' to compare the addresses
```

(cherry picked from commit 76df26b110)
2022-03-07 14:39:46 +01:00
MythTitans 5bd75bccae Fix normals computation at the 'seam' of smoothed sphere and cylinder shapes
(cherry picked from commit 509e03c821)
2022-03-07 14:39:30 +01:00
Igor Kordiukiewicz 2c88a947c1 Fixed issue where Extend Script option would show up even without script attached to the node
(cherry picked from commit dc361d3201)
2022-03-07 08:33:41 +01:00
Omar El Sheikh 56d3abdbcc GLES2 Compression on Blend Shapes Fix
When compressed vertex positions are used in a blend shapes mesh, we
need to make sure we set the w-component of the position vector to 1.0

When octahedral compression is used on normals/tangents, they need to be
converted to cartesian floats to be used for blend shapes

This conversion also changes the number of components of that vertex
attribute, which caused issues because previously there was an
assumption that you had the same number of components in the blend shape
buffer as you did in the original mesh's buffer (which is not true for
oct norm/tang)

(cherry picked from commit 733a84f7a4)
2022-03-07 08:31:24 +01:00
Omar El Sheikh fb9aa26b9d Fix shader state caching when blend shapes used
Previously, conditionals set on the shader would change outside of the
_render_list function when blend shapes were used

This is an issue because the function keeps track of the previous shader
state to try to minimize state changes

Now we keep all this shader state change within the _render_list
function to ensure the saved previous state is correct

(cherry picked from commit 9988739332)
2022-03-07 08:31:08 +01:00
Silc 'Tokage' Renew 5e83677408 fix cubic interpolate when looping 3.x
Co-authored-by: robfram <robfram@gmail.com>
(cherry picked from commit 7b9a912ff6)
2022-03-07 08:30:45 +01:00
Rémi Verschelde 4b1ee744c7
Merge pull request #58682 from akien-mga/3.4-cherrypicks 2022-03-02 17:59:03 +01:00
lawnjelly 855a079664 Portals - fix duplication of instanced scenes during conversion
During room conversion, if a prefixed Spatial is converted to a Room / RoomGroup etc, when using instanced scenes the owner was incorrectly set, resulting in the instanced scene objects being duplicated.

This PR corrects this.

(cherry picked from commit 4ec4b5a60d)
2022-03-02 12:07:54 +01:00
Ricardo Buring a57dc1881b Joint2D and Joint: make set_exclude_nodes_from_collision respect signals
(cherry picked from commit 322e3a9567)
2022-03-02 12:07:26 +01:00
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