From 8f91328fd928128a8054d077ddd1e6760fcf5e11 Mon Sep 17 00:00:00 2001 From: ikpil Date: Tue, 31 Oct 2023 23:29:58 +0900 Subject: [PATCH] fix: fix bug where obstacle tile cache rebuild wasn't being reflected. - https://github.com/ikpil/DotRecast/issues/14 --- src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs index e38688f..216f7f3 100644 --- a/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/ObstacleSampleTool.cs @@ -33,7 +33,6 @@ public class ObstacleSampleTool : ISampleTool if (buildResult.Success) { _sample.Update(_sample.GetInputGeom(), buildResult.RecastBuilderResults, buildResult.NavMesh); - _sample.SetChanged(false); } }