[jasper/world/studio] Change WorldEditor Claw format back to Organic
This commit is contained in:
parent
20cd027466
commit
c5971ec641
@ -107,7 +107,7 @@ void WorldEditorImGui::onActivated() noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ox::Error WorldEditorImGui::saveItem() 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 {
|
void WorldEditorImGui::drawObjSetSelector() noexcept {
|
||||||
@ -163,7 +163,7 @@ void WorldEditorImGui::drawPropEditor() noexcept {
|
|||||||
ImGui::InputInt("Map Width", &m_sizeEditor.columns, 1);
|
ImGui::InputInt("Map Width", &m_sizeEditor.columns, 1);
|
||||||
ImGui::InputInt("Map Height", &m_sizeEditor.rows, 1);
|
ImGui::InputInt("Map Height", &m_sizeEditor.rows, 1);
|
||||||
const bool changed = m_doc.columns != m_sizeEditor.columns
|
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 (ig::PopupControlsOkCancel(popupSz.x, m_sizeEditor.show) == ig::PopupResponse::OK) {
|
||||||
if (changed) {
|
if (changed) {
|
||||||
std::ignore = pushCommand<EditWorldSizeCommand>(
|
std::ignore = pushCommand<EditWorldSizeCommand>(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user