1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00
openmw-tes3mp/components/detournavigator
elsid 0479ebf5ae
Remove unused actors and navmeshes on update
When there is only one actor (player) on a scene and it moving to other
cell first it will be removed from navigator then added. Remove cause
navmesh removing for its half extents. After it is added navmesh for
same half extents is created and added. While this all happens there are
still jobs for old navmesh are processing. Old navmesh still exists
because it is stored by shared pointer. So jobs take tiles from cache
and place them into old navmesh. After that other jobs take same tiles
from cache (half extents and coordinates are equal) and place them into
other navmesh. dtNavMesh changes tile data on add and remove. Adding tile
to two dtNavMesh corrupts tile in both nameshes.
2019-03-10 17:06:15 +03:00
..
areatype.hpp Support water for NavMesh 2018-10-13 22:16:32 +03:00
asyncnavmeshupdater.cpp Repost navmesh update jobs when failed because of out of memory 2019-03-08 17:39:04 +03:00
asyncnavmeshupdater.hpp Repost navmesh update jobs when failed because of out of memory 2019-03-08 17:39:04 +03:00
bounds.hpp Split makeNavMeshTileData 2018-10-13 22:22:15 +03:00
cachedrecastmeshmanager.cpp Add special type for object id 2018-10-13 22:16:35 +03:00
cachedrecastmeshmanager.hpp Add special type for object id 2018-10-13 22:16:35 +03:00
chunkytrimesh.cpp Add enums for area type and flags 2018-10-13 22:16:32 +03:00
chunkytrimesh.hpp Use callback to iterate over chunks 2018-11-04 18:34:31 +03:00
debug.cpp Option to enable/disable file names revisions 2018-10-13 22:16:27 +03:00
debug.hpp Remove recastnavigation conflicts 2018-10-31 15:15:01 +00:00
dtstatus.hpp Remove macroses to check recastnavigation functions result 2018-10-13 22:22:15 +03:00
exceptions.hpp Update NavMesh one by one tile in order from nearest to player 2018-10-13 22:16:26 +03:00
findsmoothpath.cpp Move makeOsgVec3f() to settingsutils.hpp 2019-02-28 20:03:42 +00:00
findsmoothpath.hpp Use custom steps size to make smooth path depending on half extents 2019-03-08 22:33:34 +03:00
flags.hpp Add default return value 2018-10-31 10:18:29 +04:00
gettilespositions.hpp Move makeOsgVec3f() to settingsutils.hpp 2019-02-28 20:03:42 +00:00
makenavmesh.cpp Add option to limit max number of navmesh tiles 2019-03-08 17:39:04 +03:00
makenavmesh.hpp Repost navmesh update jobs when failed because of out of memory 2019-03-08 17:39:04 +03:00
navigator.hpp Use custom steps size to make smooth path depending on half extents 2019-03-08 22:33:34 +03:00
navigatorimpl.cpp Remove unused actors and navmeshes on update 2019-03-10 17:06:15 +03:00
navigatorimpl.hpp Remove unused actors and navmeshes on update 2019-03-10 17:06:15 +03:00
navigatorstub.hpp Add option to disable DetourNavigator component to find paths 2019-02-16 15:50:58 +03:00
navmeshcacheitem.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
navmeshdata.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
navmeshmanager.cpp Remove unused actors and navmeshes on update 2019-03-10 17:06:15 +03:00
navmeshmanager.hpp Remove unused actors and navmeshes on update 2019-03-10 17:06:15 +03:00
navmeshtilescache.cpp Fix name styleguide 2019-03-08 15:02:49 +03:00
navmeshtilescache.hpp Fix name styleguide 2019-03-08 15:02:49 +03:00
objectid.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
offmeshconnection.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
offmeshconnectionsmanager.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
recastallocutils.hpp use c++11 std::align from <memory> (#2026) 2018-11-08 17:38:09 +01:00
recastglobalallocator.hpp Add global recast allocator to allocate temp buffers on stack 2018-11-04 18:11:15 +03:00
recastmesh.cpp Split makeNavMeshTileData 2018-10-13 22:22:15 +03:00
recastmesh.hpp Split makeNavMeshTileData 2018-10-13 22:22:15 +03:00
recastmeshbuilder.cpp Move makeOsgVec3f() to settingsutils.hpp 2019-02-28 20:03:42 +00:00
recastmeshbuilder.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
recastmeshmanager.cpp Remove redundant includes 2019-02-23 08:02:12 +04:00
recastmeshmanager.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
recastmeshobject.cpp Update scaled objects in navigator 2019-03-04 22:59:39 +03:00
recastmeshobject.hpp Update scaled objects in navigator 2019-03-04 22:59:39 +03:00
recasttempallocator.hpp use c++11 std::align from <memory> (#2026) 2018-11-08 17:38:09 +01:00
settings.cpp Add option to limit max number of navmesh tiles 2019-03-08 17:39:04 +03:00
settings.hpp Add option to limit max number of navmesh tiles 2019-03-08 17:39:04 +03:00
settingsutils.hpp Use custom steps size to make smooth path depending on half extents 2019-03-08 22:33:34 +03:00
sharednavmesh.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
tilebounds.hpp Use recastnavigation to find path 2018-10-13 22:16:25 +03:00
tilecachedrecastmeshmanager.cpp Fix update navmesh for not changed objects 2019-02-22 11:48:31 +03:00
tilecachedrecastmeshmanager.hpp Fix update navmesh 2019-02-17 01:50:53 +03:00
tileposition.hpp Use recastnavigation to find path 2018-10-13 22:16:25 +03:00