Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

27 lines
661 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MetaHumanPipelineSlotSelection.h"
bool operator<(const FMetaHumanPipelineSlotSelection& A, const FMetaHumanPipelineSlotSelection& B)
{
const int32 ParentPathComparison = A.ParentItemPath.Compare(B.ParentItemPath);
if (ParentPathComparison != 0)
{
return ParentPathComparison < 0;
}
if (A.SelectedItem < B.SelectedItem)
{
return true;
}
return A.SelectedItem == B.SelectedItem
&& A.SlotName.CompareIndexes(B.SlotName) < 0;
}
FMetaHumanPaletteItemPath FMetaHumanPipelineSlotSelection::GetSelectedItemPath() const
{
return FMetaHumanPaletteItemPath(ParentItemPath, SelectedItem);
}