Commit graph

30011 commits

Author SHA1 Message Date
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
Fabio Alessandrelli 87883f8b0d
[HTML5] Update eslint and jsdoc dependencies.
(cherry picked from commit a1cbb6daa6)
2021-06-17 13:24:44 +02:00
Fabio Alessandrelli 336a381486
[HTML5] Fix some JS library signature.
(cherry picked from commit 9b7b0a28b9)
2021-06-17 13:23:40 +02:00
Pedro J. Estébanez dc203b0d13
Fix slow load/save of scenes with many instances of the same script
(cherry picked from commit 2ca6b9c610)
2021-06-17 13:22:41 +02:00
Haoyu Qiu 461e79bd18
Validate parameters when adding plugins
(cherry picked from commit 1a9e3edd30)
2021-06-17 13:21:42 +02:00
Hugo Locurcio a40b59d270
Fix game camera override tooltips being swapped
Previously, the wrong tooltip was shown.

This also tweaks the tooltips' texts to be clearer and remove
references to "game" (since Godot is used for more than just games).

(cherry picked from commit d1c5dd5b68)
2021-06-17 13:21:28 +02:00
Hugo Locurcio 5dcbe95758
Fix duplicate paragraph in ArrayMesh.add_surface_from_arrays() description
(cherry picked from commit 033985f9c2)
2021-06-17 13:21:12 +02:00
kleonc e8759f218d
TextureButton Update min size on any texture change
(cherry picked from commit 6c3c269f24)
2021-06-17 13:20:54 +02:00
Philip Whitfield e583888573
fix url parsing with port numbers
String.get_slice_count is always at least 1 or 2 for bases with a port number.
Before this change the following URL would return ERR_INVALID_PARAMETER ```ws://127.0.0.1:8000/test```

(cherry picked from commit 3d9f29910c)
2021-06-17 13:20:43 +02:00
Hugo Locurcio 0cb19bc69c
Allow higher and lower maximum zoom values in GraphEdit
Low zoom values result in unreadable text, but it can still be
useful for previewing purposes.

Eventually, characters could be replaced by rectangles at very low
zoom levels to improve the visual appearance.

(cherry picked from commit 74c584472c)
2021-06-17 13:20:23 +02:00
Hugo Locurcio fbe8226213
Tweak the physics FPS property hint to only allow reasonable values
Physics FPS above 1000 cause the whole project to slow down
and are not very practical in the first place (since no CPU currently
available can keep up).

(cherry picked from commit 8f4ac7bc4a)
2021-06-17 13:20:04 +02:00
Andrii Doroshenko (Xrayez) 6f63b0c9ae
Separate version hash from version number in editor and project manager
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.

(cherry picked from commit 293550f56a)
2021-06-17 13:19:41 +02:00
Hugo Locurcio 915865b279
Fix editor constantly redrawing when freelook is active with still camera
The editor only needs to redraw when the camera is moving.

This helps preserver battery life on laptops when using freelook,
especially with the toggle mode (Shift + F).

(cherry picked from commit 21807f8d88)
2021-06-17 13:19:05 +02:00
Marcel Admiraal 286ab2aa5c
Remove FIXME comment from fixed issue in Android Export
(cherry picked from commit 68b1a80a5d)
2021-06-17 13:18:50 +02:00
bruvzg 984fa91a0f
Fix loading RLE compressed TGA files.
Fix memory reads outside of input buffer when loading invalid TGA files.

(cherry picked from commit d86ccf8309)
2021-06-17 13:18:18 +02:00