mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): show scale and rotation info for selected objects
This commit is contained in:
parent
05d7dcd927
commit
126567a1d0
1 changed files with 2 additions and 0 deletions
|
|
@ -1362,6 +1362,8 @@ void EditorUI::renderObjectPanel(EditorApp& app) {
|
||||||
|
|
||||||
if (changed) app.markObjectsDirty();
|
if (changed) app.markObjectsDirty();
|
||||||
|
|
||||||
|
ImGui::Text("Scale: %.2f Rot: %.0f,%.0f,%.0f",
|
||||||
|
sel->scale, sel->rotation.x, sel->rotation.y, sel->rotation.z);
|
||||||
if (ImGui::Button("Snap Ground", ImVec2(75, 0)))
|
if (ImGui::Button("Snap Ground", ImVec2(75, 0)))
|
||||||
app.snapSelectedToGround();
|
app.snapSelectedToGround();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue