Commit graph

32606 commits

Author SHA1 Message Date
rafallus
75fcb31cee [3.x] Consider gridmap collisions in navigation bake 2022-01-24 19:10:33 -06:00
Rémi Verschelde
f9d0975b72
Merge pull request #57156 from snailrhymer/tileset-doc-improvement 2022-01-24 23:17:41 +01:00
SnailRhymer
6ac800aab7 Add clarification to tile_set_modulate
To resolve 45677, adds a note to tile_set_modulate clarifying how to use tile_modulate in shaders.
2022-01-24 21:23:04 +00:00
Bartłomiej T. Listwon
7df2f31c27 Use refval() instead of separate ref() and get() 2022-01-24 21:36:25 +01:00
Rémi Verschelde
49df809ca4
Merge pull request #57113 from mhilbrunner/docs-fixes 2022-01-24 11:40:57 +01:00
Rémi Verschelde
3073842f69
Merge pull request #57114 from mhilbrunner/docs-fix-reloaded 2022-01-24 11:40:47 +01:00
Max Hilbrunner
6cecb2210e Fix GDNative docs links 2022-01-24 11:29:20 +01:00
Max Hilbrunner
54de063890 [3.x] Fix make_rst.py on Windows 2022-01-24 10:28:22 +01:00
Rémi Verschelde
ed869729ae
Merge pull request #56755 from madmiraal/fix-45592-3.x 2022-01-24 10:06:24 +01:00
Rémi Verschelde
50a672eb80
Merge pull request #57110 from Macksaur/gi_not_mi_bakedlightmap 2022-01-24 09:42:13 +01:00
Mack
36c7110c1b Fixed accessing a null MeshInstance object in BakedLightmap instead of the GeometryInstance 2022-01-24 06:59:48 +00:00
Hugo Locurcio
357e7e8f9f
Use a fixed-width font for internal references in the editor help
Since internal references are often written in scripts, it makes sense
to use a fixed-width font for them.
2022-01-23 18:47:50 +01: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
fire540
a5b9f9f1ed [3.x] Fix Create Root Node dialog expanding in favorites tab 2022-01-21 11:45:43 -06: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
Haoyu Qiu
061ee6cdb3 Disable ScriptEditor's menu items when they do nothing 2022-01-21 12:05:32 +08: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