godot/core
风青山 e705aa4550 Fix not refitting upward from leaf nodes.
Previously, the wrong node id (root node id) was used. Dirty leaf nodes
do not actually recalculate aabb.

Additionally, when requesting a new leaf, mark `dirty` as `false` in `clear()`.

Make sure to only mark the leaf as **dirty** when shrinking the border of
the leaf when removing items.

In other cases, the leaf node's aabb will get the correct result immediately.
1. When adding an item, the leaf nodes will be calculated immediately.
2. Removing the item within the border of the leaf node has no effect on the
original aabb.
2023-09-28 20:27:51 +08:00
..
config Merge pull request #82347 from SaracenOne/dir_access_checks 2023-09-26 16:36:47 +02:00
crypto [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-11 19:45:49 +02:00
debugger [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-11 19:45:49 +02:00
error Usage notes for DEV_ASSERT macro 2023-08-02 13:29:35 +01:00
extension Merge pull request #78995 from Gallilus/master 2023-09-27 19:07:50 +02:00
input Merge pull request #82203 from KoBeWi/shortcuts_under_pressure 2023-09-24 23:36:09 +02:00
io Merge pull request #82408 from hpvb/fix-import-crash 2023-09-27 14:03:47 +02:00
math Fix not refitting upward from leaf nodes. 2023-09-28 20:27:51 +08:00
object add GDExtensionScriptInstanceGetClassCategory 2023-09-27 17:45:48 +02:00
os [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-11 19:45:49 +02:00
string Fix platform-dependent hashing for char* and wchar_t* 2023-09-24 20:57:57 +02:00
templates Merge pull request #73813 from groud/improve_y_sort_performances 2023-09-25 22:47:22 +02:00
variant Merge pull request #74588 from puchik/float-variant-nan-inequality 2023-09-27 14:03:34 +02:00
SCsub Add 2D navigation mesh baking 2023-09-25 19:48:14 +02:00
core_bind.cpp Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points 2023-08-16 09:11:53 +02:00
core_bind.h Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points 2023-08-16 09:11:53 +02:00
core_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
core_constants.cpp Add missing YEN, SECTION and OPENURL names to keycode mappings 2023-08-28 03:37:22 -03:00
core_constants.h Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
doc_data.h GDScript: Add `@deprecated` and `@experimental` doc comment tags 2023-07-08 18:13:19 +03:00
register_core_types.cpp Properly free core types in reverse order 2023-05-30 17:47:12 +02:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
typedefs.h Fix sign(NAN) returning 1. 2023-09-09 11:30:11 +02:00
version.h Fix Windows StringFileInfo structure 2023-04-12 22:08:49 +02:00