From d2369af46e261b4f3cdd190fb9aec4635d243f56 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 25 Mar 2023 12:24:09 +0100 Subject: [PATCH] NavEditor: Move "Save" button below "Load" Minor UX improvements. --- r5dev/naveditor/Editor_TileMesh.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/r5dev/naveditor/Editor_TileMesh.cpp b/r5dev/naveditor/Editor_TileMesh.cpp index b0f784d8..bd7aeae6 100644 --- a/r5dev/naveditor/Editor_TileMesh.cpp +++ b/r5dev/naveditor/Editor_TileMesh.cpp @@ -275,11 +275,6 @@ void Editor_TileMesh::handleSettings() imguiIndent(); imguiIndent(); - if (imguiButton("Save")) - { - Editor::saveAll(m_modelName.c_str(), m_navMesh); - } - if (imguiButton("Load")) { dtFreeNavMesh(m_navMesh); @@ -287,6 +282,11 @@ void Editor_TileMesh::handleSettings() m_navQuery->init(m_navMesh, 2048); } + if (imguiButton("Save")) + { + Editor::saveAll(m_modelName.c_str(), m_navMesh); + } + imguiUnindent(); imguiUnindent();