merge lastest; add extra data to scan result
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -697,8 +697,10 @@ namespace ScriptCanvasEditor
|
||||
|
||||
bool onlyShowOutdatedGraphs = m_ui->onlyShowOutdated->isChecked();
|
||||
bool forceUpgrade = m_ui->forceUpgrade->isChecked();
|
||||
|
||||
if (!forceUpgrade && onlyShowOutdatedGraphs && graphComponent->GetVersion().IsLatest())
|
||||
ScriptCanvas::VersionData graphVersion = graphComponent->GetVersion();
|
||||
|
||||
|
||||
if (!forceUpgrade && onlyShowOutdatedGraphs && graphVersion.IsLatest())
|
||||
{
|
||||
ScanComplete(asset);
|
||||
Log("InspectAsset: %s, is at latest", asset.GetHint().c_str());
|
||||
@@ -842,8 +844,8 @@ namespace ScriptCanvasEditor
|
||||
}
|
||||
else
|
||||
{
|
||||
spinnerText.append(QString::asprintf(" - Discovered: %zu, Inspected: %zu, Failed: %zu"
|
||||
, m_discoveredAssets, m_inspectedAssets, m_failedAssets));
|
||||
spinnerText.append(QString::asprintf(" - Discovered: %zu, Inspected: %zu, Failed: %zu, Upgradeable: %zu"
|
||||
, m_discoveredAssets, m_inspectedAssets, m_failedAssets, m_assetsToUpgrade.size()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -369,6 +369,9 @@
|
||||
<property name="text">
|
||||
<string>Update Reporting Only</string>
|
||||
</property>
|
||||
<property name="tristate">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
@@ -135,6 +135,16 @@ namespace ScriptCanvas
|
||||
if (AZ::SerializeContext* serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
|
||||
{
|
||||
serializeContext->Class<VersionData>()
|
||||
->Version(2, [](AZ::SerializeContext& context, AZ::SerializeContext::DataElementNode& classElement)
|
||||
{
|
||||
if (classElement.GetVersion() < 2)
|
||||
{
|
||||
FileVersion fileVersion = ScriptCanvas::FileVersion::Initial;
|
||||
classElement.AddElementWithData(context, "_fileVersion", fileVersion);
|
||||
}
|
||||
|
||||
return true;
|
||||
})
|
||||
->Field("_grammarVersion", &VersionData::grammarVersion)
|
||||
->Field("_runtimeVersion", &VersionData::runtimeVersion)
|
||||
->Field("_fileVersion", &VersionData::fileVersion)
|
||||
|
||||
Reference in New Issue
Block a user