use sample.Update

This commit is contained in:
ikpil 2023-07-03 23:20:50 +09:00
parent c3288618cf
commit db64fbd047
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ public class RecastDemo : IRecastDemoChannel
if (null != mesh)
{
sample = new Sample(sample.GetInputGeom(), ImmutableArray<RecastBuilderResult>.Empty, mesh);
sample.Update(sample.GetInputGeom(), ImmutableArray<RecastBuilderResult>.Empty, mesh);
toolset.SetEnabled(true);
}
}