fix manual inpsection window
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -515,13 +515,13 @@ namespace ScriptCanvasEditor
|
||||
|
||||
ScriptCanvas::Grammar::g_saveRawTranslationOuputToFile = saveRawTranslationOuputToFile;
|
||||
|
||||
if (validationResults.HasResults())
|
||||
if (validationResults.HasErrors())
|
||||
{
|
||||
AZ::Interface<IUpgradeRequests>::Get()->GraphNeedsManualUpgrade(sm->m_asset.GetId());
|
||||
|
||||
for (auto& err : validationResults.GetEvents())
|
||||
{
|
||||
// Register this graph as needing manual updates
|
||||
AZ::Interface<IUpgradeRequests>::Get()->GraphNeedsManualUpgrade(sm->m_asset.GetId());
|
||||
|
||||
Log("%s: %s\n", err->GetIdentifier().c_str(), err->GetDescription().data());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user