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
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
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
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
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
Haoyu Qiu
08af6e0407
Replicate load-as-placeholder state on node duplication
...
(cherry picked from commit 6aecf91e4f
)
2022-01-19 16:01:04 +01:00
kobewi
986b99ed5c
Mention that modifying text erases BBCode stacks
...
(cherry picked from commit 3f0e9da5a4
)
2022-01-19 16:01:04 +01:00
kobewi
7bd13a4325
Automatically go up if current dir was deleted
...
(cherry picked from commit 18633b975b
)
2022-01-19 16:01:04 +01:00
Haoyu Qiu
a36ca80493
Improve the SnapGrid editor icon
...
(cherry picked from commit e9f660c066
)
2022-01-19 14:04:37 +01:00
Raul Santos
d4790455ba
Fix marshaling values of generic Godot Dictionary
...
(cherry picked from commit e4c40efeab
)
2022-01-19 14:04:22 +01:00
Rémi Verschelde
4f1e33b556
freetype: Update to upstream version 2.11.1
...
(cherry picked from commit f615926d3c
)
2022-01-19 14:03:38 +01:00
Fabio Alessandrelli
d76a26e086
Bump mbedTLS version to 2.28.0 (new LTS).
...
Keep applying the windows entropy patch (UWP support).
Remove no longer needed padlock patch.
Update thirdparty README to reflect changes, and new source inclusion
criteria.
(cherry picked from commit e375cbd094
)
2022-01-19 14:03:03 +01:00
Haoyu Qiu
76297e744d
Add OS.has_clipboard()
to check clipboard content
2022-01-19 20:19:06 +08:00
Rémi Verschelde
3fcc31eea7
Merge pull request #56934 from timothyqiu/color-preset-overbright
2022-01-19 10:17:07 +01:00
Rémi Verschelde
99cebb30dd
Merge pull request #54827 from timothyqiu/watch-your-step
...
[3.x] Fix AnimationTree function call track loop
2022-01-19 08:15:16 +01:00
Haoyu Qiu
342035b635
Fix ColorPresetButton's overbright indicator in default theme
2022-01-19 14:31:10 +08:00
Rémi Verschelde
ede7e68ab6
Merge pull request #56620 from timothyqiu/left-right-palette-3.x
2022-01-18 16:38:26 +01:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Rémi Verschelde
11a3fabc92
Merge pull request #56843 from Calinou/ssr-fix-background-line
...
Fix visible background line in intersections in screen-space reflections (3.x)
2022-01-18 07:56:46 +01:00
Rémi Verschelde
bef2e3d90e
Merge pull request #56868 from QueenOfSquiggles/patch-2
2022-01-17 17:13:04 +01:00
QueenOfSquiggles
cab89124ff
Fixed a typo in BakedLightmap documentation
...
"capture_propagation" member documentation description was missing the second 'p' in "propagation". Fixed this minor typo
Also resubmitting pull request to 3.x branch as per @Calinou's recommendation.
2022-01-17 09:56:49 -06:00
Rémi Verschelde
64ef373fa8
Merge pull request #56819 from dsnopek/webxr-ar-touch-events-squashed
2022-01-17 16:40:06 +01:00
Rémi Verschelde
90353b3e9a
Merge pull request #54439 from Geometror/color-picker-presets-3.x
2022-01-17 16:33:51 +01:00
Hendrik Brucker
365486543d
Improve Colorpicker presets
2022-01-17 15:21:47 +01:00
Rémi Verschelde
edee04a41d
Merge pull request #56866 from timothyqiu/texture-layered-source
2022-01-17 15:05:03 +01:00
Haoyu Qiu
7f49e5beec
Expose Image.COMPRESS_SOURCE_LAYERED
to scripting
2022-01-17 20:43:05 +08:00