whitespace and string_view fixes

Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
chcurran
2021-06-30 18:59:11 -07:00
parent 7b149e6f90
commit 59f4e865a4
3 changed files with 5 additions and 7 deletions
@@ -277,7 +277,7 @@ namespace ScriptCanvasBuilder
if (!resultFound)
{
return AZ::Failure(AZStd::string::format("LoadEditorAssetTree failed to get engine relative path from %s-%s.", editorAssetId.ToString<AZStd::string>().c_str(), assetHint.data()));
return AZ::Failure(AZStd::string::format("LoadEditorAssetTree failed to get engine relative path from %s-%.*s.", editorAssetId.ToString<AZStd::string>().c_str(), assetHint.size(), assetHint.data()));
}
AZStd::vector<AZ::Data::AssetId> dependentAssets;
@@ -1454,7 +1454,8 @@ namespace ScriptCanvas
{
result.m_mostParent = outputSource;
}
} while (childSequenceIndex);
}
while (childSequenceIndex);
}
}
@@ -124,11 +124,8 @@ namespace ScriptCanvas
VariableFlags::Scope scope = VariableFlags::Scope::Graph;
if ((exposureType & VariableFlags::Deprecated::Exposure::Exp_InOut) == VariableFlags::Deprecated::Exposure::Exp_InOut)
{
scope = VariableFlags::Scope::Graph;
}
else if (exposureType & VariableFlags::Deprecated::Exposure::Exp_Input)
if (((exposureType & VariableFlags::Deprecated::Exposure::Exp_InOut) == VariableFlags::Deprecated::Exposure::Exp_InOut)
|| exposureType & VariableFlags::Deprecated::Exposure::Exp_Input)
{
scope = VariableFlags::Scope::Graph;
}