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(