/Engine/Source/Editor/UnrealEd/Classes/Editor/TransBuffer.h
Sets an undo barrier at the current point in the transaction buffer. Undoing beyond this point will not be allowed until the barrier is removed.
virtual void SetUndoBarrier()