Commit graph

38035 commits

Author SHA1 Message Date
Rémi Verschelde bc0f5d3dde
Merge pull request #53251 from LATRio/53224 2021-09-30 13:42:45 +02:00
Rémi Verschelde 70871c6b38
Merge pull request #53252 from Calinou/doc-node-filename 2021-09-30 13:42:24 +02:00
Max Hilbrunner ac7505e277
Merge pull request #53227 from Calinou/rename-getornull
Rename RID's `getornull()` to `get_or_null()`
2021-09-30 12:56:01 +02:00
Hugo Locurcio f23b917007
Clarify what the Node.filename property contains 2021-09-30 12:50:45 +02:00
LATRio 41c1cfe28e InputEventJoypadMotion::set_axis - reject invalid axis 2021-09-30 19:32:21 +09:00
Rémi Verschelde b8c9282814
Merge pull request #48299 from akien-mga/bullet-3.09 2021-09-30 12:12:48 +02:00
Manuele Finocchiaro b55fd934ee
Compile bullet with threasafe switch on
(cherry picked from commit 6f81c213a6)
2021-09-30 10:46:02 +02:00
Rémi Verschelde 71f8b809b2
bullet: Sync with upstream 3.17
Stop include Bullet headers using `-isystem` for GCC/Clang as it misleads
SCons into not properly rebuilding all files when headers change.

This means we also need to make sure Bullet builds without warning, and
current version fares fairly well, there were just a couple to fix (patch
included).

Increase minimum version for distro packages to 2.90 (this was never released
as the "next" version after 2.89 was 3.05... but that covers it too).

Fixes #43868.

(cherry picked from commit b7901c773c)
2021-09-30 10:45:40 +02:00
Rémi Verschelde 4a9a231566
Merge pull request #53230 from nekomatata/fix-2d-bvh-overflow 2021-09-30 10:24:18 +02:00
Hugo Locurcio ba65730cbf
Rename RID's getornull() to get_or_null() 2021-09-29 23:58:02 +02:00
Rémi Verschelde f91afeb75d
Merge pull request #53228 from timothyqiu/dict-erase 2021-09-29 23:17:44 +02:00
Rémi Verschelde 92d88fde2c
Merge pull request #53223 from Paulb23/fix-autocomplete-trigger 2021-09-29 23:15:06 +02:00
Rémi Verschelde 86a2e104dc
Merge pull request #53196 from manueldun/radialFogFix 2021-09-29 23:05:07 +02:00
Rémi Verschelde e1f7e4ef8f
Merge pull request #53221 from bruvzg/fix_fb_text_server
[Fallback TextServer] Fix char to glyph conversion.
2021-09-29 23:01:50 +02:00
Rémi Verschelde 1ab8f3f559
Merge pull request #52724 from groud/improve_tilemap_physics 2021-09-29 23:01:16 +02:00
Rémi Verschelde 0013d6f022
Merge pull request #53114 from lyuma/export_skin_fixes 2021-09-29 22:59:00 +02:00
Rémi Verschelde 7db3dbadb9
Merge pull request #53178 from Calinou/doc-sin-cos-degrees
Document how to use degrees with `sin()` and `cos()`
2021-09-29 22:56:49 +02:00
Rémi Verschelde 4028583e81
Merge pull request #53044 from lucypero/thread_override 2021-09-29 22:43:06 +02:00
Lyuma 5ffda27ea9 gltf export: Fix export of skeletons, skins and blend shapes.
Create GLTFSkeleton at the same time we create GLTFNode objects.
Create GLTFSkin at the same time we export MeshInstance3D
Fixes export of blend shape arrays for meshes with multiple surfaces.
Fixes array indexing issues in export of glTF morph target animations.

Converts BoneAttachment3D nodes during normal node creation: this avoids
special cases during mesh export, and especially exporting skeletons or meshes
which are children of BoneAttachment3D.

Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2021-09-29 13:07:52 -07:00
Manuel Dun 485eac3d3f radial fog fix 2021-09-29 15:49:59 -04:00
PouleyKetchoupp d3c6395dcd Fix buffer overflow in 2D BVH
Some areas of code were missed and assumed Vector3.
2021-09-29 12:10:23 -07:00
Lucy 5fe1857496 Fix Platform Thread Override 2021-09-29 15:38:04 -03:00
Haoyu Qiu 1e0fe9f817 Fix doc for Dictionary.erase 2021-09-30 01:18:47 +08:00
Hugo Locurcio ea54b619ae
Document how to use degrees with sin() and cos()
This was already present in the `tan()` method description.

This also adds `var` keywords to code samples to make them
valid GDScript.
2021-09-29 18:48:40 +02:00
Paulb23 7926d75d02 Fix TextOp setting to none when typing 2021-09-29 17:34:44 +01:00
bruvzg 3c005948ca [Fallback TextServer] Fix char to glyph conversion. 2021-09-29 19:06:54 +03:00
Gilles Roudière f2caab4691 Improve TileMap physics for moving platforms and conveyor belts like movements 2021-09-29 17:56:30 +02:00
Rémi Verschelde 2fc31fdfca
Merge pull request #53217 from Faless/ext/fix_pointer_info 2021-09-29 17:41:58 +02:00
Rémi Verschelde 27d4e2f09f
Merge pull request #53216 from vnen/gdscript-builtin-type-not-id 2021-09-29 17:04:24 +02:00
Rémi Verschelde bd573f8aba
Merge pull request #53215 from vnen/gdscript-property-assignment-op 2021-09-29 16:39:21 +02:00
George Marques 72c07708e8
GDScript: Don't allow builtin type names as identifiers 2021-09-29 11:23:16 -03:00
Fabio Alessandrelli 0276c2e74a Fix const pointers types in docs and extension API.
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr
template, resulting in "void*" being used as it's type info in both the
documentation and the extension API dump.
2021-09-29 16:04:20 +02:00
Rémi Verschelde 5e609d0e8c
Merge pull request #53211 from timothyqiu/request-ub 2021-09-29 15:58:25 +02:00
George Marques 991f4d8527
GDScript: Fix assignment with operation for properties 2021-09-29 10:54:16 -03:00
Rémi Verschelde c1f59139b4
Merge pull request #53092 from Razoric480/lsp-report-_init 2021-09-29 15:47:31 +02:00
Haoyu Qiu 9dd0d3f550 Don't memcpy to nullptr even if length is zero 2021-09-29 20:58:14 +08:00
Francois Belair 7468dd65a5 Make LSP report _init instead of Object::new 2021-09-29 08:42:01 -04:00
Rémi Verschelde 3db672c89e
Merge pull request #44670 from o01eg/test-translations 2021-09-29 14:09:09 +02:00
Rémi Verschelde 4c1d2e9350
Merge pull request #53199 from Geometror/fix-skeleton2d 2021-09-29 13:47:12 +02:00
Rémi Verschelde ea0a9e6ed3
Merge pull request #52800 from akien-mga/gdscript-remove-exp_range 2021-09-29 13:33:59 +02:00
O01eg 9302b6547a
Implement override of get_message and get_plural_message 2021-09-29 14:19:14 +03:00
Fabio Alessandrelli e2e1a5099c
Merge pull request #52809 from selgesel/patch1
Release pressed events when the window is blurred on HTML5 platform
2021-09-29 13:09:59 +02:00
Rémi Verschelde 475facb517
Merge pull request #53204 from o01eg/test-translations-test-only 2021-09-29 10:44:40 +02:00
Rémi Verschelde 6c0f44ca7e
Merge pull request #53000 from Chaosus/lineedit_expose_selection_methods 2021-09-29 10:31:37 +02:00
Rémi Verschelde 1979266a17
Merge pull request #53062 from stebulba/4.0_undo_CloseCurve 2021-09-29 10:18:24 +02:00
Rémi Verschelde b1237b5cac
Merge pull request #52926 from akien-mga/js-acorn-emscripten-1.39.9 2021-09-29 09:40:17 +02:00
O01eg 2cd052f889
Add tests for Translations 2021-09-29 10:39:20 +03:00
Rémi Verschelde f410852f9c
Merge pull request #52172 from kleonc/scene-tree-dock-ensure-single-select 2021-09-29 09:15:43 +02:00
Rémi Verschelde 4fc246e99e
Merge pull request #52573 from e8newallm/Save_Scene-52078 2021-09-29 09:15:14 +02:00
Rémi Verschelde 23b51a1708
HTML5: Fix minification error with Emscripten 1.39.9
It used an old vendored version of acorn.js which seems to choke on this
trailing comma. This is not a problem for more recent Emscripten versions.

We disable the `comma-dangle` check in ESLint to prevent this issue.
2021-09-29 09:11:11 +02:00