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

This subforum contains all the issues which we already resolved.
Post Reply
MagmaMcFry
Inserter
Inserter
Posts: 37
Joined: Sun Jul 17, 2016 9:05 pm
Contact:

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

Post 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.
Attachments
Factorissimo2_2.1.5.zip
Retail version
(3.04 MiB) Downloaded 101 times
WeirdCamera2.zip
Savefile
(929.4 KiB) Downloaded 103 times
I don't visit the forum very often. If you want to contact me, message me on the mod portal for Factorissimo-related things, or on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”