mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 00:21:33 +00:00
File > Revert keeps the document's tab and uid, so a trace prepared before the revert compared equal to one prepared after it when the restored image, object and settings were the same. A background trace that finished after the revert then applied to the restored content, and a result handed to imageTrace.make or imageTrace.makeAndExpand stood in for a fresh trace. The trace inputs now record the document's revert count. A run prepared before a revert is no longer current, the commands drop its result and trace the restored image again as one undo step, and the status bar says "Image Trace finished, but its document was reverted: trace it again". Reverting another document, or a revert that fails, does not affect the run.