Commit Graph

55761 Commits

Author SHA1 Message Date
Rindbee fb1bcac271 Fix that ViewportTexture cannot be setup again after failed setup
`vp_pending` is a flag indicating to wait for `ViewportTexture::_setup_local_to_scene`
to be called. Once this method is called, no matter whether the setup will fail or not,
it needs to be reset to `false`.
2023-06-27 06:45:30 +08:00
Ricardo Buring 104da478a8 Fix CharacterBody3D get_position_delta()
Calculate the difference of global positions.
This also fixes get_real_velocity().
2023-06-26 23:15:57 +02:00
Yuri Sizov 1f9e540f14 Merge pull request #78720 from clayjohn/GLES3-tex-init
Use a filter with mipmaps when initializing textures with mipmaps in GL Compatibility renderer
2023-06-26 20:59:24 +02:00
clayjohn 7c37a32897 Use a filter with mipmaps when initializing textures with mipmaps in GL Compatibility renderer
This works around a driver bug in some older devices and should be harmless on any spec-compliant device
2023-06-26 10:45:24 -07:00
Rémi Verschelde 9d089fe6e5 i18n: Sync translations with Weblate 2023-06-26 19:40:50 +02:00
Rémi Verschelde 2e7a2c39e1 Bump version to 4.1-rc
Faster release cycles are proving to work fairly well, and we have a lot more
confidence label the current state as RC as we've had in the past.

Let's get to 4.1-stable quickly and reopen development!
2023-06-26 19:38:40 +02:00
Rémi Verschelde 5b220fbc1a Merge pull request #78717 from KoBeWi/TracToR
Fix missing translation in SceneCreateDialog
2023-06-26 19:30:22 +02:00
Rémi Verschelde 0878766974 Merge pull request #78719 from RandomShaper/fix_fixup
Fix change of precedence in fixup
2023-06-26 19:25:28 +02:00
Pedro J. Estébanez fc0e37bbe0 Fix change of precedence in fixup 2023-06-26 19:20:34 +02:00
kobewi 08ef3044ee Fix missing translation in SceneCreateDialog 2023-06-26 19:19:36 +02:00
Rémi Verschelde 8321e0355e mbedtls: Improve X509 certificate load error handling
Positive numbers shouldn't be treated as a hard failure:

> For CRTs in PEM encoding, the function parses permissively:
> if at least one certificate can be parsed, the function
> returns the number of certificates for which parsing failed
> (hence \c 0 if all certificates were parsed successfully).
> If no certificate could be parsed, the function returns
> the first (negative) error encountered during parsing.

Fixes #77994.
2023-06-26 19:17:17 +02:00
Rémi Verschelde 2930fbeecd Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@ajreckof, @AThousandShips, @bitsawer, @hakro, @mihe, @nongvantinh

Thanks to all contributors and donors for making Godot possible!
2023-06-26 17:56:14 +02:00
Rémi Verschelde 6b91f57042 Fixup compilation warning after #78713 2023-06-26 17:55:08 +02:00
Rémi Verschelde 61937011c9 Merge pull request #78713 from RandomShaper/fix_default_group_cq
Ensure default node groups' call queue are processed
2023-06-26 17:28:31 +02:00
Pedro J. Estébanez a39b683b12 Ensure default node groups' call queue are processed 2023-06-26 16:56:10 +02:00
Yadnesh Kulkarni a8dde286ce Fixed grid disappearance 2023-06-26 09:27:25 -04:00
Rémi Verschelde 3aaa787094 Merge pull request #78709 from Faless/mp/4.x_fix_delta_again
[MP] Fix delta variables index decoding.
2023-06-26 14:57:12 +02:00
Rémi Verschelde d08ba5f3dc Merge pull request #78670 from KoBeWi/cache_with_full_power
Improve script icon cache
2023-06-26 14:56:47 +02:00
Rémi Verschelde 1b1e2403f9 Merge pull request #78653 from dalexeev/unexpose-doc-cache
Unexpose `DocCache` class
2023-06-26 14:56:24 +02:00
kobewi 0458ac4b81 Improve script icon cache 2023-06-26 14:03:21 +02:00
Fabio Alessandrelli 91004df875 [MP] Fix delta variables index decoding. 2023-06-26 12:33:30 +02:00
Rémi Verschelde afc5fa14ad Merge pull request #78700 from AThousandShips/mutex_doc
Fix documentation for `Mutex.try_lock`
2023-06-26 10:13:53 +02:00
Rémi Verschelde 320711bc8b Merge pull request #78677 from smix8/navserver_default_values_4.x
Add missing default Callables for new NavigationServer geometry parse and bake functions
2023-06-26 10:13:29 +02:00
Rémi Verschelde 33726f97b5 Merge pull request #78676 from smix8/doc_globalscope_navserver3d_4.x
Fix GlobalScope doc link for NavigationServer3D
2023-06-26 10:13:06 +02:00
Rémi Verschelde 8f2f5987a5 Merge pull request #78673 from Geometror/fix-graphnode-hotzones
[GraphEdit] Fix port hotzones at zoom levels other than 100%
2023-06-26 10:12:42 +02:00
Rémi Verschelde 710d2e7edf Merge pull request #78665 from smix8/fix_navobjects_map_4.x
Fix NavObjects map assignments
2023-06-26 10:12:19 +02:00
Rémi Verschelde a93c671b7d Merge pull request #78660 from AThousandShips/doc_node_path
Add example for `NodePath` to grandparent
2023-06-26 10:11:56 +02:00
Rémi Verschelde e0de078d65 Merge pull request #78654 from Sauermann/fix-scene-load-crash
Fix scene load crash related to `_ready`
2023-06-26 10:11:32 +02:00
Rémi Verschelde a791103069 Merge pull request #78626 from Sauermann/fix-centered-doc
Fix documentation of `popup_centered_ratio`
2023-06-26 10:11:04 +02:00
Fabio Alessandrelli d577a2109a Merge pull request #78662 from AThousandShips/mp_doc
Clarify restrictions on nested `MultiplayerAPI` in `SceneTree`
2023-06-26 10:06:00 +02:00
Hugo Locurcio 1621b4e2b1 Mention Xbox menu button by name in Start button description
Microsoft officially calls it the Menu button:

https://support.xbox.com/en-US/help/hardware-network/controller/get-to-know-your-xbox-series-x-s-controller
2023-06-26 09:41:54 +02:00
Ninni Pipping 40e2168ac6 Fix documentation for Mutex.try_lock
Documentation was not updated when return type was changed from `Error`
to `bool`
2023-06-26 08:48:47 +02:00
Markus Sauermann 31fab43b8b Fix scene load crash related to _ready
The iterator might get invalidated during `_ready`-user-code.
Prevent this by disallowing set_name during iterator-operations.
2023-06-25 22:35:38 +02:00
smix8 8bd14e5ca3 Add missing default Callables for new NavigationServer geometry parse and bake functions
Adds missing default Callables for new NavigationServer geometry parse and bake functions.
2023-06-25 19:08:50 +02:00
smix8 8e31d986c3 Fix GlobalScope doc link for NavigationServer3D
Fixes GlobalScope doc link for NavigationServer3D.
2023-06-25 19:04:56 +02:00
Hendrik Brucker 1e8ca95cdc [GraphEdit] Fix port hotzones at zoom levels other than 100% 2023-06-25 17:13:53 +02:00
smix8 4ae5dcca45 Fix NavObjects map assignments
Fixes NavObject map assignments.
2023-06-25 12:22:42 +02:00
Ninni Pipping e9c9285213 Clarify restrictions on nested MultiplayerAPI in SceneTree 2023-06-25 11:29:05 +02:00
Ninni Pipping 3147d84647 Add example for NodePath to grandparent 2023-06-25 10:25:22 +02:00
Rémi Verschelde 3710f06929 Merge pull request #78637 from V-Sekai/varying-offset-mismatch
Varying mismatch causing shaders to fail.
2023-06-24 22:26:13 +02:00
Danil Alexeev da4590b3f1 Unexpose DocCache class 2023-06-24 22:24:54 +03:00
MewPurPur 0786876077 Tweak documentation to use bold font when a class is referencing itself 2023-06-24 18:09:31 +02:00
Rémi Verschelde 030c1a950e Merge pull request #78643 from godotengine/revert-76711-fix-paste-value-not-updating-element-in-dictionaries/array
Revert "Fix paste value not updated in dictionaries/arrays"
2023-06-24 11:58:01 +02:00
Rémi Verschelde 1ee2697682 Revert "Fix paste value not updated in dictionaries/arrays" 2023-06-24 10:59:35 +02:00
Rémi Verschelde 24e7502279 Merge pull request #78629 from Calinou/editor-export-mobile-web-csharp-error
Display a message about missing C# support on Android/iOS/Web platforms
2023-06-24 10:58:29 +02:00
K. S. Ernest (iFire) Lee 39dfa8436e Varying mismatch causing shaders to fail. 2023-06-23 21:36:38 -07:00
Hugo Locurcio bce2985615 Use bullet points in shader editor creation dialog
This is consistent with the script creation dialog.
2023-06-24 02:12:13 +02:00
Hugo Locurcio 0b19ec3498 Display a message about missing C# support on Android/iOS/Web platforms
When trying to export a C# project, this displays an error message after
creating a export preset for an unsupported platform.

Support for these platforms is planned for a future release.
2023-06-24 00:09:06 +02:00
Hugo Locurcio 08118b1456 Only display 15 nodes in the Recent section of the Create New Node dialog
This prevents the history size from becoming too large, which made it less
useful.

This also fixes an off-by-one error in the completion scoring algorithm.
2023-06-23 23:51:51 +02:00
Rémi Verschelde 19e7490c9a Merge pull request #78620 from clayjohn/GL-viewport
Reset filter/repeat state of textures in GL Compatibility renderer when render target is cleared
2023-06-23 22:49:23 +02:00