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.
[0.15.10] More weirdness with camera.zoom and .surface_index
-
- Inserter
- Posts: 37
- Joined: Sun Jul 17, 2016 9:05 pm
- Contact:
[0.15.10] More weirdness with camera.zoom and .surface_index
- Attachments
-
- Factorissimo2_2.1.5.zip
- Retail version
- (3.04 MiB) Downloaded 147 times
-
- WeirdCamera2.zip
- Savefile
- (929.4 KiB) Downloaded 138 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.
Re: [0.15.10] More weirdness with camera.zoom and .surface_index
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.