Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
backup project before saving #938
We're seeing more and more people having corrupted projects in one way or another. As a measurement to prevent this, I suggest that we backup the old project file as soon as we press save. This will not prevent all cases where the project ends up being corrupted but it should make it possible to recover to the state before the project got corrupted.
Another thing is that we shouldn't write to the project file unless we know that the data has been stored correctly.
I am too cautious about working with Pencil since it is not easy to be calm when we loose something that we have being working from a long time, and since I am using two different versions of it (last build and Pencil2D-Mypaint), it is better to be prepared.