diff --git a/src/nostalgia/modules/core/src/studio/tilesheeteditor/commands/cutpastecommand.hpp b/src/nostalgia/modules/core/src/studio/tilesheeteditor/commands/cutpastecommand.hpp index af72f09e..a0b1a59c 100644 --- a/src/nostalgia/modules/core/src/studio/tilesheeteditor/commands/cutpastecommand.hpp +++ b/src/nostalgia/modules/core/src/studio/tilesheeteditor/commands/cutpastecommand.hpp @@ -40,7 +40,7 @@ oxModelBegin(TileSheetClipboard::Pixel) oxModelEnd() oxModelBegin(TileSheetClipboard) - oxModelFieldRename(pixels, m_pixels) + oxModelFieldRename(m_pixels, pixels) oxModelEnd() class CutPasteCommand: public TileSheetCommand { diff --git a/src/nostalgia/modules/scene/include/nostalgia/scene/scenestatic.hpp b/src/nostalgia/modules/scene/include/nostalgia/scene/scenestatic.hpp index f3c9df5c..709a0ab4 100644 --- a/src/nostalgia/modules/scene/include/nostalgia/scene/scenestatic.hpp +++ b/src/nostalgia/modules/scene/include/nostalgia/scene/scenestatic.hpp @@ -58,10 +58,10 @@ struct TileDoc { }; oxModelBegin(TileDoc) - oxModelFieldRename(subsheet_id, subsheetId) - oxModelFieldRename(subsheet_path, subsheetPath) + oxModelFieldRename(subsheetId, subsheet_id) + oxModelFieldRename(subsheetPath, subsheet_path) oxModelField(type) - oxModelFieldRename(layer_attachments, layerAttachments) + oxModelFieldRename(layerAttachments, layer_attachments) oxModelEnd() struct SceneDoc { diff --git a/src/olympic/studio/applib/src/studioapp.cpp b/src/olympic/studio/applib/src/studioapp.cpp index c97b0771..984be43f 100644 --- a/src/olympic/studio/applib/src/studioapp.cpp +++ b/src/olympic/studio/applib/src/studioapp.cpp @@ -34,10 +34,10 @@ struct StudioConfig { }; oxModelBegin(StudioConfig) - oxModelFieldRename(active_tab_item_name, activeTabItemName) - oxModelFieldRename(project_path, projectPath) - oxModelFieldRename(open_files, openFiles) - oxModelFieldRename(show_project_explorer, showProjectExplorer) + oxModelFieldRename(activeTabItemName, active_tab_item_name) + oxModelFieldRename(projectPath, project_path) + oxModelFieldRename(openFiles, open_files) + oxModelFieldRename(showProjectExplorer, show_project_explorer) oxModelEnd() StudioUI::StudioUI(studio::StudioContext &ctx, ox::StringView projectDataDir) noexcept: