Commit Graph

32080 Commits

Author SHA1 Message Date
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
Haoyu Qiu
7adead25ea Fix RichTextLabel shadow color when text has transparency
(cherry picked from commit 7d219b6793)
2022-03-13 16:09:29 +01:00
Haoyu Qiu
496d2843c4 Hide smart snapping line when guideline dragging ends
(cherry picked from commit b255efba7c)
2022-03-13 15:35:46 +01:00
MythTitans
5c64f0d7bf Prevent non-smoothed face normals to participate to smoothed face normals
(cherry picked from commit ec2984f7c7)
2022-03-13 15:35:33 +01:00
Hugo Locurcio
d57b7cb0e5 Clarify the position of points in Curve{2D,3D}.add_point()
(cherry picked from commit 35c8d332b5)
2022-03-13 15:35:05 +01:00
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