By (popular) demand, I have planned undo/redo support for the next release. I've already got it working for about 80-90% of the editor. Additionally, you'll be able to copy the undo log to the clipboard, for logging purposes. Obviously, after you close a file the undo/redo history is lost. Changes made can not be undone by S3D using the exported log, so backups of the original file are still recommended. That, or you manually have to undo using the log. Some things can't be undone this way though (deleted chunks, replaced images, etc), hence the backups.
An example log (of materials.dat), with dummy changes:
- chunk 9: int_halo.tga/Opacity, oldValue = 35, newValue = 40
- chunk 35: Properties/ParticleGenerator/GlobalScaleFar/DensityScale, oldValue = 0.1, newValue = 0.2
|