revert all changes related to normalization of bbb positions

This commit is contained in:
David Markowitz
2025-06-26 01:20:36 -07:00
parent 1f580491c7
commit 2184a7fdfb
4 changed files with 24 additions and 8 deletions

View File

@@ -5,6 +5,8 @@
#include "Sd0.h"
void ModelNormalizeMigration::Run() {
// Take this out when model position normalization works (never)
return;
const auto oldCommit = Database::Get()->GetAutoCommit();
Database::Get()->SetAutoCommit(false);
for (auto& [lxfmlData, id, modelID] : Database::Get()->GetAllUgcModels()) {
@@ -30,6 +32,8 @@ void ModelNormalizeMigration::Run() {
}
void ModelNormalizeMigration::RunAfterFirstPart() {
// Take this out when model position normalization works (never)
return;
const auto oldCommit = Database::Get()->GetAutoCommit();
Database::Get()->SetAutoCommit(false);
for (auto& [lxfmlData, id, modelID] : Database::Get()->GetAllUgcModels()) {