[2.0.72] "camera" gui element interacts incorrectly with selection tools

Post your bugs and problems so we can fix them.
Gorfiend7
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 16, 2022 5:41 pm
Contact:

[2.0.72] "camera" gui element interacts incorrectly with selection tools

Post by Gorfiend7 »

When you use a selection tool (such as the destruction planner) and have an active "camera" gui element, that camera will show its own "selection" area that is different from the actually selected area.
camera-destruction-planner.png
camera-destruction-planner.png (5.66 MiB) Viewed 92 times
In this screenshot, I clicked to the right of the train and dragged up-left - but the "Cubecam" version of the selection area is as if I dragged up-right. It appears the selection shown in the camera gui uses the same world-based start point, but determines the end point by using the current mouse location relative to the camera gui itself.

If the camera is looking somewhere far from your current screen, it's possible this can cause significant FPS drops due to the selection preview in the camera being huge, as shown in the following screenshot (note the "Gui render preparation" taking 29.165)
camera-destruction-planner-2.png
camera-destruction-planner-2.png (6.82 MiB) Viewed 92 times
This also happens with the camera preview shown when hovering over a map pin.

I would expect these alternate camera views should simply not show these selection previews. Or maybe they could be updated to reflect the true selection area instead of their own version.
Attachments
factorio-current.log
(17.06 KiB) Downloaded 4 times
Post Reply

Return to “Bug Reports”