|
|
|
|
@ -261,8 +261,7 @@ namespace AZ::Prefab
|
|
|
|
|
if (context.HasCompletedSuccessfully())
|
|
|
|
|
{
|
|
|
|
|
AZ_TracePrintf("Prefab Builder", "Finalizing products.\n");
|
|
|
|
|
if (!context.HasPrefabs())
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
if (StoreProducts(tempDirPath, context.GetProcessedObjects(),
|
|
|
|
|
context.GetRegisteredProductAssetDependencies(), jobProducts))
|
|
|
|
|
{
|
|
|
|
|
@ -274,11 +273,6 @@ namespace AZ::Prefab
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
AZ_Error("Prefab Builder", false, "After processing there were still Prefabs left.");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
AZ_Error("Prefab Builder", false, "Failed to fully process the target prefab.");
|
|
|
|
|
}
|
|
|
|
|
|