fixed unit tests bugs, removed commented out code, removed loading spam
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -51,8 +51,6 @@ namespace ScriptCanvasEditor
|
||||
{
|
||||
static bool EditorScriptCanvasComponentVersionConverter(AZ::SerializeContext& serializeContext, AZ::SerializeContext::DataElementNode& rootElement)
|
||||
{
|
||||
AZ_TracePrintf("ScriptCanvas", "EditorScriptCanvasComponentVersionConverter called!");
|
||||
|
||||
if (rootElement.GetVersion() <= 4)
|
||||
{
|
||||
int assetElementIndex = rootElement.FindElement(AZ::Crc32("m_asset"));
|
||||
|
||||
@@ -54,11 +54,7 @@ namespace ScriptCanvasEditor
|
||||
|
||||
if (assetSystem->GetSourceInfoBySourcePath(fullPathHandle.Path().c_str(), assetInfo, watchFolder) && assetInfo.m_assetId.IsValid())
|
||||
{
|
||||
if (assetInfo.m_assetId.m_guid != source.Id())
|
||||
{
|
||||
AZ_TracePrintf("ScriptCanvas", "This is what I don't get");
|
||||
}
|
||||
|
||||
AZ_Warning("ScriptCanvas", assetInfo.m_assetId.m_guid == source.Id(), "SourceHandle completion produced conflicting AssetId.");
|
||||
auto path = fullPathHandle.Path();
|
||||
return SourceHandle(source, assetInfo.m_assetId.m_guid, path.MakePreferred());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user