mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 17:13:51 +00:00
feat(editor): facing arrow on NPC markers + Ctrl+Wheel hint in object panel
NPC markers now show a yellow ground-triangle pointing in the orientation direction so users can see facing without selecting. Object panel gained the Ctrl+Wheel rotation hint to match the NPC panel.
This commit is contained in:
parent
b736c6b2e1
commit
35ad340ccc
2 changed files with 12 additions and 0 deletions
|
|
@ -1527,6 +1527,7 @@ void EditorUI::renderObjectPanel(EditorApp& app) {
|
|||
float rot = placer.getPlacementRotationY();
|
||||
if (ImGui::SliderFloat("Y Rotation", &rot, 0.0f, 360.0f, "%.0f deg"))
|
||||
placer.setPlacementRotationY(rot);
|
||||
ImGui::TextDisabled("Tip: Ctrl+Wheel rotates while placing (Shift = fine)");
|
||||
bool randRot = placer.getRandomRotation();
|
||||
if (ImGui::Checkbox("Random Rotation", &randRot))
|
||||
placer.setRandomRotation(randRot);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue