Undo.CollapseUndoOperations
static function CollapseUndoOperations(groupIndex: int): void;
static void CollapseUndoOperations(int groupIndex);
static def CollapseUndoOperations(groupIndex as int) as void
Description

Collapses all undo operation up to group index together into one step.

This is used by the color picked to combine all color modifications into a single step once the color picker is closed, while they are seperate operations when the color picker is still open.