fix upgrade scanner
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -1207,7 +1207,7 @@ namespace ScriptCanvasEditor
|
||||
{
|
||||
if (!m_isRestoringWorkspace)
|
||||
{
|
||||
AZStd::string errorPath = scriptCanvasAsset.Path();
|
||||
AZStd::string errorPath = scriptCanvasAsset.Path().c_str();
|
||||
|
||||
if (errorPath.empty())
|
||||
{
|
||||
@@ -1245,7 +1245,7 @@ namespace ScriptCanvasEditor
|
||||
, fileAssetId.ToString().c_str()));
|
||||
}
|
||||
|
||||
AZStd::string assetPath = scriptCanvasAsset.Path();
|
||||
AZStd::string assetPath = scriptCanvasAsset.Path().c_str();
|
||||
if (!assetPath.empty() && !m_loadingNewlySavedFile)
|
||||
{
|
||||
AddRecentFile(assetPath.c_str());
|
||||
@@ -1784,7 +1784,7 @@ namespace ScriptCanvasEditor
|
||||
{
|
||||
isValidFileName = true;
|
||||
suggestedFileFilter = ScriptCanvasAssetDescription().GetExtensionImpl();
|
||||
suggestedFilename = inMemoryAssetId.Path();
|
||||
suggestedFilename = inMemoryAssetId.Path().c_str();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1797,7 +1797,7 @@ namespace ScriptCanvasEditor
|
||||
}
|
||||
else
|
||||
{
|
||||
suggestedFilename = inMemoryAssetId.Path();
|
||||
suggestedFilename = inMemoryAssetId.Path().c_str();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1892,7 +1892,7 @@ namespace ScriptCanvasEditor
|
||||
AZ::Data::AssetId oldId = fileAssetId.Id();
|
||||
AZ::Data::AssetInfo assetInfo;
|
||||
assetInfo.m_assetId = fileAssetId.Id();
|
||||
AZ_VerifyWarning("ScriptCanvas", AssetHelpers::GetAssetInfo(fileAssetId.Path(), assetInfo)
|
||||
AZ_VerifyWarning("ScriptCanvas", AssetHelpers::GetAssetInfo(fileAssetId.Path().c_str(), assetInfo)
|
||||
, "Failed to find asset info for source file just saved: %s", fileAssetId.Path().c_str());
|
||||
|
||||
const bool assetIdHasChanged = assetInfo.m_assetId.m_guid != fileAssetId.Id();
|
||||
|
||||
Reference in New Issue
Block a user