JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.05k stars 271 forks source link

Added Incremental Saving #2386

Open Azagwen opened 1 week ago

Azagwen commented 1 week ago

This PR adds incremental saving, similar to what can be seen in Blender and Autodesk Maya.

https://github.com/JannisX11/blockbench/assets/30528331/49b4f6c7-6054-457f-9d94-ad2136febdd4

This would be useful to keep past versions of a given project file, without having to set up boilerplate version control tools like Git.

Would close #2360

netlify[bot] commented 1 week ago

Deploy Preview for blockbench-dev ready!

Name Link
Latest commit 7bffb0f623fbaeda4b9b596e4df07d4c8e478e77
Latest deploy log https://app.netlify.com/sites/blockbench-dev/deploys/666f19854bcd9d000809e438
Deploy Preview https://deploy-preview-2386--blockbench-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Azagwen commented 1 week ago

At the moment this uses RegEx to isolate and add to the file name before .bbmodel, let me know if I should try another maybe more reliable or proper way

Azagwen commented 1 week ago

an issue I found with the current ways this works; re-saving incrementally from a previous version overwrites versions above it I could fix this by either:

Let me know your thoughts!

Azagwen commented 1 week ago

another thing; this doesn't seem to work on the web version, since there is no project path when editing in a web browser