diff --git a/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs b/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs index 50f69c0..8ecc8c8 100644 --- a/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs +++ b/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs @@ -165,6 +165,10 @@ public class RcSettingsView : IRcView ImGui.SliderFloat("Sample Distance", ref settings.detailSampleDist, 0f, 16f, "%.1f"); ImGui.SliderFloat("Max Sample Error", ref settings.detailSampleMaxError, 0f, 16f, "%.1f"); ImGui.NewLine(); + + ImGui.Checkbox("Keep Itermediate Results", ref settings.keepInterResults); + ImGui.Checkbox("Build All Tiles", ref settings.buildAll); + ImGui.NewLine(); ImGui.Text("Tiling"); ImGui.Separator(); diff --git a/src/DotRecast.Recast.Toolset/RcNavMeshBuildSettings.cs b/src/DotRecast.Recast.Toolset/RcNavMeshBuildSettings.cs index e0b6906..86d9df6 100644 --- a/src/DotRecast.Recast.Toolset/RcNavMeshBuildSettings.cs +++ b/src/DotRecast.Recast.Toolset/RcNavMeshBuildSettings.cs @@ -31,5 +31,8 @@ public bool tiled = false; public int tileSize = 32; + + public bool keepInterResults = false; + public bool buildAll = true; } } \ No newline at end of file