Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
@@ -618,14 +618,16 @@ namespace ScriptCanvasTests
return name;
}
void DumpSlots(const ScriptCanvas::Node& node)
void DumpSlots([[maybe_unused]] const ScriptCanvas::Node& node)
{
#if defined(AZ_ENABLE_TRACING)
const auto& nodeslots = node.GetSlots();
for (const auto& nodeslot : nodeslots)
{
AZ_TracePrintf("ScriptCanvasTest", "'%s':%s\n", nodeslot.GetName().data(), SlotDescriptorToString(nodeslot.GetDescriptor()).c_str());
}
#endif
}
bool Connect(ScriptCanvas::Graph& graph, const AZ::EntityId& fromNodeID, const char* fromSlotName, const AZ::EntityId& toNodeID, const char* toSlotName, bool dumpSlotsOnFailure /*= true*/)
@@ -341,9 +341,8 @@ namespace ScriptCanvasTests
~TestBehaviorContextObject()
{
AZ::u32 destroyedCount = ++s_destroyedCount;
AZ::u32 createdCount = s_createdCount;
AZ_Assert(destroyedCount <= createdCount, "ScriptCanvas execution error");
[[maybe_unused]] AZ::u32 destroyedCount = ++s_destroyedCount;
AZ_Assert(destroyedCount <= s_createdCount, "ScriptCanvas execution error");
}
TestBehaviorContextObject& operator=(const TestBehaviorContextObject& source)