Commit graph

32439 commits

Author SHA1 Message Date
Mack
36c7110c1b Fixed accessing a null MeshInstance object in BakedLightmap instead of the GeometryInstance 2022-01-24 06:59:48 +00:00
Rémi Verschelde
f2ec36fbcd
Merge pull request #57081 from Scony/fix-navigation-2d-defaults-3.x 2022-01-23 17:25:14 +01:00
Pawel Lampe
67cf622935 Improve Navigation2D default settings, fixes #56852
This commit reduces `cell_size` and `edge_connection_margin` default
values so that `Navigation2D` behaves more like in Godot <= `3.4` by default.
2022-01-23 14:07:31 +01:00
Rémi Verschelde
e33f8df9ca
Merge pull request #56984 from Calinou/doc-softbody-no-gameplay-3.x 2022-01-23 12:54:36 +01:00
Rémi Verschelde
30fe807fa9
Merge pull request #56965 from Calinou/scons-print-debug-notice-3.x
Print a notice when compiling with `target=debug`
2022-01-23 01:27:08 +01:00
Rémi Verschelde
f93e3a408a
Merge pull request #56034 from LoserFox/3.x 2022-01-23 00:55:24 +01:00
LoserFox
0af26280b6
Fix some errors in Environment documentation
Co-authored-by: Clay John <claynjohn@gmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-23 00:45:27 +01:00
Rémi Verschelde
8051322dc1
Merge pull request #57045 from Calinou/doc-csgpolygon-points-3.x 2022-01-23 00:30:11 +01:00
Rémi Verschelde
c29258e850
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
cdemirer, marstaik, mortarroad, The-O-King

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit a9df1f51c2)
2022-01-23 00:06:02 +01:00
Rémi Verschelde
aa6465cd5b
Fix style error from previous merge 2022-01-22 16:23:28 +01:00
Rémi Verschelde
6c0c0c4b29
Merge pull request #54165 from Calinou/directional-shadow-runtime-change-3.x
Allow changing directional shadow size at run-time
2022-01-22 15:25:09 +01:00
Hugo Locurcio
1e1fb145b3
Improve CSGPolygon3D documentation
- Describe why polygon triangulation usually fails in the error message.
2022-01-21 19:59:56 +01:00
Rémi Verschelde
40a348bce2
Merge pull request #57013 from Killfrra/3.x
[3.x] Backport method `get_rid` for NavigationAgent
2022-01-21 18:35:19 +01:00
Rémi Verschelde
c6480e2166
Merge pull request #57033 from lawnjelly/gameplay_monitor_unload
Portals - fix gameplay monitor unloading
2022-01-21 18:33:50 +01:00
Rémi Verschelde
d775499f43
Merge pull request #57037 from timothyqiu/groups-editor-3.x 2022-01-21 13:06:11 +01:00
Rémi Verschelde
66672c08f9
Merge pull request #55640 from lawnjelly/bvh5_multi_tree 2022-01-21 13:04:17 +01:00
Haoyu Qiu
7dcfe6b878 Improve Groups dock panel and the Group Editor 2022-01-21 18:32:27 +08:00
lawnjelly
dc14636e68 BVH templated mask checks and generic NUM_TREES
Refactors the BVH to make it more generic and customizable. Instead of hard coding the system of pairable_mask and pairable_type into the BVH, this information is no longer stored internally, and instead the BVH uses callbacks both for determining whether pairs of objects can pair with each other, and for filtering cull / intersection tests.

In addition, instead of hard coding the number of trees, the BVH now supports up to 32 trees, and each object can supply a tree collision mask to determine which trees it can collide against.

This enables the BVH to scale to either the two or 3 trees needed in physics, and the single tree used without pairing in Godot 4 render tree.
2022-01-21 10:08:29 +00:00
lawnjelly
6c1e243fa2 Portals - fix gameplay monitor unloading
The gameplay monitor wasn't being unloaded correctly in between levels. This meant that exit signals were not being sent, and entered signals for the new level were being missed.

This PR sends appropriate exit signals on unloading, and clear the data.
2022-01-21 09:38:48 +00:00
Rémi Verschelde
3e7e701385
Merge pull request #56909 from Calinou/editor-add-scene-casing-setting-3.x 2022-01-21 10:27:57 +01:00
Rémi Verschelde
45b8cc4854
Merge pull request #56956 from rburing/fix_import_hints_breaking_animations_3.x 2022-01-21 10:20:19 +01:00
Hugo Locurcio
8948b36f0d
Add project setting to change scene file casing
The default behavior is unchanged (the root node name is used as-is).
2022-01-21 02:00:43 +01:00
Rémi Verschelde
08cabf2a36
Merge pull request #56999 from lawnjelly/no_discard 2022-01-20 23:02:40 +01:00
Rémi Verschelde
39e93a6dfc
Merge pull request #57011 from Calinou/editor-add-new-scene-shortcuts-3.x 2022-01-20 22:50:23 +01:00
Mak Kma
1c3d3af6ef backported method get_rid for NavigationAgent 2022-01-21 00:15:16 +03:00
Hugo Locurcio
856f2d0f8f
Add shortcuts for New Scene and New Inherited Scene actions
These default to Ctrl + N and Ctrl + Shift + N respectively.
2022-01-20 20:34:05 +01:00
lawnjelly
adf14bfdde Add nodiscard to core math classes to catch c++ errors.
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20 17:28:31 +00:00
Rémi Verschelde
4075866117
Merge pull request #56993 from bruvzg/rtl_get_cnth 2022-01-20 13:42:07 +01:00
bruvzg
f8f83f05f2
Fix RichTextLabel uninitialized content height value. 2022-01-20 13:53:52 +02:00
Rémi Verschelde
a9b10054b8
Merge pull request #56950 from timothyqiu/has-clipboard-3.x 2022-01-20 12:09:53 +01:00
Rémi Verschelde
ca1968b4ac
Merge pull request #51550 from bruvzg/🍎🍎🍐🍏🍎 2022-01-20 10:18:45 +01:00
bruvzg
30ee208bd9
[macOS export, 3.x] Implements ad-hoc signing on Linux/Windows, adds extra privacy settings, entitlements warnings and error checking. 2022-01-20 10:46:29 +02:00
Rémi Verschelde
e3e45deac2
Merge pull request #56985 from skyace65/JSONPrint 2022-01-20 08:22:50 +01:00
Rémi Verschelde
f2a213a996
Merge pull request #56976 from dardanbujupaj/navigation-polygons
Fix indexing of polygon points when building path
2022-01-20 07:38:39 +01:00
skyace65
c540a17efc Better explain JSON print indent parameter (3.x) 2022-01-19 20:37:58 -05:00
Hugo Locurcio
94b1ae5599
Document that soft bodies should be avoided for gameplay purposes 2022-01-20 01:36:39 +01:00
Dardan Bujupaj
752fbc7f4e Fix indexing of polygon points when building path. 2022-01-19 23:39:43 +01:00
Rémi Verschelde
322ba882bb
Merge pull request #56952 from akien-mga/3.x-cherrypicks 2022-01-19 17:10:22 +01:00
Hugo Locurcio
9753fe7aec
Print a notice when compiling with target=debug
Debug builds are considerably slower than release builds or even
release_debug builds. `target=debug` is still the default SCons
target option, so unsuspecting users may be compiling unoptimized
debug builds for their personal use.
2022-01-19 17:09:32 +01:00
Ricardo Buring
742c54d0a7 Fix import hints breaking node paths in animations 2022-01-19 16:42:38 +01:00
Ricardo Buring
684b7fdf47
Fix "Convert to MeshLibrary" not respecting collision transforms
(cherry picked from commit 025d7b9332)
2022-01-19 16:04:17 +01:00
SaracenOne
37910dd10f
Allow selection of option 'Open in File Manager' even when a file/folder is not explicitly selected.
(cherry picked from commit b7348419a3)
2022-01-19 16:04:16 +01:00
Bartłomiej T. Listwon
58c460b3b7
Removed redundant ClassDB::is_class_enabled() and moved second dynamic_cast inside worst case if
(cherry picked from commit b6cfc55113)
2022-01-19 16:04:16 +01:00
rafallus
27fc50d54a
Fix input_ray_pickable documentation for CollisionObject3D
(cherry picked from commit ba7d3f8331)
2022-01-19 16:04:16 +01:00
jmb462
3641ec61bb
Prevent renaming to an unkown extension from FileSystem dock.
(cherry picked from commit c24433f500)
2022-01-19 16:04:16 +01:00
kobewi
ccb52db232
Clarify to_float() and to_int() methods
(cherry picked from commit 7bb682651f)
2022-01-19 16:04:16 +01:00
bruvzg
7eb8339f6c
[Documentation] Add instruction how to execute built-in commands of various shells.
(cherry picked from commit 9faf1e027a)
2022-01-19 16:04:16 +01:00
bruvzg
0e5f063b5b
Improve iOS icon / loading screen export.
Merge "required" / "optional" icons into a single list.
Remove "generate_missing" and automatically rescale icons / loading screens that are missing or have incorrect size.
Print warning if icon or loading screen has incorrect size.
2022-01-19 16:04:16 +01:00
Haoyu Qiu
ac144e7e8c
Fix invalid read when using LightOccluder2D
(cherry picked from commit 7870cf24f2)
2022-01-19 16:02:54 +01:00
Haoyu Qiu
28ae995a1a
Fix crash when undoing node creation of BlendTree editor
(cherry picked from commit 19634bd1a1)
2022-01-19 16:02:54 +01:00