mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): auto-scatter checkbox for height-based object placement
This commit is contained in:
parent
aa9a6a87a8
commit
506fcc29f3
1 changed files with 2 additions and 0 deletions
|
|
@ -560,6 +560,8 @@ void EditorUI::renderTexturePaintPanel(EditorApp& app) {
|
|||
ImGui::DragFloat("Grass max##ap", &h2, 1.0f);
|
||||
ImGui::DragFloat("Rock max##ap", &h3, 1.0f);
|
||||
ImGui::Text("Above %.0f: Snow", h3);
|
||||
static bool autoScatterObjects = false;
|
||||
ImGui::Checkbox("Also scatter objects by band", &autoScatterObjects);
|
||||
if (ImGui::Button("Apply Auto-Paint", ImVec2(-1, 0))) {
|
||||
std::vector<TexturePainter::HeightBand> bands = {
|
||||
{h1, "Tileset\\Tanaris\\TanarisSandBase01.blp"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue