mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-05 16:43:52 +00:00
fix(editor): enlarge sculpt panel default size for all generators
This commit is contained in:
parent
2d5692d5ad
commit
bd1356bd08
1 changed files with 2 additions and 2 deletions
|
|
@ -460,8 +460,8 @@ void EditorUI::renderSaveDialog(EditorApp& app) {
|
|||
|
||||
void EditorUI::renderBrushPanel(EditorApp& app) {
|
||||
ImGui::SetNextWindowPos(ImVec2(10, 90), ImGuiCond_FirstUseEver);
|
||||
ImGui::SetNextWindowSize(ImVec2(280, 260), ImGuiCond_FirstUseEver);
|
||||
if (ImGui::Begin("Sculpt Brush")) {
|
||||
ImGui::SetNextWindowSize(ImVec2(290, 500), ImGuiCond_FirstUseEver);
|
||||
if (ImGui::Begin("Sculpt")) {
|
||||
if (!app.hasTerrainLoaded()) {
|
||||
ImGui::TextColored(ImVec4(0.6f, 0.6f, 0.6f, 1.0f), "Load or create terrain first");
|
||||
ImGui::End(); return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue