Merge pull request #2016 from elsid/navmesh_update_change_type

Use new change type for update object
pull/541/head
Bret Curtis 6 years ago committed by GitHub
commit 261bbded00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save