Page 1 of 1

[0.15.10] More weirdness with camera.zoom and .surface_index

Posted: Mon May 15, 2017 6:15 pm
by MagmaMcFry
Follow-up to this bug.

When you write to a camera's .surface_index parameter, the camera may still show the entities of the old surface above the tiles of the new surface. This may have something to do with writing to the zoom level as well.

To reproduce: In the attached save, hover quickly between two factory buildings. Changing your GUI scale will affect which pairs of factory buildings show this error!

Here's the relevant mod code.

Re: [0.15.10] More weirdness with camera.zoom and .surface_index

Posted: Mon May 15, 2017 8:44 pm
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.15.