Commit Graph

52996 Commits

Author SHA1 Message Date
David Turner 0566ac68de
Explain why an image would be invalid for a texture
(cherry picked from commit 43a7cb093c)
2023-05-12 12:07:02 +02:00
mashumafi 0cb1fd3a61
Wait for navigation baking to finish before destruction
(cherry picked from commit a93a2e519d)
2023-05-12 12:07:01 +02:00
kobewi d56c4f960c
Remove erroneous signal connection
(cherry picked from commit 88ea3dd4db)
2023-05-12 12:07:01 +02:00
kobewi 19b998396c
Close built-in shaders when closing scene
(cherry picked from commit aaf02ec04a)
2023-05-12 12:07:01 +02:00
Bastiaan Olij a5cb7a5eb5
Expose viewports render targer RID
(cherry picked from commit ab60d3b65c)
2023-05-12 12:07:01 +02:00
kobewi 0277f57b6f
Some clarifications on screen-space coordinates
(cherry picked from commit 33b9be27d3)
2023-05-12 12:07:01 +02:00
Pedro J. Estébanez 907b10fb96
Fix additional cases of breakage of rendering effects
(cherry picked from commit c58e50adcc)
2023-05-12 12:07:01 +02:00
clayjohn 2435c9426d
Use proper UV in cubemap downsampler raster
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented

(cherry picked from commit fb77021559)
2023-05-12 12:07:01 +02:00
Tetane e68e2fad25
Use a SubViewport for CanvasItem inspector preview
(cherry picked from commit d3792a2373)
2023-05-12 12:07:00 +02:00
HolonProduction a07ad181ab
Preserve scene unique names when saving branch as scene.
(cherry picked from commit 7814dedc91)
2023-05-12 12:07:00 +02:00
VolTer 70f7fcd208
Light3D show scaling warning immediately
(cherry picked from commit 818d57b5b4)
2023-05-12 12:07:00 +02:00
Tefatika b532dd7626
Fixed error messages when setting all_tab_in_front of TabContainer
Some signal handlers weren't unregistered when removing the wrapped
child TabBar, which resulted in errors printed when the TabBar was
removed and added again when the flag was updated

(cherry picked from commit abd894daf7)
2023-05-12 12:07:00 +02:00
Tefatika e58001bd0d
Command Palette search now also uses original English command names
Both localized and non localized names will be used while filtering

The highest score between the two will be picked when determining
the entries order

(cherry picked from commit 09460cfaaf)
2023-05-12 12:07:00 +02:00
clayjohn 9d257f10c0
Use DXT1 when compressing PNGs with RGB format
This results in much smaller file sizes with the same quality

(cherry picked from commit f84c6df8d1)
2023-05-12 12:07:00 +02:00
Lyuma 2a0597d0cb
import: Fix Silhouette used incorrect index.
Fixes bind pose mistake from using i (mesh skin index) instead of bone_idx (skeleton bone index).
Fixes #76448

(cherry picked from commit d33a734ac5)
2023-05-12 12:07:00 +02:00
bruvzg ebaf3cc9ab
[iOS] Fix loading of GDExtension dylibs auto converted to framework.
(cherry picked from commit ad4d565ee7)
2023-05-12 12:06:59 +02:00
Justin Wash 268b60ddd6
Fix infinite loop in Build2DFaces::_find_edge_intersections
(cherry picked from commit 1ac2c537da)
2023-05-12 12:06:59 +02:00
K. S. Ernest (iFire) Lee 0c312c7a08
Fix CSG edge case causing intersection line to hit on common edge of 2 triangles.
The previous implementation assumed that the intersection entered or exited a
shape when it hit right on the common edge of 2 triangles. However, there is
also a case where it just "skirts" the other shape on the outside.

To fix this, we added code to check the intersection distance and if the
normals of the faces are pointed in the same direction as the intersection or
not (e.g. inner product > 0). This handles the case where the intersection
line hits the common edge of 2 triangles and skirts the other shape on the
outside.

Extended code to cover a third case.

Fixes #58637.

Co-authored-by: OldBelge <StevenGeens@users.noreply.github.com>
(cherry picked from commit eaa84bc682)
2023-05-12 12:06:59 +02:00
kobewi c8d64e8580
Fix another collision shape editor crash
(cherry picked from commit 01c32dffaf)
2023-05-12 12:06:59 +02:00
kobewi fdf66b3472
Fix CollisionShape2D editor crash
(cherry picked from commit e5d0bb1605)
2023-04-28 17:16:53 +02:00
Rémi Verschelde 2d74ee0e5b
Update changelog for 4.0.3 2023-04-27 08:51:08 +02:00
George Marques 21bb5b9c0e
GDScript: Don't fail when freed object is return
This is check is a bit too eager. The user should be able to handle the
return value even if it's a freed object.

(cherry picked from commit abbdf80643)
2023-04-27 08:49:29 +02:00
George Marques aff0340486
GDScript: Fix wrong increment for disassembly of lambda
(cherry picked from commit 5b49382d38)
2023-04-27 08:49:29 +02:00
Pedro J. Estébanez 908325c29e
Fix unsupported sampler filter used for voxel GI
(cherry picked from commit 09aa1bbdb3)
2023-04-27 08:43:30 +02:00
Pedro J. Estébanez a5779ff281
Fix breakages of volumetric fog on voxel GI changes
(cherry picked from commit 2beed0d5dc)
2023-04-27 08:43:23 +02:00
kobewi 37c89f78ac
Improve reliability of 2D shape editor redrawing
(cherry picked from commit d8e39912f8)
2023-04-27 08:42:54 +02:00
bitsawer a0a95c7bc7
Fix Shader Preprocessor line numbering when disabled
(cherry picked from commit 34896d8e89)
2023-04-27 08:41:43 +02:00
George Marques ee9a268fd7
GDScript: Use default path in test generator if not provided
Since it's almost always used with the same path, assume it is running
from the Godot source root.

(cherry picked from commit 221deb1cc1)
2023-04-27 08:41:36 +02:00
Devin 1b74572377
Updated GDScript example to use clear_surfaces() and C Sharp example to use ClearSurfaces() instead of non-existent surface_remove() and SurfaceRemove()
(cherry picked from commit 3b615ed789)
2023-04-27 08:41:23 +02:00
Rémi Verschelde ba004ea1c3
Merge pull request #76476 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.3) - 3rd batch
2023-04-26 17:57:45 +02:00
Yuri Sizov e7f4af0913 Update the changelog for 4.0.3 2023-04-26 15:50:20 +02:00
VolTer 7f09c3d2fc Provide an example on how to use ImmediateMesh
(cherry picked from commit 4eabad6c26)
2023-04-26 14:51:01 +02:00
Yuri Sizov 56110a354c Err when trying to build the editor without its required modules
(cherry picked from commit a145194268)
2023-04-26 14:51:01 +02:00
Winston b9e75e50dc Document automatic center mode using shape origins
(cherry picked from commit 7b30d7da51)
2023-04-26 14:51:01 +02:00
Ninni Pipping 08ec4a82bd Add information about how `Engine.time_scale` affects Timers
(cherry picked from commit 16a1465380)
2023-04-26 14:51:00 +02:00
Fredia Huya-Kouadio d327bb7a45 Fix issue with resizing the display on Android when using the compatibility renderer.
(cherry picked from commit b438b4a490)
2023-04-26 14:51:00 +02:00
Eoin O'Neill 5120afc236 Fix crash caused by invalid mix_rate assignment due to bogus
project settings.

We'll default to a sensible value in the case that a user has
somehow managed to modify the configuration file incorrectly.

Closes 69819

(cherry picked from commit 5a08091168)
2023-04-26 14:51:00 +02:00
Rindbee 4b4556179e Fix the uid field of the tscn/res file is lost when the external dependency is updated
(cherry picked from commit 41ac40c44c)
2023-04-26 14:51:00 +02:00
Roman Vasilyev b711b45870 ios splash screen rotation fix
(cherry picked from commit 8fcca194a1)
2023-04-26 14:50:59 +02:00
VolTer 7b59361637 Document why Gradient.reverse() doesn't reverse constant gradients
(cherry picked from commit f21d13600e)
2023-04-26 14:50:59 +02:00
sodaJar 0132c29953 Fix wrong file on function call error
(cherry picked from commit 464a299d2e)
2023-04-26 14:50:59 +02:00
Haoyu Qiu 389045c691 Fix inconsistent file dialog settings usage
* Project Manager ignores display mode settings.
* EditorFileDialog's default display mode and show hidden files settings
  are not updated when corresponding editor settings change.

(cherry picked from commit 2ccc9e1456)
2023-04-26 14:48:18 +02:00
Pedro J. Estébanez 4c8946c080 Fix issues with Vulkan layout transitions
(cherry picked from commit 882b869220)
2023-04-26 14:48:18 +02:00
Yuri Sizov 289d551fbb Create an "Editor-only" section in the online class reference
This helps to find such classes without digging
through the rest of the class reference.
Editor-only classes can still be found under
your normal "Node" and "Resource" types.

This also fixes a typo and a missed case from the recent platform docs PR.

(cherry picked from commit 3ae282b452)
2023-04-26 14:47:56 +02:00
Rindbee 112677c39e Fix `line_spacing` in code editor will not take effect immediately on change
Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.

(cherry picked from commit 23d6225c1e)
2023-04-26 14:32:22 +02:00
VolTer 75a33fd647 Add missing PhysicalBone2D icon
(cherry picked from commit 048f94f662)
2023-04-26 14:32:22 +02:00
Adam Scott e03ee06d74 Fix GDScript LSP variable rename
(cherry picked from commit 10fe6f14bb)
2023-04-26 14:32:22 +02:00
Samuele Panzeri 12969aadbd Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash
(cherry picked from commit b6abb34759)
2023-04-26 14:32:21 +02:00
Haoyu Qiu 7f1b1e1c1b Fix TouchScreenButton not redrawn when texture changes
(cherry picked from commit a15126915d)
2023-04-26 14:32:21 +02:00
Haoyu Qiu 9336866de0 Fix layout list not resizing in editor layout dialog
(cherry picked from commit dfc628bc54)
2023-04-26 14:32:21 +02:00