lawnjelly
ba5e4d8baa
BVH fix stale changed items, causing dangling pairs
...
In the octree collisions are flushed as objects are moved, whereas in the BVH they are usually flushed once per frame.
This was causing problems in the render tree in some rare situations where objects were being created (perhaps deleted and recreated using the same handle in the same frame). This PR flushes the collisions before creating objects, and set_pairable.
set_pairable may not be necessary but it is done for safety until proven not necessary.
Also a small potential for a bug is closed in remove_unordered use.
2021-01-27 16:14:32 +00:00
..
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:55:27 +01:00
2021-01-19 14:24:32 +00:00
2021-01-14 13:26:44 +00:00
2021-01-12 12:12:10 +00:00
2021-01-12 12:12:10 +00:00
2021-01-12 12:12:10 +00:00
2021-01-19 14:24:32 +00:00
2021-01-17 15:00:49 +00:00
2021-01-12 12:12:10 +00:00
2021-01-12 12:12:10 +00:00
2021-01-12 12:12:10 +00:00
2021-01-13 16:55:27 +01:00
2021-01-27 16:14:32 +00:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-14 18:08:33 +01:00
2021-01-14 18:05:56 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2020-06-10 15:30:52 +02:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00