Commit Graph

29975 Commits

Author SHA1 Message Date
Питанов Валера 051c5a7ed9
fix lightmap cpu crashes
(cherry picked from commit 47b9afa3e9)
2021-07-15 11:52:53 +02:00
Fabio Alessandrelli 1594678ed5
[HTML5] Raise default initial memory to 32 MiB.
The memory was resized in any case during start.

Mitigate Chromium issue:
https://bugs.chromium.org/p/v8/issues/detail?id=11863

Also fix a warning about SAFE_HEAP being a linker only flag.

(cherry picked from commit 897c906ebf)
2021-07-13 17:04:42 +02:00
Rémi Verschelde ad95bb52d6
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@LightningAA, @thebestnom

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 9e0e74e58e)
2021-07-13 13:17:08 +02:00
Rémi Verschelde 1c840a31a5
i18n: Sync translations with Weblate 2021-07-13 12:32:44 +02:00
Haoyu Qiu c0ab0df9dc
Fix decompression with FastLZ when buffer size is less than 16 bytes
(cherry picked from commit ccf292df38)
2021-07-13 12:20:29 +02:00
Haoyu Qiu 6250a33c61
Merge similar editor strings
(cherry picked from commit 4383f8a790)
2021-07-13 12:19:36 +02:00
TaskManagerCZ db42629cef
Explicit error message when setting active a Viewport that is already active.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit e3be0913d7)
2021-07-13 12:19:05 +02:00
Haoyu Qiu 859dba0dd6
Fix unicode invalid skip error in AssetLib
(cherry picked from commit 0caaaf4018)
2021-07-13 12:18:48 +02:00
Haoyu Qiu cca999c007
Fix doc description of HTTPClient::request
(cherry picked from commit 422f821be9)
2021-07-13 12:16:25 +02:00
Hugo Locurcio f0dcedbf3a
Make makerst.py create folders automatically, print a message when done
(cherry picked from commit f05aa9cc01)
2021-07-13 12:16:05 +02:00
Francois Belair c2a92d93f2
Implement didClose notification in LSP
(cherry picked from commit 10429019ad)
2021-07-13 12:15:43 +02:00
Nick Huelin 00ed053486
Add method description to `PopupMenu`
This pull request adds a missing method description to `PopupMenu`.

This completes the documentation for `PopupMenu` and enhances usability by doing so.

Update doc/classes/PopupMenu.xml

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 2e3cbbcd11)
2021-07-13 12:15:31 +02:00
Hugo Locurcio 7abe93ecf2
Tweak the GradientTexture property hint to follow CurveTexture
This prevents setting too large values and crashing the editor.

Very low values are also no longer allowed since they are generally
not detailed enough to represent complex gradients, leading to confusion.

(cherry picked from commit 2c7813385d)
2021-07-13 12:15:10 +02:00
voxelv 85fb2ea8b4
Avoid using a nullptr root in Tree._range_click_timeout().
Fixes #46648

(cherry picked from commit f17f3f8830)
2021-07-13 12:14:44 +02:00
Nick Huelin bdcdfb0db7
Add multiple descriptions to several classes
This pull request adds several descriptions to multiple different classes.

This improves the completeness of the documentation and enhances usability by doing so.

(cherry picked from commit 27e9df7778)
2021-07-06 16:29:53 +02:00
Nick H 28ea0cf1e2
Add `get_dead_zone()` method to `InputMap`
This commit adds a new method to the `InputMap`, allowing the user to get the value of an action's dead zone as a float.

(cherry picked from commit c6f28ed62b)
2021-07-06 16:29:20 +02:00
Pitanov V.V 686a27b278
Fix GridMap erase Octans
(cherry picked from commit 4da4514b71)
2021-07-06 16:29:02 +02:00
Hugo Locurcio c90766cc38
Document debanding being broken on mobile
(cherry picked from commit 9c4ebea9ef)
2021-07-06 16:28:41 +02:00
Marcel Admiraal 54eef268c0
Fix unchecked call to put() warning in GodotInputHandler.java
(cherry picked from commit 8270e101a7)
2021-07-06 16:28:30 +02:00
Hugo Locurcio ecf4557348
Improve error reporting in WebSocketServer
This should make troubleshooting easier.

(cherry picked from commit 58455b18b5)
2021-07-06 16:27:12 +02:00
Rémi Verschelde 47a0490ff3
LocalVector: Don't error if `from` >= `count`
Vector handles this silently by returning -1, and we should do the same here.
Otherwise we get errors when calling `find()` on e.g. a LocalVector of size 0,
while `find()` is expected to always work (if the parameters are invalid then
it doesn't find anything, so -1).

Fixup to #49925.

(cherry picked from commit 7b7ccf25b6)
2021-07-05 12:18:44 +02:00
Marcel Admiraal c43d33fa60
Add GDNative libraries to Android custom Gradle builds
(cherry picked from commit e021cab45b)
2021-06-29 14:59:22 +02:00
Rémi Verschelde 30bb133e01
i18n: Sync translations with Weblate 2021-06-29 14:56:36 +02:00
Rémi Verschelde 1a6c44aaf3
SpatialEditor: Revert tooltip rephrasing for Game Camera Override
Partial undo of #49541, keeping the swap fix but also preserving the
existing strings to avoid breaking translations in 3.3.
2021-06-29 14:55:44 +02:00
Ricard Rovira 7c8bbfadca
Use unused from in local vector find function.
(cherry picked from commit 14d5908057)
2021-06-29 14:48:10 +02:00
Levi Lindsey 25bf30da53
Update File.store_var description to mention which properties of an object are included.
(cherry picked from commit 2b7c0cfb34)
2021-06-29 14:02:57 +02:00
bruvzg 9c1580579c
[Windows Export] Use temporary file for osslsigncode signing.
(cherry picked from commit 8f7c2ccefd)
2021-06-29 14:02:57 +02:00
Fabio Alessandrelli da03374563
[Net] Fix WebSocketClient path parsing.
Recent changes to parse_url caused the client to make invalid HTTP
requests if no path was specified.

(cherry picked from commit d244dda597)
2021-06-29 14:02:57 +02:00
Hugo Locurcio 747450a777
Fix flipped binormal in SpatialMaterial triplanar mapping
This made normal maps on triplanar materials use an inverted Y direction
compared to non-triplanar materials.

(cherry picked from commit 11033be5c6)
2021-06-29 14:02:57 +02:00
Haoyu Qiu e0223edafc
Validates the `p_format` parameter in `Image::create` functions.
(cherry picked from commit 0b7ffd4f68)
2021-06-29 14:02:56 +02:00
Nick H 6f58cfd077
Amend `Label`.clip_text() Method Description
This update fixes an inconsistencies in the documentation about the `clip_text()` method.

(cherry picked from commit ea94aeac48)
2021-06-29 14:02:56 +02:00
ne0fhyk 9933553268
Update config versions and deprecate the use of the jcenter maven repo.
(cherry picked from commit d1a9363c4c)
2021-06-29 14:02:56 +02:00
bruvzg e5265a9bc3
[macOS] Fix custom mouse cursor not set after mouse mode change.
(cherry picked from commit f7797bf1b3)
2021-06-29 14:02:55 +02:00
ne0fhyk 5ba710863d
Add support for custom debug keystore.
(cherry picked from commit d5b4045ea4)
2021-06-29 13:55:03 +02:00
Yuri Sizov e1bc053496
Make relationship lines draw on top of TreeItems
(cherry picked from commit b91e3237c6)
2021-06-29 13:54:15 +02:00
Marcel Admiraal 288ce3c4b1
Clear glErrors instead of crashing when initializing GLES3
(cherry picked from commit 8788472b8c)
2021-06-29 13:53:07 +02:00
Hugo Locurcio e39d59b43e
Improve descriptions for ProjectSettings' `disable_stdout`/`disable_stderr`
(cherry picked from commit e3ef50db38)
2021-06-29 13:52:49 +02:00
Marcel Admiraal aeb8cf2d2b
Add adb output to error message when install fails
(cherry picked from commit de2acbd495)
2021-06-29 13:52:25 +02:00
Hugo Locurcio 5359b1dcc1
Tweak CylinderMesh `rings` property hint to allow a value of 0
A value of 0 rings is valid and results in a non-subdivided cylinder.

Compared to the previous lowest allowed value (1), a value of 0 halves
the triangle count in any cylinder.

(cherry picked from commit a82c90ca55)
2021-06-29 13:52:05 +02:00
PouleyKetchoupp 7a8020ea67
Fix export var override in PackedScene at runtime
Regression fix: update_exports is tool only and should be used only in
the editor, otherwise it can cause export variable overrides from
instances to be discarded in favor of the parent's value.

(cherry picked from commit f1587c8a7d)
2021-06-29 13:51:45 +02:00
PouleyKetchoupp 6c7d52164a
Ignore disabled shapes for mass property calculations
(cherry picked from commit c3107349a4)
2021-06-29 13:51:17 +02:00
kleonc 5c36619bdd
AnimationMultiTrackKeyEdit Allow editing easing if it's possible for all edited tracks
(cherry picked from commit 1d890e16f7)
2021-06-29 13:50:03 +02:00
Francois Belair 2e1e8eb2e1
Translate file path to URI on LSP symbol requests
(cherry picked from commit a56c2e459b)
2021-06-29 13:49:12 +02:00
Gromph c652cb62db
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
The previous code used `camelcase_to_underscore` to prettify the names for
display in the export preset, but it leads to inconsistencies if we don't make
sure to do the reverse operation when writing to the `AppxManifest.xml`.

It's simpler to keep the same names as in the manifest, which is also what
users will see referenced in MS documentation.

Fixes #47900.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit c87e49d7bc)
2021-06-29 13:48:55 +02:00
PouleyKetchoupp 0938958111
Expose collider RID in 2D/3D kinematic collision
Can be useful to access the colliding body information for bodies
created with the physics server directly.

(cherry picked from commit a146e79758)
2021-06-29 13:48:37 +02:00
amor cefef7db05
Fixed inspector not updating anchor
(cherry picked from commit dacc726faf)
2021-06-29 13:48:14 +02:00
Umang Kalra f12df328f0
Fixes missing descriptions in search window of visualscript
(cherry picked from commit 5e8d31ef0e)
2021-06-29 13:47:35 +02:00
K. S. Ernest (iFire) Lee 64cfd5cbaa
ERR_FAIL_NULL check file access
Null in ResourceImporterTexture::_save_stex

(cherry picked from commit b74bc42a43)
2021-06-17 13:25:29 +02:00
Haoyu Qiu c1b2bd6fb6
Save binary ProjectSettings key length properly
(cherry picked from commit 06c0a5f9f2)
2021-06-17 13:25:11 +02:00
Paweł Fertyk f36a3c67e3
Remove trailing slash from recent dir if needed
(cherry picked from commit 709e71ae9c)
2021-06-17 13:24:59 +02:00