mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
Use new change type for update object
To perform jobs for updated animated objects and doors with lowest priority.
This commit is contained in:
parent
851c2f55cd
commit
41319eb2bf
@ -29,6 +29,7 @@ namespace DetourNavigator
|
||||
remove = 0,
|
||||
mixed = 1,
|
||||
add = 2,
|
||||
update = 3,
|
||||
};
|
||||
|
||||
class AsyncNavMeshUpdater
|
||||
|
@ -46,7 +46,7 @@ namespace DetourNavigator
|
||||
{
|
||||
if (!mRecastMeshManager.updateObject(id, transform, areaType))
|
||||
return false;
|
||||
addChangedTiles(shape, transform, ChangeType::mixed);
|
||||
addChangedTiles(shape, transform, ChangeType::update);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user