[kovarex] [2.0.11] Blueprint, selecting new contents causes off by one for rails.
Posted: Sun Oct 27, 2024 3:32 pm
Expected behaviour: When selecting new contents for a blueprint, the blueprint should paste as selected.
Reproduction:
1) Make a blueprint with a rail and a roboport directly to the right of the rail.
2) Make a blueprint and set snap to all odd values. (e.g. 1,1,1,1)
3) Save the blueprint. (When pasting it works as expected.)
4) Edit the blueprint and select new contents
5) Select exactly the same contents.
6) Save the blueprint
7) Try to paste and see the rail and the roboport overlap.
The bug is not sensitive to it being an actual roboport, any general object can be used. It is sensitive to setting all even 'Snap to grid' values.
Ref.: 117529
Reproduction:
1) Make a blueprint with a rail and a roboport directly to the right of the rail.
2) Make a blueprint and set snap to all odd values. (e.g. 1,1,1,1)
3) Save the blueprint. (When pasting it works as expected.)
4) Edit the blueprint and select new contents
5) Select exactly the same contents.
6) Save the blueprint
7) Try to paste and see the rail and the roboport overlap.
The bug is not sensitive to it being an actual roboport, any general object can be used. It is sensitive to setting all even 'Snap to grid' values.
Ref.: 117529