// This isn't allowed to happen, but cannot be explicitly forbidden in the engine. For now, just hack it by inserting a point at 0,0,0.
// Alternatively, just delete the line? TODO
if(EditorLines[LineIndex].Points.Num()<2)
if(EditorLines[EditorLineIndex].Points.Num()<2)
{
UE_LOG(LogTemp,Error,TEXT("UGPUInstancedLineComponent: A Line needs to consist of at least two points, trying to remove one of them doesn't work. Defaulted point inserted again!"));