bugifx - ImGui button duplicate label

This commit is contained in:
ikpil 2023-06-09 20:56:03 +09:00
parent fc553e2753
commit 776548e916
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ public class CrowdProfilingTool
ImGui.SliderInt("Max Iterations", ref maxIterations, 0, 4000); ImGui.SliderInt("Max Iterations", ref maxIterations, 0, 4000);
ImGui.NewLine(); ImGui.NewLine();
if (ImGui.Button("Start")) if (ImGui.Button("Start Crowd Profiling"))
{ {
if (navMesh != null) if (navMesh != null)
{ {

View File

@ -594,7 +594,7 @@ public class DynamicUpdateTool : ITool
ImGui.SliderFloat("Max Sample Error", ref detailSampleMaxError, 0f, 16f, "%.1f"); ImGui.SliderFloat("Max Sample Error", ref detailSampleMaxError, 0f, 16f, "%.1f");
ImGui.NewLine(); ImGui.NewLine();
if (ImGui.Button("Build")) if (ImGui.Button("Build Dynamic mesh"))
{ {
if (dynaMesh != null) if (dynaMesh != null)
{ {

View File

@ -355,7 +355,7 @@ public class JumpLinkBuilderTool : ITool
//option.buildTypes = buildTypes; //option.buildTypes = buildTypes;
bool build = false; bool build = false;
bool buildOffMeshConnections = false; bool buildOffMeshConnections = false;
if (ImGui.Button("Build")) if (ImGui.Button("Build Jump Link"))
{ {
build = true; build = true;
} }

View File

@ -201,7 +201,7 @@ public class RcSettingsView : IRcView
ImGui.Text($"Build Time: {buildTime} ms"); ImGui.Text($"Build Time: {buildTime} ms");
ImGui.Separator(); ImGui.Separator();
buildTriggered = ImGui.Button("Build"); buildTriggered = ImGui.Button("Build Nav Mesh");
const string strLoadNavMesh = "Load Nav Mesh..."; const string strLoadNavMesh = "Load Nav Mesh...";
if (ImGui.Button(strLoadNavMesh)) if (ImGui.Button(strLoadNavMesh))
{ {