addPaintInfo method
Adds a painted model to the painting history and notifies listeners of the change.
Implementation
void addPaintInfo(PaintedModel paintInfo) {
_cleanForwardChanges();
paintHistory.add([...activePaintings, paintInfo]);
historyPosition++;
}