joshwcomeau / beatmapper

A 3D editor for creating Beat Saber maps
https://beatmapper.app
MIT License
272 stars 60 forks source link

Pastes break future lighting events #101

Open murapix opened 4 years ago

murapix commented 4 years ago

If you create a set of lights, copy them, then paste them with some overlap, the old light events in the new region will fail to render in the app. Cutting and pasting the entire section fixes this, but is of course a manual workaround that shouldn't exist.

Visual example of how it acts:

If you start with this (4 sets of on/off events) image and paste them just a bit offset like this (now it's 8 sets of on/off events, at double the speed) image then when you play back the lights, these are the only ones that render (the second through fourth of the original on/off events just stop working) image

Edit: Happened upon more discoveries about this, turns out pasting light events will screw over most existing light events after the start of the pasted section, not just in the overlapping area. Does seem to mainly be an editor issue, as cut/pasting shows the events are still actually there, but it's annoying nonetheless.