Haoyu Qiu
37ccdb201a
Backport navigation crash fixes
...
Co-Authored-By: Sean <sean@geekotron.net>
2022-11-22 12:46:43 +08:00
dzil123
bdcb1ff228
[3.x] Fix c# Array.Shuffle incorrect mono bindings
2022-11-04 06:22:47 -07:00
Haoyu Qiu
fef0a82183
Clarify offset parameter behavior in RegEx methods
2022-11-01 09:51:40 +08:00
bruvzg
987723b386
[iOS] Fix build with warnings=extra.
2022-10-31 11:59:31 +02:00
Rémi Verschelde
71f5bb3916
Merge pull request #67386 from akien-mga/3.x-webm-armv7-fixup
...
WebM: Fix Android armv7 build after #64839
2022-10-14 16:34:25 +02:00
Rémi Verschelde
567d5e2f78
Merge pull request #67141 from smix8/gridmap_fix_meshlib_replace_3.x
...
Fix Editor crash when MeshLibrary gets replaced while used in an open Scene
2022-10-14 16:33:29 +02:00
Rémi Verschelde
15062a22d4
WebM: Fix Android armv7 build after #64839
2022-10-14 10:33:17 +02:00
smix8
d6805e8c33
Fix Editor crash when MeshLibrary gets replaced while used in an open GridMap scene
2022-10-09 17:19:26 +02:00
Rémi Verschelde
9c6810e04f
Merge pull request #66889 from LunaticInAHat/gltf_texture_filter_fix_3
...
GLTF import external images correctly
2022-10-05 17:08:06 +02:00
LunaticInAHat
08c801738e
GLTF import external images correctly
2022-10-04 12:01:24 -04:00
Rémi Verschelde
fdfe663326
Merge pull request #66868 from smix8/copy_and_paste_blyat_3.x
...
Fix GDScript export hint for Navigation2D layer names
2022-10-04 16:58:02 +02:00
Rémi Verschelde
9bf589d55a
Merge pull request #66856 from LunaticInAHat/gltf_texture_filter_fix_3
...
GLTF imports & exports material texture filters
2022-10-04 16:57:55 +02:00
smix8
d955d4a1c1
Fix GDScript export hint for Navigation2D layer names
2022-10-04 10:32:57 +02:00
The Tophat Demon
bb34c55b3c
GLTF imports & exports material texture filters
2022-10-03 21:19:48 -04:00
Rémi Verschelde
7f560a2833
Merge pull request #66255 from and3rson/3.x
...
[3.x] GDNative: Fix `script_data` error when updating placeholder scripts for GDNative libraries
2022-10-03 15:04:08 +02:00
Rémi Verschelde
ecaf2b0322
Merge pull request #66806 from smix8/navigation_avoidance_nothread_3.x
...
Fix avoidance calculation on NO_THREADS build
2022-10-03 13:58:35 +02:00
smix8
f15cb16b14
Fix avoidance calculation on NO_THREADS build
2022-10-03 13:39:48 +02:00
Aaron Franke
fdce2a1dfc
[3.x] C#: Add Basis Euler angle code to match 4.x core
2022-09-30 17:20:36 -05:00
Andrew Dunai
1af4ba04cd
Fix "!script_data is true" when updating placeholder scripts for GDNative libraries
...
Co-authored-by: geekrelief <geekrelief@gmail.com>
2022-09-22 15:10:53 +03:00
Rémi Verschelde
f9b91d8d24
Style: Ensure consistent formatting with clang-format 15
2022-09-21 13:23:17 +02:00
smix8
ce310c1e39
Exclude disabled CollisionShapes from Navigationmesh baking
...
Excludes disabled CollisionShapes from the geometry parsing for the NavigationMesh baking.
(cherry picked from commit 534ff93b05
)
2022-09-20 10:26:17 +02:00
dzil123
1e4f47ffe0
Fix variables highlighting as types
2022-09-17 01:24:19 -07:00
Max Hilbrunner
6e95397180
Update UPnP documentation
...
Adds more details, especially about caveats, failure modes and pitfalls
(cherry picked from commit be41c09769
)
2022-08-29 15:56:43 +02:00
Max Hilbrunner
4f3c12c23d
UPNP: Don't delete mappings when adding mappings
...
Don't delete previous mappings when adding a new mapping.
This was a old workaround that seems to cause issues.
(cherry picked from commit 2685cc7bb6
)
2022-08-29 15:56:04 +02:00
Rémi Verschelde
d073d10739
Merge pull request #51146 from Haskaris/fix-output-port-mismatch
2022-08-25 21:45:15 +02:00
Hugo Locurcio
ed380cc0fa
Add a [kbd]
tag for highlighting keyboard shortcuts in the editor help
...
This allows backporting documentation from the `master` branch more easily,
as it already features the `[kbd]` tag.
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-08-25 19:53:49 +02:00
Perrier Mathis
dcacecaed0
Fix output port type mismatch for some VisualScript nodes
2022-08-25 17:53:41 +02:00
Rémi Verschelde
8388ea1d6b
Merge pull request #64839 from akien-mga/3.x-zstd-1.5.2
...
zstd: Update to upstream version 1.5.2
2022-08-25 00:51:28 +02:00
bruvzg
c4885c8be8
Use clang as assembler to ensure preprocessing is done, and add assembler "target" flag.
...
(cherry picked from commit e873778561
)
2022-08-24 18:26:29 +02:00
Rémi Verschelde
7dd322f83e
libwebp: Sync with upstream 1.2.4
...
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc
)
2022-08-24 17:24:23 +02:00
Michael Alexsander
b808923b54
Fix error when switching to another GridMap
with an item with higher index selected
...
(cherry picked from commit fe16aecbac
)
2022-08-24 17:12:44 +02:00
Rémi Verschelde
ecc32f8b3e
Merge pull request #64772 from akien-mga/3.x-fix-vs-delete-crash
...
Fix VisualScript editor crash when deleting selected nodes
2022-08-24 09:52:46 +02:00
Rémi Verschelde
13d1ee6058
Fix VisualScript editor crash when deleting selected nodes
...
Fixes #64662 .
Regression from #61145 .
2022-08-23 10:59:37 +02:00
Rémi Verschelde
67cc142002
Merge pull request #64460 from raulsntos/mono_assembly_name-3.x
2022-08-22 22:38:25 +02:00
Raul Santos
31d09a807e
C#: Use custom project setting for C# project files name
...
The setting is initially assigned the name of the Godot project,
but it's kept freezed to prevent issues when renaming the Godot
project.
The user can always rename the C# project and solution manually and
change the setting to the new name.
Co-authored-by: Ignacio Roldán Etcheverry <ignalfonsore@gmail.com>
2022-08-15 19:30:06 +02:00
Cory Petkovsek
d7ba3b73a9
Clarify invalid RID errors in Server free() functions.
2022-08-12 23:02:09 +08:00
Rémi Verschelde
5834c27e85
Merge pull request #63935 from smix8/navigation_heightmapshape_baking_3.x
2022-08-08 15:47:24 +02:00
Rémi Verschelde
8d71eadeca
Merge pull request #64018 from raulsntos/csharp-rpc-docs
2022-08-08 15:40:08 +02:00
Rémi Verschelde
519841bc0f
Merge pull request #64019 from raulsntos/csharp-docgen-3.x
2022-08-08 15:39:39 +02:00
Rémi Verschelde
5e1936edf8
Merge pull request #64079 from Nosliwnayr/3.x
2022-08-08 15:38:56 +02:00
Raul Santos
8f426262c8
Avoid paths with invalid characters in IsRider
...
(cherry picked from commit 34c3966510
)
2022-08-08 10:52:14 +02:00
Fabio Alessandrelli
e1dfcbad16
[Websocket] Remove dummy JS server implemenation.
...
It does nothing but printing errors (only websocket client is available
in browsers), so we might as well return null when you instantiate it.
(cherry picked from commit 202320e1ed
)
2022-08-08 09:50:19 +02:00
Aaron Franke
3ec8296ffc
Make "Godot source files" comment consistent in modules
...
(cherry picked from commit ce0080768c
)
2022-08-08 09:47:24 +02:00
Hugo Locurcio
60031ea275
Improve range_lerp()
and related methods documentation
...
(cherry picked from commit bd19c9a95c
)
2022-08-08 09:44:37 +02:00
Ryan Heath
4f5c268a60
Add area monitor callback error checking
2022-08-07 13:57:06 -07:00
Raul Santos
c084dbbf05
Various fixes to C# documentation generator
...
- Fix references to global constants and members of `@GlobalScope`
- Log errors for missing members or methods
- Finds referenced members that are derived (they were not found before since it was only looking in the current type)
- Hardcodes special case for `_init` method, in C# replaced with a reference to the constructor
- Ignores properties with slashes (since they are not declared in C# and can't be referenced)
- Refactor `bbcode_to_xml` method
2022-08-06 21:35:31 +02:00
Raul Santos
c9734b6ceb
Document C# RPC attributes
2022-08-06 20:55:14 +02:00
Rémi Verschelde
0dccbcd7ce
Merge pull request #61878 from bruvzg/backport_locale_select
...
[3.x] Backport locale selection improvements.
2022-08-05 23:45:17 +02:00
Rémi Verschelde
14c9325b5d
Merge pull request #62408 from Razoric480/raz/fix-no-cache
...
[3.x] Fix nested resources being cached if no-cache argument used
2022-08-05 23:43:54 +02:00
Rémi Verschelde
d9d3861f76
Merge pull request #55764 from tinmanjuggernaut/validate_rid
...
[3.x] Validate RIDs before freeing
2022-08-05 22:38:49 +02:00
Rémi Verschelde
5197dc6c9e
Merge pull request #61993 from kdiduk/gdscript-fix-inner-class-on-single-line
...
Fix inner class parsing when statement after colon is on the same line
2022-08-05 22:36:21 +02:00
Rémi Verschelde
1b7037807f
Merge pull request #59328 from raulsntos/csharp-flag-enums-3.x
2022-08-05 19:37:29 +02:00
Rémi Verschelde
0a8d5d7098
Bump version to 3.6-beta
2022-08-05 18:51:38 +02:00
smix8
e7c5468192
[3.x] Add NavigationMesh baking for HeightMapShape
...
Adds HeightMapShape for StaticColliders and GridMap to the NavigationMeshGenerator for baking NavigationMesh.
2022-08-05 08:56:02 +02:00
Fabio Alessandrelli
fbc7fc44ae
Fix some array size function definition mismatch.
...
(cherry picked from commit 55845bac26
)
2022-08-04 15:18:43 +02:00
Raul Santos
3ec6644096
C#: Remove unused Transform2D.ScaleBasis
method
...
(cherry picked from commit a4ad1dfa51
)
2022-08-03 15:01:02 +02:00
Raul Santos
ef9e2c8ca8
Rename math 'phi' arguments to 'angle' in C#
...
(cherry picked from commit d0e586fc7e
)
2022-08-01 10:38:58 +02:00
bruvzg
12e10457e1
[macOS, Mono] Fix "Wdeprecated-declarations" build error.
...
(cherry picked from commit 5d54c015b2
)
2022-08-01 10:30:43 +02:00
Aaron Franke
4d6c609e50
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 11:54:19 -05:00
smix8
d0a78d05eb
[3.5] Replace Navigation std::vector use with LocalVector
...
Replace Navigation std::vector use with LocalVector.
2022-07-29 11:13:20 +02:00
Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Dallon Feldner
a99cc8bc29
Don't print redundant errors when parsing GDScript
2022-07-22 11:02:29 -05:00
Rémi Verschelde
4ef99b409d
Merge pull request #63163 from dsnopek/multiplayer-peer-custom-3.x
2022-07-20 22:41:15 +02:00
Haoyu Qiu
a3b282c6cc
Fix doc for print_debug
2022-07-20 21:17:56 +08:00
Rémi Verschelde
8dc32619f2
Bullet: Don't include unused BulletInverseDynamics
...
Follow-up to #63143 .
2022-07-19 17:57:28 +02:00
David Snopek
8ad5889c1a
Add NetworkedMultiplayerCustom so high-level multiplayer backends can be added from GDScript
2022-07-19 09:16:41 -05:00
Rémi Verschelde
fe1e84ec6c
Bullet: Remove unused Bullet3 and clew libraries
2022-07-18 13:15:21 +02:00
Rémi Verschelde
4455b6c4a8
GDNative: Expose String::num_uint64
, and use bool in capitalized
versions
...
Exposed in Core API 1.3 added in 3.5.
2022-07-18 09:47:30 +02:00
Rémi Verschelde
99a923ce9e
Merge pull request #63116 from kdiduk/gdnative-dictionary-merge
...
[GDNative] Expose `Dictionary::merge()` over to GDNative CORE API v1.3
2022-07-17 19:37:34 +02:00
Kirill Diduk
b5483a6aad
[GDNative] Expose Dictionary::merge()
over to GDNative CORE API v1.3
2022-07-17 19:12:51 +02:00
Jan Haller
e69a0394d4
GDNative: fix StringName equal and less operators
2022-07-17 11:17:35 +02:00
Kirill Diduk
910c67b268
[GDNative] Expose String::join()
to GDNative Core API v1.3
2022-07-16 16:31:32 +02:00
Kirill Diduk
2cd87ef226
[GDNative] Refactoring: add const
to has
and join
methods of pooled arrays
2022-07-16 14:08:42 +02:00
Francois Belair
2ceb93bbef
Fix custom res caching sub-res even if no-cache
...
Fixes #59686 , fixes #59752
2022-07-13 11:18:26 -04:00
Rémi Verschelde
f05cecdc43
Merge pull request #55650 from kdiduk/pooled-arrays
2022-07-08 00:15:44 +02:00
Rémi Verschelde
600c1c4dc4
Merge pull request #62708 from madmiraal/fix-40508-3.x
2022-07-07 23:54:45 +02:00
Kirill Diduk
7b8b91f505
[GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays
...
This is a backport from 4.0 to 3.x that adds 'sort' and 'has' methods
to the following types:
- PoolByteArray
- PoolIntArray
- PoolRealArray
- PoolStringArray
- PoolVector2Array
- PoolVector3Array
- PoolColorArray
For all the types above, the methods 'sort' and 'has' have been
exposed to the GDNative API (v. 1.3)
Since the method 'has' was already implemented in GDScript before,
in this commit it has been only exposed to GDNative API.
The classes documentation is updated.
The method 'sort' uses the exisging class "Sorter".
Pooled arrays in 4.0 are rewritten, that's why this backport is not
completely indentical to the original PR made for 4.0 (see #32144 ).
2022-07-07 23:24:31 +02:00
PZerua
7a35bf683a
Fix light intensity and attenuation import from GLTF
...
(cherry picked from commit aa7ab96e71
)
2022-07-06 11:44:30 +02:00
janglee
00c6cdd793
GDScript: Fix autocompletetion showing class names with an underscore
...
Fixes #35469 .
2022-07-05 12:29:23 +02:00
Marcel Admiraal
25bedade3b
Do not set gravity and damping when Custom Integrator is enabled.
2022-07-04 15:37:27 +01:00
bruvzg
a8eb779ac3
Backport locale selection improvements.
2022-07-04 11:49:20 +03:00
mj.Jernigan
022cbeb192
Register missing WebRTCDataChannelJS type
...
(cherry picked from commit a413656e07
)
2022-07-03 03:35:02 +02:00
César Izurieta
f66200ed3c
Fix gltf texture filename decoding
2022-07-03 03:03:24 +02:00
Rémi Verschelde
ef29a227bf
Merge pull request #55826 from kdiduk/gdnative-poolstringarray-join
2022-07-03 01:05:03 +02:00
Rémi Verschelde
06f4a28306
Update docs links still pointing to 3.4
2022-06-29 12:03:04 +02:00
Rémi Verschelde
f0cfe3a83b
Merge pull request #62173 from Faless/gdnative/3.x_mingw_dllexport_plus
2022-06-27 14:10:54 +02:00
smix8
721c99a530
Add NavigationServer map_force_update() function
...
Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.
(cherry picked from commit fdea269805
)
2022-06-24 10:19:00 +02:00
smix8
f0069cc1e9
Add NavigationServer.region_owns_point() helper function
...
Adds a helper function to check if a world space position is currently owned by a navigation region.
(cherry picked from commit e57360d8df
)
2022-06-24 10:19:00 +02:00
Rémi Verschelde
83fae1dfa9
Mono: Update Newtonsoft.Json to 13.0.1
...
See https://github.com/advisories/GHSA-5crp-9r3c-p9vr
(cherry picked from commit 870c02143b
)
2022-06-24 10:12:13 +02:00
smix8
38ee593b76
Add Navigation function to get all navigation maps
...
Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.
(cherry picked from commit c0fed1d4e8
)
2022-06-23 16:29:11 +02:00
smix8
7bcb9fddc9
Disable thread-unsafe EditorProgress for navmesh baking
...
Disables navmesh baking EditorProgress for now until fixed as EditorProgress is not thread-safe and uses hacks and Main::iteration() for steps which can result in random crashes when baking navmesh.
(cherry picked from commit 24bb0af4a9
)
2022-06-23 16:29:11 +02:00
smix8
fcff804844
Implement NavigationMesh bake area
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
(cherry picked from commit 0c4d99f4fd
)
2022-06-23 16:17:43 +02:00
Kirill Diduk
5bcc3d476c
Fix parsing inner class declaration when "pass" keyword is on the same line
...
Implement a special case for allowing "pass" keyword in one-liner class
declaration, to be consistent with Python style.
```
class TestClass: pass
```
This commit fixes #56703
2022-06-21 10:04:26 +02:00
iamjsk10
1b648ddc2b
Mono: Fix typo to foreach
C# keyword
...
(cherry picked from commit d3a839f4b1
)
2022-06-20 14:55:34 +02:00
Rémi Verschelde
4137578369
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-06-19 13:48:15 +02:00
Fabio Alessandrelli
a77d514ec0
[GDNative] Fix GDN_EXPORT define with mingw.
...
The define is **not used by godot**, but in GDNative libraries.
I'm not sure it should be defined there in the first place, though we
shouldn't change that (for compatibility).
This commit changes the platform detection order to detect mingw
compiling for windows (which defines `__GNUC__`).
This commit also wraps the definition around a guard to let libraries
override it with a build-time define.
2022-06-18 13:03:06 +02:00
Haoyu Qiu
b43fdea0d5
Classref typo fixes and improvements
2022-06-17 15:19:31 +08:00
Paul Joannon
c43b8ccaaf
Fix Lerp documentation and implement RangeLerp
...
(cherry picked from commit ee95a1cb28
)
2022-06-16 20:47:40 +02:00
K. S. Ernest (iFire) Lee
bcd92b8aa0
Print NavMap error only once for invalid NavMesh.
...
(cherry picked from commit 67052af918
)
2022-06-16 20:47:40 +02:00
Kurt Lachmann
c07d1d0de8
Use insertText from the internal autocompletion
...
* GDScriptLanguage::complete_code already adds parentheses to function calls, and does this a lot smarter than the language server right now.
* Instead of the previous naive approach we now reuse the same logic as the internal editor.
* For this to have any effect we also have to send the `insertText` field already during the completionRequest and not only during resolve.
(cherry picked from commit bbb07ff8cb
)
2022-06-16 10:11:33 +02:00
smix8
b0a8bcdf49
Fix crash of navigation agents callback when object is invalid
...
Fix crash of navigation agents callback when object is invalid.
(cherry picked from commit bc38ebe4f0
)
2022-06-16 10:03:18 +02:00
smix8
8bd7c6188b
[3.5] Update NavigationServer backport
...
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
2022-06-14 05:55:14 +02:00
Lyuma
7d970b967e
gltf: Allow more than 4 joints but warn and ignore them.
2022-06-10 18:41:14 -07:00
Rémi Verschelde
dad7502b8a
Merge pull request #61348 from AndreaCatania/expose_bullet_physics
2022-06-10 12:02:50 +02:00
AndreaCatania
6b08a22968
Exposes the BulletSpace internals.
...
This change is really useful to use internal bullet physics features not supported by godot.
2022-06-10 11:47:30 +02:00
Kirill Diduk
bf60d655e2
[GDNative] Add missing declaration of join
method for PoolStringArray class
...
The class PoolStringArray in GDScript has `join` method, and it even has documentation.
However, the corresponding definition of this method in GDNative headers were missing.
In this commit, the missing GDNative definition of `join` method has been added.
A new CORE API version 1.3 has been added with the new metod `join`.
2022-06-08 14:58:54 +02:00
Rémi Verschelde
80b82e4e66
i18n: Misc fixes translation strings
...
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:56:42 +02:00
SnailRhymer
b94a0d486d
Make Lookup Symbol recognize assert, preload, and yield in the script editor
2022-06-01 22:21:36 +01:00
smix8
47ade6786f
Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
...
Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
(cherry picked from commit caceceab08
)
2022-06-01 00:29:46 +02:00
31
826415ad2f
C#: Fix debugger options missing from Project Settings
2022-05-25 20:43:00 -07:00
smix8
3891186536
Fix GridMap not adding custom mesh offsets to NavigationMesh generation
...
Fix GridMap not adding custom mesh offsets to NavigationMesh generation
(cherry picked from commit ae4b2597a1
)
2022-05-25 14:10:20 +02:00
Rémi Verschelde
88dba8e625
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Haoyu Qiu
8b9f532f78
Fix editor crash when opening scene with CSGMesh
...
(cherry picked from commit de93286b1d
)
2022-05-22 19:26:45 +02:00
smix8
88acb5b798
Make Navigation Agents and Obstacles respect parent process mode
...
Temporarily removes agent from navigation map when parent node cannot process due to SceneTree pause and process_mode property. Normal process_mode does not work as other agents would still avoid the paused agents because they were still active on the navigation map and the rvo world. Also fixes potential crash when region_get_map or agent_get_map is called while no map is set.
(cherry picked from commit 6b51ab66d8
)
2022-05-19 15:34:56 +02:00
Rémi Verschelde
52da1bcdca
rvo2: Sync with upstream commit bfc0486
...
bfc048670a
(cherry picked from commit 86cdf1f2cf
)
2022-05-19 15:25:43 +02:00
Haoyu Qiu
067e738cb8
Fix various typos
2022-05-19 19:07:45 +08:00
Riordan
941a440996
Added recovery vector to shape position before bullet penetration detection to prevent recovery vector from adding repeat penetration responses.
2022-05-19 10:47:40 +02:00
Haoyu Qiu
b657d0c76c
Add dedicated macros for property name extraction
...
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Yuri Rubinsky
32b9818965
Add node list param to GraphEdit::delete_nodes_request signal
2022-05-18 12:36:00 +03:00
bruvzg
98c7db745b
FreeType: Update to version 2.12.1
...
(cherry picked from commit 93fba7ead3
)
2022-05-17 22:28:10 +02:00
Rémi Verschelde
abeb84ad33
Merge pull request #61117 from vnen/gdscript-builtin-method-info-release
2022-05-17 17:05:54 +02:00
George Marques
3a8f2dda01
GDScript: Keep builtin method info on release builds
...
This is so type inference still works properly after exporting the
project.
2022-05-17 11:01:12 -03:00
Rémi Verschelde
7515b47e8e
bullet: Sync with upstream 3.24
...
Remove upstreamed patch.
2022-05-17 11:45:52 +02:00
dzil123
ddd392a93f
fix gridmap cursor showing the wrong mesh
...
(cherry picked from commit 726614ff4b
)
2022-05-16 21:12:21 +02:00
smix8
3e01d32b4c
Clamp NavigationMesh sample_distance above zero
...
While default ReCast library has support for 0.0 'sample_distance' the Godot implementation does not an crashes.
Previously Godot would set all sample_distance values below 0.9 to 0 which causes the crashes.
This limits the sample_distance range selection to 0.1 - 16.0 and also clamps sample_distance that are below 0.1 before ReCast receives them.
(cherry picked from commit e33fa9d833
)
2022-05-16 21:10:36 +02:00
smix8
3977eb9107
Add NavigationServer2D/3D API functions to find missing RID info
...
Utility functions for NavigationServer2D/3D to find missing RID information when working with Server API directly. e.g. from map to regions and agents, from agent or region to map, from region to map and agents and so on ....
Requirement to work with NavigationServer API exklusive without SceneTree nodes and when juggling agents and regions between multiple navigation maps.
(cherry picked from commit 371054e3e5
)
2022-05-16 21:10:36 +02:00
Julian Mills
99e509a5d2
Fix blank command prompts spawning
...
prevent certain mono actions from displaying empty command prompts.
(cherry picked from commit d606a8eded
)
2022-05-16 17:14:43 +02:00
Eduardo Rodrigues
2398db0f34
Improve description for GDScript built-in range
...
Rewrites the definition of how the function works.
Reworks the style of the examples and adds a negative range example.
Changes the while loop to a range loop in the array backwards example.
(cherry picked from commit b2841ce194
)
2022-05-16 17:14:43 +02:00
smix8
689179036b
Add Warning to NavigationMesh bake when source geometry is suspiciously big
...
Adds Warning when users try to bake a NavigationMesh with suspiciously big source geometry and small cellsizes as this baking process will likely fail or result in a NavigationMesh that will create serious pathfinding performance issues.
(cherry picked from commit 79511af7c9
)
2022-05-16 17:14:43 +02:00
Rémi Verschelde
5e693b6d84
Fix warnings found by Emscripten 3.1.10
...
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and
`-Wliteral-range` warnings.
(cherry picked from commit d8935b27a9
)
2022-05-16 16:38:26 +02:00
lawnjelly
caa087f888
Portals - show gridmaps using global mode
...
Gridmaps did not previously show at all when portals were active, due to the instances being created defaulting to static mode, and not being converted during the room conversion stage.
This PR sets gridmap instances to global mode, which enables them to show up when portals are active (using frustum culling only, no occlusion).
2022-05-07 10:09:12 +01:00
Cory Petkovsek
2be0738304
Visual/Physics/Navigation Servers validate RIDs with documentation update
2022-05-06 03:39:06 +08:00
Rémi Verschelde
c3065e2186
Merge pull request #60773 from timothyqiu/rand-doc
2022-05-05 18:10:14 +02:00
Haoyu Qiu
84cc0c9c47
Improve documentation of rand_range
2022-05-05 21:52:30 +08:00
Rémi Verschelde
9e37599f36
Core: Rename math 'phi' arguments to 'angle'
...
(cherry picked from commit e7a58a7eb6
)
2022-05-05 15:02:46 +02:00
trollodel
7c400b3ea0
Use CollisionObject3D API when baking the navmesh with static colliders, instead of collecting CollisionShape3D nodes
...
(cherry picked from commit 72c37c4bcd
)
2022-05-05 14:07:56 +02:00
Haoyu Qiu
86b14496b1
Document lerp_angle behavior when angles are approximately PI apart
...
(cherry picked from commit 492903a0b2
)
2022-05-05 13:45:29 +02:00
Rémi Verschelde
5c79239e12
Merge pull request #60626 from timothyqiu/missing-sv-usage
2022-05-02 09:53:48 +02:00
Rémi Verschelde
288dbe41a2
Merge pull request #59864 from rburing/bullet_skip_depenetrate_from_void_3.x
2022-04-29 14:41:31 +02:00
Haoyu Qiu
acf9870397
Fix incorrect usage for some export variables
2022-04-29 20:12:47 +08:00
Eeli Reilin
cf6d8a0f2b
Fix CSG gizmos only working on root shapes
...
(cherry picked from commit 60f3d1d36f
)
2022-04-27 12:54:57 +02:00
Haoyu Qiu
d088128b43
Remove duplicate editor settings definitions
2022-04-27 15:26:46 +08:00
Rémi Verschelde
ba7881bd36
Merge pull request #60366 from adamscott/nav-map-thread-work-pool-3x
...
Use ThreadWorkPool instead of thread_process_array in NavMap [3.x]
2022-04-26 18:45:53 +02:00
Adam Scott
7749346f48
Use ThreadWorkPool instead of thread_process_array in NavMap
...
Port ThreadWorkPool to 3.x
2022-04-26 09:18:46 -04:00
Rémi Verschelde
d60e432575
Merge pull request #60435 from Scony/fix-map-get-path-crash-3.x
...
[3.x] Fix crash in `GodotNavigationServer::map_get_path`, fixes #60413
2022-04-25 23:19:04 +02:00
Hugo Locurcio
3a8104289d
Document that glTF classes are only usable in editor builds
...
Run-time glTF saving/loading is only available in Godot 4.0,
not Godot 3.x.
2022-04-22 19:08:37 +02:00
Pawel Lampe
41d788375a
Fix crash in GodotNavigationServer::map_get_path
, fixes #60413
2022-04-22 18:19:11 +02:00
Rémi Verschelde
64eb2ebf40
Merge pull request #54629 from Gallilus/Fixes-copy-paste-issue-in-the-visual-script-editor-3.x
...
Fixes copy-paste issue in the visual script editor
2022-04-15 21:19:09 +02:00
kleonc
c52d842435
NavMap::get_path Fix not resetting least_cost_id
2022-04-14 17:15:39 +02:00
Oğuzhan Eroğlu
ebaca9d432
Added set_extra_headers() to WebSocketServer
...
(cherry picked from commit fd4341fba4
)
2022-04-13 11:43:49 +02:00