Rémi Verschelde
d044c57069
enet: Sync with upstream 1.3.17
...
(cherry picked from commit d8495d41ca
)
2021-01-13 16:17:08 +01:00
Rémi Verschelde
4b59e1e736
zstd: Update to upstream version 1.4.8
...
(cherry picked from commit 3645c9c80c
)
2021-01-13 16:17:08 +01:00
Hugo Locurcio
49c2f2fec2
Make links on the HTML5 editor more readable
...
This also tweaks the focus style to apply to all elements for
better keyboard navigation.
(cherry picked from commit 663466b882
)
2021-01-13 16:17:08 +01:00
Aaron Franke
6e1b2af770
Descriptive error message when using AudioStream(OGG/MP3) incorrectly
...
(cherry picked from commit 193564d83e
)
2021-01-13 16:17:08 +01:00
kobewi
d16f2bddee
Clarify class_get_method_list() in release exports
...
(cherry picked from commit 84acafb2ce
)
2021-01-13 16:17:07 +01:00
PouleyKetchoupp
dad3f27e9f
Update String property field only when text has changed
...
Avoids resetting the cursor position when the inspector updates while
editing a string property.
Fixes #42488
(cherry picked from commit c064378f95
)
2021-01-13 16:17:07 +01:00
Eric M
db3e18b9c6
Made save dialog open immediately when running unsaved scene.
...
Previously there was an unneeded confirmation dialog.
(cherry picked from commit a54110ba60
)
2021-01-13 16:17:07 +01:00
nevarek
2167b977de
Optimize data format for OpenSimplex images
...
The previous RGBA format included unused RGB data. Using the LA8 format
removes the need to store the extra data.
The Docs have been updated to reflect the format changes.
(cherry picked from commit 041fe20f64
)
2021-01-13 16:17:07 +01:00
jeffuntildeath
64cbff7e7d
Snap To Floor improperly offsets node
...
fix for issue #44282
AABB for collision geometry was being calculated based on parent nodes transform without consideration for collision geometries translation.
Also hopefully clarified logic for selecting starting point for ray cast
(cherry picked from commit 4f171afecc
)
2021-01-13 16:17:07 +01:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Rémi Verschelde
188609e5ab
CI: Update to clang-format 11 and apply ternary operator changes
...
(cherry picked from commit af878716f2
)
2021-01-13 16:14:35 +01:00
Marcel Admiraal
47657cd140
Only remove Bullet's body constraints when removing body from space
2021-01-13 13:45:40 +00:00
Rémi Verschelde
ef683e761d
Merge pull request #45154 from lawnjelly/bvh_fix_setting
...
Fix BVH physics project setting
2021-01-13 12:44:02 +01:00
lawnjelly
b5edbe0301
Fix BVH physics project setting
...
Move the GLOBAL_DEF for the `godot_physics/use_bvh` to occur before GLOBAL_GET.
This prevents a warning occurring and the selection not being used.
2021-01-13 09:22:17 +00:00
Rémi Verschelde
2583624f74
Merge pull request #45133 from akien-mga/3.2-ci-android-ndk-pin-r21
...
[3.2] CI: Pin Android NDK r21 as we don't support r22 yet
2021-01-12 19:32:27 +01:00
Rémi Verschelde
df54f228ad
CI: Pin Android NDK r21 as we don't support r22 yet
...
(cherry picked from commit 06613ed9a3
)
2021-01-12 18:45:53 +01:00
Rémi Verschelde
8f265e8c0b
Merge pull request #45129 from Xrayez/aspect-ratio-container-3.2
...
Add `AspectRatioContainer` class
2021-01-12 15:50:50 +01:00
Andrii Doroshenko (Xrayez)
acd9abe507
Add AspectRatioContainer
class
...
Backported from ba68383706
.
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2021-01-12 16:25:26 +02:00
Rémi Verschelde
876af7e319
Merge pull request #45127 from qarmin/shorter_ci
...
Avoid opening editor multiple times in CI
2021-01-12 14:35:55 +01:00
Rémi Verschelde
d92f4c7965
Merge pull request #44901 from lawnjelly/bvh3
...
Dynamic BVH for rendering and godot physics [3.2]
2021-01-12 14:12:11 +01:00
Rafał Mikrut
2e87a652a4
Avoid opening editor multiple times in CI
2021-01-12 13:16:15 +01:00
lawnjelly
690e07b509
Dynamic BVH for rendering and godot physics
...
Complete rewrite of spatial partitioning using a bounding volume hierarchy rather than octree.
Switchable in project settings between using octree or BVH for rendering and physics.
2021-01-12 12:12:10 +00:00
Rémi Verschelde
0a8cc0a565
Merge pull request #44006 from RandomShaper/gds_needless_check_3.2
...
Remove useless check in GDScript (3.2)
2021-01-11 13:53:42 +01:00
Rémi Verschelde
5bbbcd09cc
Merge pull request #45096 from Chaosus/vs_assign_default_value_3.2
...
[3.2] Auto-assign default value for variable in visual script on type changing
2021-01-11 10:39:39 +01:00
Yuri Roubinsky
602fc00e56
[3.2] Auto-assign default value for variable in visual script on type changing
2021-01-11 10:29:12 +03:00
Fabio Alessandrelli
a64ffa3a33
Merge pull request #45073 from Faless/js/3.x_build_fixes
...
[3.2] [HTML5] Reorganize build script.
2021-01-10 14:30:24 +01:00
Fabio Alessandrelli
6988b21d00
[HTML5] Reorganize build script.
...
Simplify helper functions, fix env/sys_env confusion and depends for
externs and pre-js.
2021-01-10 12:34:03 +01:00
Rémi Verschelde
ecf432abc7
Merge pull request #45019 from Xrayez/rng-state-3.2
...
Add ability to restore `RandomNumberGenerator` state
2021-01-08 15:23:52 +01:00
Andrii Doroshenko (Xrayez)
47899e67c5
Add ability to restore RandomNumberGenerator
state
...
3.2 version of b5107715f1
.
`get_seed()` still returns the previous state and not the initial seed,
because users may rely on this behavior for resetting the state in 3.2.
Documented this is going to be fixed in 4.0.
Co-authored-by: MidZik <matt.idzik1@gmail.com>
2021-01-08 15:02:02 +02:00
Rémi Verschelde
e408a4a76d
Merge pull request #45010 from akien-mga/3.2-ensure_user_data_dir
...
[3.2] Main: Create user data dir in `setup()`
2021-01-08 11:11:09 +01:00
Leleat
5bda8fae38
creater user-dir, if non-existant and pressing 'Open Project Data Folder'
...
(cherry picked from commit 8cf9d09d61
)
2021-01-08 10:26:30 +01:00
Rémi Verschelde
d6fecf7686
Main: Create user data dir in setup()
...
Custom backport of #39563 with preliminary change to make
`OS::ensure_user_data_dir()` public as done in f8a79a9
.
Fixes #32488 .
2021-01-08 10:24:48 +01:00
Rémi Verschelde
292bbb870f
Merge pull request #42575 from madmiraal/fix-one-way-collisions-3.2
...
[3.2] Fix multiple issues with one-way collisions
2021-01-07 17:53:54 +01:00
Rémi Verschelde
3d31433229
doc: Remove links to RNG tutorial, not yet in 3.2 branch
2021-01-07 14:33:36 +01:00
Rémi Verschelde
7bfb8446d3
Merge pull request #44970 from Calinou/doc-particles-visibility
...
Document the requirement to update GPU particle visibility
2021-01-07 14:26:18 +01:00
Rémi Verschelde
2a928ea880
Merge pull request #44981 from RandomShaper/fix_res_lifetime_3.2
...
Fix cases of resources destroyed too early (3.2)
2021-01-07 14:20:09 +01:00
Marcel Admiraal
1061bb364e
Fix multiple issues with one-way collisions
...
For RigidBodies, uses the collision normal determined by relative motion
to determine whether or not a one-way collision has occurred.
For KinematicBodies, performs additional checks to ensure a one-way
collision has occurred, and averages the recovery step over all collision
shapes.
Co-authored-by: Sergej Gureev <sergej.gureev@relex.fi>
2021-01-07 09:23:17 +00:00
Pedro J. Estébanez
2997a3aa23
Fix cases of resources destroyed too early
2021-01-06 20:25:05 +01:00
Hugo Locurcio
cec16357ef
Document the requirement to update GPU particle visibility
...
This also updates some option names in the editor for consistency
and accuracy.
See #44955 .
2021-01-06 19:17:57 +01:00
Rémi Verschelde
a18df71789
Merge pull request #44897 from RevoluPowered/add-blender-fbx-support
...
Preliminary Blender FBX support [3.2]
2021-01-06 09:43:26 +01:00
Rémi Verschelde
d242f7ad77
Merge pull request #44947 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 15th batch
2021-01-06 09:33:36 +01:00
Gordon MacPherson
31bc1af82a
Preliminary Blender FBX support
...
limitations:
- always has to use generated normal's.
- some animations won't be compatible (yet)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-01-05 21:56:21 +00:00
Rémi Verschelde
d7102ac78f
doc: Sync classref with current source
2021-01-05 21:33:34 +01:00
Hugo Locurcio
7fb212fdb6
Mention that the delta
argument is in seconds in Node documentation
...
(cherry picked from commit fcb6ecaf21
)
2021-01-05 21:33:34 +01:00
Rémi Verschelde
9d916b8540
glTF: Fix loading external images as buffer
...
We should first attempt loading as external files, thus creating a dependency.
Loading as a buffer should only be used as fallback to support manually loading
as PNG or JPEG depending on the defined mimeType.
Fixes #44309 , was a regression from #42504 .
(cherry picked from commit e268a8e523
)
2021-01-05 21:33:34 +01:00
LoipesMas
0fc433d046
More explicit wording for str() and print() functions
...
(cherry picked from commit 9c65927aeb
)
2021-01-05 21:33:34 +01:00
Mai Lavelle
43910510e0
Fix xform_inv of Plane, intermediate results were ignored
...
(cherry picked from commit 4cb070e590
)
2021-01-05 21:33:33 +01:00
Rémi Verschelde
08ecc9e5c4
Tooltips: Fix unassigned strip_edges() call on text
...
Fixes #43940 , was a regression from #43280 .
(cherry picked from commit a4af94068a
)
2021-01-05 21:33:33 +01:00
kobewi
c588ba0b6a
Properly edit the instanced node in the inspector
...
(cherry picked from commit f5d51288b8
)
2021-01-05 21:33:33 +01:00
kobewi
3785b091e4
Commit CanvasItem state only if it changed
...
(cherry picked from commit 036f6a3fa8
)
2021-01-05 21:33:33 +01:00