Commit Graph

52659 Commits

Author SHA1 Message Date
Aaron Franke 9a031806bd
GLTF: Delete unused skeleton_to_node 2023-02-26 15:16:31 -06:00
Rémi Verschelde 0cd1483132
Merge pull request #73959 from clayjohn/GL-mobile-warnings
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 21:39:06 +01:00
Rémi Verschelde 93b80f17dc
Merge pull request #73995 from samsface/update-expresion-doc
Clarify when Expression `get_error_text()` is updated
2023-02-26 21:38:42 +01:00
Rémi Verschelde 35557e4410
Merge pull request #73990 from bruvzg/ts_dext_fix
Fix text server GDExtension build.
2023-02-26 21:38:00 +01:00
Rémi Verschelde 08e198643c
Merge pull request #73989 from YuriSizov/docs-fix-gi-tutorial-paths
Sync tutorial paths for GI classes with online documentation changes
2023-02-26 21:37:33 +01:00
clayjohn c69b14e96e Add warnings for unsupported features in mobile and gl_compatibility backends 2023-02-26 12:28:02 -08:00
Sam 8c6e561fc9
Clarify when Expression `get_error_text()` is updated 2023-02-26 20:48:53 +01:00
Rémi Verschelde 30884ee3cc
Merge pull request #73948 from V-Sekai/mip-map-basisu
Fix basisu texture mipmaps
2023-02-26 20:26:01 +01:00
Rémi Verschelde c0f1ed57c4
Merge pull request #73915 from vonagam/fix-conversions-from-native-member
GDScript: Fix conversions from native members accessed by identifier
2023-02-26 19:02:27 +01:00
bruvzg bbc77b6d29
Fix text server GDExtension build. 2023-02-26 18:38:22 +02:00
Rémi Verschelde a12ecd4c95
Merge pull request #73988 from RandomShaper/fix_cyclic_load_dead_lock
Fix deadlock in cyclic resource load
2023-02-26 17:35:29 +01:00
Yuri Sizov e5fce139d9 Sync tutorial paths for GI classes with online documentation changes 2023-02-26 17:29:00 +01:00
Pedro J. Estébanez b60197d1c6 Fix deadlock in cyclic resource load 2023-02-26 17:19:48 +01:00
Rémi Verschelde 1bd0b296e1
Merge pull request #73964 from vonagam/fix-coroutine-compiler-type
GDScript: Fix address type for coroutine results
2023-02-26 16:00:17 +01:00
Rémi Verschelde 92d47f84fe
Merge pull request #73957 from vonagam/fix-binary-op-safety
GDScript: Fix wrong unsafety mark for binary operator
2023-02-26 15:59:54 +01:00
Rémi Verschelde c118790eb9
Merge pull request #73899 from vnen/gdscript-init-defaults-beforehand
GDScript: Initialize all defaults beforehand in implicit constructor
2023-02-26 15:59:27 +01:00
Rémi Verschelde c6443e9a4e
Merge pull request #73954 from KoBeWi/BugEx
Fix wrong OS regex in project converter
2023-02-26 14:28:17 +01:00
Rémi Verschelde ad32b22bde
Merge pull request #73975 from bitsawer/fix_preprocessor_include_check
Fix shader preprocessor include resource check
2023-02-26 14:26:31 +01:00
Rémi Verschelde 303430ef38
Merge pull request #73971 from tlobig/master
Converter: Rename 3.x Vector2 `clamped` to `limit_length`
2023-02-26 14:26:07 +01:00
Rémi Verschelde 3300b40fe6
Merge pull request #73958 from davicr/stream_change_crash
Fix crash when changing VideoStreamPlayer.Stream
2023-02-26 14:25:44 +01:00
Rémi Verschelde 898ad308e5
Merge pull request #73956 from hakro/document-sorting-offset-unit
Document VisualInstance3D offset unit
2023-02-26 14:24:46 +01:00
Hakim 6e86afb487
Document VisualInstance3D offset unit 2023-02-26 14:05:34 +01:00
Thomas Lobig dbb5e377fb
Converter: Rename 3.x Vector2 clamped to limit_length 2023-02-26 13:41:26 +01:00
Davi 4a7c93708e Patch `VideoStreamPlaybackTheora::set_file` to only look for header packets of one stream type 2023-02-26 09:20:49 -03:00
kobewi 0ba6e36e40 Fix wrong OS regex in project converter 2023-02-26 13:02:57 +01:00
bitsawer 35c970f4f6 Fix shader preprocessor include resource check 2023-02-26 13:59:29 +02:00
Dmitrii Maganov 4efaf15605 GDScript: Fix address type for coroutine results 2023-02-26 08:30:46 +02:00
Dmitrii Maganov 638aa4f811 GDScript: Fix wrong unsafety mark for binary operator 2023-02-26 01:35:53 +02:00
K. S. Ernest (iFire) Lee add503e71d Fix basisu mipmaps
Previously basisu was storing mip maps as an array of basisu in the internal format for Texture. The new work makes sense and it generates smaller files with one image.

This pull request fixes the basisu decompression and keep the approach of 1 image. If we need to change the format in 4.x, we can still support the old format with some limitations too. Basisu from gltfpack can only output with mipmaps.

The single image will not work for StreamedTexture. We should support both approaches for CompressedTexture we use one, and for StreamedTexture we use another.

Additional error checking for hdr images and for nullptr.
2023-02-25 13:48:51 -08:00
Yuri Sizov 84a80721c5
Merge pull request #73933 from vnen/gdscript-revert-group-property-ref-check
Revert "GDScript: Fix groups and categories been seen as members"
2023-02-25 20:07:28 +01:00
George Marques eba984a44f
Revert "GDScript: Fix groups and categories been seen as members"
This reverts commit 6f2a8434c6.

The commit introduces a bug where it creates spurious entries for member
information.
2023-02-25 13:40:31 -03:00
Dmitrii Maganov 281c8c75d3 GDScript: Fix conversions from native members accessed by identifier 2023-02-25 10:53:36 +02:00
George Marques 0e6aa6fc38
GDScript: Initialize all defaults beforehand in implicit constructor
Set all the default values for typed variables before actually trying to
initialize them, including `@onready` ones.

This ensures that if validated calls are being used there will be a
value of the correct type, even if the resolution is done out of order
or deferred because of `@onready`.
2023-02-24 22:01:06 -03:00
Rémi Verschelde 3863199ab9
Merge pull request #73881 from vnen/max-min-only-for-numbers
Make max() and min() global functions only accept numbers
2023-02-25 01:36:19 +01:00
Rémi Verschelde 52033c68f5
Merge pull request #73882 from raulsntos/dotnet/check-singletons-properly
C#: Check if a class is a singleton using the Core name
2023-02-25 01:35:49 +01:00
Rémi Verschelde adbabfbaa9
Merge pull request #73892 from vonagam/fix-objects-indentity-compare
Core: Identity compare objects by id, not by pointers
2023-02-25 01:03:54 +01:00
Rémi Verschelde 75c0027e5a
Merge pull request #73887 from nklbdev/master
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 01:01:26 +01:00
Dmitrii Maganov c5f7a89b0f Core: Identity compare objects by id, not by pointers 2023-02-24 23:33:29 +02:00
Jonathan Nicholl 208700ce41 Update documentation for Mesh and MeshInstance3D
Add missing descriptions for Mesh's virtual methods, and
MeshInstance3D's methods relating to blend shapes. Slight tweaks to
several MeshInstance3D method descriptions.
2023-02-24 16:16:06 -05:00
Rémi Verschelde daedc158c7
Merge pull request #73885 from bruvzg/popup_fix
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 22:00:15 +01:00
nklbdev 834a6c5983
fix typo `set_polygon` in GenericTilePolygonEditor 2023-02-25 00:57:34 +05:00
bruvzg cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way. 2023-02-24 21:17:05 +02:00
George Marques ed81b165eb
Make max() and min() global functions only accept numbers
The behavior for those are not well defined for non-numeric arguments.
To avoid confusion the other types are forbidden.
2023-02-24 14:06:11 -03:00
George Marques defa46bfd1
GDScript: Don't use validated call for vararg methods
Since they may have runtime type validation, we cannot use the validated
call.
2023-02-24 14:06:02 -03:00
Raul Santos 3730d8e343
C#: Check if a class is a singleton using the Core name
Use the name of the class in Core, rather than the C# rename, when checking if a class is registered as a singleton.
2023-02-24 18:02:31 +01:00
Rémi Verschelde 6296b46008
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@anvilfolk, @Bromeon, @Maran23, @RedworkDE, @snailrhymer, @vonagam

Thanks to all contributors and donors for making Godot possible!
2023-02-24 14:46:21 +01:00
Rémi Verschelde eec165e1f5
i18n: Sync translations with Weblate 2023-02-24 14:43:04 +01:00
Rémi Verschelde a6baebc7c2
Fixup GDScript test using non-deterministic ids
Follow-up to #73870.
2023-02-24 14:31:36 +01:00
Rémi Verschelde 9e6cb51939
Merge pull request #73752 from bruvzg/x11_quote_left
Fix X11 QUOTELEFT / SECTION physical key mapping.
2023-02-24 14:11:25 +01:00
Rémi Verschelde 7e00cc1f7a
Merge pull request #73870 from vnen/gdscript-dont-reference-group-properties
GDScript: Fix groups and categories been seen as members
2023-02-24 14:08:20 +01:00