Comments (15)
FYI: I've made a we_undo mod: https://github.com/HybridDog/we_undo
from minetest-worldedit.
My mod saves the differences compressed in memory; it does not save the state before and after but only the difference to before (or after in case of redo). A journal list for each player stores the differences for multiple undoing and redoing. When multiple players undo changes at the same positions, the journal for the redo command remembers the current nodes when undo is applied.
e.g. air -> B sets wood -> A sets stone
stone, A undoes -> wood, B undoes -> air, A redoes -> stone, B redoes -> wood
It does not result in the state before undoing; otherwise B's redoing would need to do nothing or be blocked.
from minetest-worldedit.
especially for schematics its very nice to have the undo feature (sadly not working with HybridDogs extention :( ).. i'd love to see this included and optimized into we
from minetest-worldedit.
especially for schematics its very nice to have the undo feature (sadly not working with HybridDogs extention :( ).
I've implemented undoing for //mtschemplace and //load in we_undo by now.
from minetest-worldedit.
I'd like to see this undo feature too. It's almost impossible to get large things right the first try and it's more logical to use //undo than to have to set everything to air. It has been about 7 years since this issue was opened, is this ever going to be added?
from minetest-worldedit.
+1: I also would like to see the undo feature native in this mod.
from minetest-worldedit.
Hi fireglow, I think that's a good idea. Expect to see it in the next version!
from minetest-worldedit.
Cool, I'm looking forward to it :)
from minetest-worldedit.
still waiting :D
from minetest-worldedit.
How would you code a rollback/undo feature ? I was thinking about saving to disk affected areas and keeping a defined number of undo files per player.
from minetest-worldedit.
undo is very important, especially if importing a large schematic and is placed wrong.
from minetest-worldedit.
Minecraftian WorldEdit had an undo/redo feature. I haven't ever checked though what happens when multiple people operate on the same area and perform undoing/redoing like: player A undoes, player B undoes, player A redoes, player B redoes. Will it result in state just before undoing?
Also it's open-source, so maybe a good source to see and learn.
from minetest-worldedit.
Please put @HybridDog s undo mod into we, but it should be improved so it can undo everything
from minetest-worldedit.
It's a very useful functionality. I think it should be included.
from minetest-worldedit.
The undo feature is a must have when using worldedit. I didn't know of the existence of @HybridDog undo mod and it would have saved me multiple times hours of work when building. This feature should be present in worldedit without the need of installing another mod. Hope it will be added soon
from minetest-worldedit.
Related Issues (20)
- Fix lights after placing a schematic HOT 3
- Add command to count different nodes in a selection
- Crash if typing in nonsense mtschemprob values and then getting them
- Please rename //clearobjects HOT 2
- Compatible with MineClone2? HOT 1
- Crash on loading Schem files (5.7.0) HOT 4
- Constant unknown error when loading schematics HOT 6
- //clearobjects not clears objects HOT 1
- Unable to load saved things HOT 7
- Text of signs is not exported / imported with mtschemcreate / mtschemplace HOT 1
- Add WorldEdit GUI to Mineclone2
- Lua error when area is too big HOT 1
- Redefining `//1` and `//2` should clear the previous action for which `//y` is pending
- Q&A: I have an OpenSCAD and Blender model how do I print it into Minetest?
- add a line command HOT 1
- README.md: The link to the Minetest forums does not work HOT 2
- `//shift` is broken
- Think about version support
- `.we.gz` as a schematic format
- Using stack from the GUI: transform.lua:94: attempt to call field 'stack' (a nil value) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minetest-worldedit.