fix for edit SC action in entity context menu (#6686)
* on demand reflect az events when they are the return value of ebuses Signed-off-by: carlitosan <82187351+carlitosan@users.noreply.github.com> * fix crash and functionality for edit sc editor context menu action Signed-off-by: carlitosan <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -1139,7 +1139,7 @@ namespace ScriptCanvasEditor
|
||||
auto loadedGraphOutcome = LoadFromFile(fileAssetId.Path().c_str());
|
||||
if (!loadedGraphOutcome.IsSuccess())
|
||||
{
|
||||
return AZ::Failure(AZStd::string("Failed to load graph at %s", fileAssetId.Path().c_str()));
|
||||
return AZ::Failure(AZStd::string::format("Failed to load graph at %s", fileAssetId.Path().c_str()));
|
||||
}
|
||||
|
||||
auto loadedGraph = loadedGraphOutcome.TakeValue();
|
||||
|
||||
Reference in New Issue
Block a user