update reporting and logging and make bug fixes

Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
chcurran
2021-09-15 17:03:16 -07:00
parent 296fca722e
commit 9196e98ee6
13 changed files with 122 additions and 106 deletions
@@ -3435,18 +3435,18 @@ namespace ScriptCanvasEditor
void MainWindow::RunUpgradeTool()
{
using namespace VersionExplorer;
auto versionExplorer = aznew VersionExplorer::Controller(this);
versionExplorer->exec();
// update and fix this
// Manual correction
// size_t assetsThatNeedManualInspection = AZ::Interface<IUpgradeRequests>::Get()->GetGraphsThatNeedManualUpgrade().size();
// // If there are graphs that need manual correction, show the helper
// if (assetsThatNeedManualInspection > 0)
// {
// UpgradeHelper* upgradeHelper = new UpgradeHelper(this);
// upgradeHelper->show();
// }
const ModificationResults* result = nullptr;
ModelRequestsBus::BroadcastResult(result, &ModelRequestsTraits::GetResults);
if (result && !result->m_failures.empty())
{
// If there are graphs that need manual correction, show the helper
UpgradeHelper* upgradeHelper = new UpgradeHelper(this);
upgradeHelper->show();
}
delete versionExplorer;
}