metauni / metaboard

Multiplayer drawing boards for sharing knowledge in Roblox.
Mozilla Public License 2.0
29 stars 6 forks source link

Undo and erase do not work properly on persistent boards #11

Closed dmurfet closed 2 years ago

dmurfet commented 2 years ago

If you load a persistent board, write on it and then use the erase tool (or also Undo, I think, but I didn't try) then it will potentially erase the wrong lines. There is an obvious reason for this: the code isn't persisting the Drawing.CurveIndexOf[CanvasState.EquippedBoard]) so when the board makes new curves it has the wrong index.

dmurfet commented 2 years ago

Fixed in v0.3.1