Ghoulboy78 / Scarpet-edit

A useful tool for developing decorative builds etc in scarpet.
Creative Commons Zero v1.0 Universal
22 stars 4 forks source link

Add a solution for multiple block setting #95

Closed Ghoulboy78 closed 2 years ago

Ghoulboy78 commented 2 years ago

Many times a function will set a single block multiple times, resulting in weirdness with the undo function, cos it only replaces the last instance, which causes issues. Now I can off the bat think of a solution, which is similar to the one I used in shapes.scl, which is basically for set_blockto only set the points, and then for add_to_historyto actually set them all.

Benefits of this system:

Disadvantages (I can only see 1 atm, but I'm sure more will pop up):

Ghoulboy78 commented 2 years ago

Oh wait, I forgot that we already came up with a solution, lol...