The following functions would gracefully handle a count of zero:
- EmptyAndAddValues
- EmptyAndAddUninitializedValues
The following functions would assert if given a count of zero:
- AddUninitializedValues
- AddValues
- InsertValues
- RemoveValues
- ClearValues
This change makes all of the above functions gracefully handle a count of zero, which addresses some editor crashes that could easily occur in user scripts when using unreal.Array in Python.
#fyi Malachi.Duncan
#rb Matt.Peters
#preflight 60f74556e885f20001b56003
[CL 16909007 by Jamie Dale in ue5-main branch]