mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
fix(editor): cleaner cursor info display in Sculpt panel header
This commit is contained in:
parent
da79244fc5
commit
dce51d9de6
1 changed files with 2 additions and 2 deletions
|
|
@ -503,11 +503,11 @@ void EditorUI::renderBrushPanel(EditorApp& app) {
|
|||
ImGui::TextColored(ImVec4(0.6f, 0.6f, 0.6f, 1.0f), "Load or create terrain first");
|
||||
ImGui::End(); return;
|
||||
}
|
||||
// Show cursor height at top of panel for quick reference
|
||||
// Show cursor info at top of panel
|
||||
auto& cursorBrush = app.getTerrainEditor().brush();
|
||||
auto cp = cursorBrush.getPosition();
|
||||
ImGui::TextColored(ImVec4(0.7f, 0.8f, 1.0f, 1.0f),
|
||||
"Height: %.1f (%.0f, %.0f)", cp.z, cp.x, cp.y);
|
||||
"Cursor: %.0f, %.0f H: %.1f", cp.x, cp.y, cp.z);
|
||||
ImGui::Separator();
|
||||
auto& s = app.getTerrainEditor().brush().settings();
|
||||
const char* modes[] = {"Raise", "Lower", "Smooth", "Flatten", "Level", "Erode"};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue