From c5971ec641f6e8892bf440c6d4d0354fc9a6d654 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 24 May 2024 22:07:56 -0500 Subject: [PATCH] [jasper/world/studio] Change WorldEditor Claw format back to Organic --- .../world/src/studio/worldeditor/worldeditor-imgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jasper/modules/world/src/studio/worldeditor/worldeditor-imgui.cpp b/src/jasper/modules/world/src/studio/worldeditor/worldeditor-imgui.cpp index 3ee9d33..e7a0d00 100644 --- a/src/jasper/modules/world/src/studio/worldeditor/worldeditor-imgui.cpp +++ b/src/jasper/modules/world/src/studio/worldeditor/worldeditor-imgui.cpp @@ -107,7 +107,7 @@ void WorldEditorImGui::onActivated() noexcept { } ox::Error WorldEditorImGui::saveItem() noexcept { - return m_sctx.project->writeObj(itemPath(), m_doc, ox::ClawFormat::Metal); + return m_sctx.project->writeObj(itemPath(), m_doc, ox::ClawFormat::Organic); } void WorldEditorImGui::drawObjSetSelector() noexcept { @@ -163,7 +163,7 @@ void WorldEditorImGui::drawPropEditor() noexcept { ImGui::InputInt("Map Width", &m_sizeEditor.columns, 1); ImGui::InputInt("Map Height", &m_sizeEditor.rows, 1); const bool changed = m_doc.columns != m_sizeEditor.columns - || m_doc.rows != m_sizeEditor.rows; + || m_doc.rows != m_sizeEditor.rows; if (ig::PopupControlsOkCancel(popupSz.x, m_sizeEditor.show) == ig::PopupResponse::OK) { if (changed) { std::ignore = pushCommand(