mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 01:23:52 +00:00
fix(editor): shrink NPC markers, add show/hide toggle
- NPC markers reduced from 30-unit poles to 8-unit poles (was overwhelming and obscuring terrain). Base 1.5u, diamond top 1u - "Show Position Markers" checkbox in NPC panel to toggle visibility - Markers hidden when checkbox unchecked — useful when M2 creature models are rendering and markers are redundant - Marker alpha reduced for less visual noise
This commit is contained in:
parent
d84ad82e26
commit
e287cc9a78
3 changed files with 23 additions and 12 deletions
|
|
@ -1748,6 +1748,11 @@ void EditorUI::renderNpcPanel(EditorApp& app) {
|
|||
auto& presets = app.getNpcPresets();
|
||||
auto& tmpl = spawner.getTemplate();
|
||||
|
||||
bool showMarkers = app.getViewport().getShowNpcMarkers();
|
||||
if (ImGui::Checkbox("Show Position Markers", &showMarkers))
|
||||
app.getViewport().setShowNpcMarkers(showMarkers);
|
||||
ImGui::Separator();
|
||||
|
||||
// ---- Creature Browser ----
|
||||
if (ImGui::CollapsingHeader("Creature Browser", ImGuiTreeNodeFlags_DefaultOpen)) {
|
||||
// Category filter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue