[posila] [2.0.10] Graphics bug mirroring biochamber (MR)

This subforum contains all the issues which we already resolved.
DerNickname01
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Aug 21, 2020 8:34 am
Contact:

[posila] [2.0.10] Graphics bug mirroring biochamber (MR)

Post by DerNickname01 »

I mirrored a biochamber and weird shadows appear around it. Also one of the input pipes looks weird.
10-25-2024, 13-46-45.png
10-25-2024, 13-46-45.png (867.1 KiB) Viewed 1414 times
Kidninja
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Nov 02, 2024 6:32 pm
Contact:

Re: [2.0.10] Graphics bug mirroring biochamber

Post by Kidninja »

I'm getting the same bug, it looks like graphics for the two fluid inputs are swapped when you mirror the biochamber. The simplest setup I found for reproduction was to just place a bio-chamber, set it to a recipe that has fluid inputs (I used the "Rocket fuel from jelly" recipe, so you don't even need one with unique inputs), and mirror it (using either mirror button). I encountered it when I wanted to mirror a setup I just planned, and ended up with weird shadow
s.
Left is a normal biochamber (set to the rocket fuel from jelly recipe), while on the right is one that has been mirrored after setting the recipe.
Left is a normal biochamber (set to the rocket fuel from jelly recipe), while on the right is one that has been mirrored after setting the recipe.
biochamber-glitch.png (381.17 KiB) Viewed 1338 times
The weird shadow that the OP mentioned.
The weird shadow that the OP mentioned.
biochamber-glitch-shadow.png (470.22 KiB) Viewed 1338 times
This visual glitch of input pipe graphics swapping seems to occur in all orientations, but is most noticeable when the pipes are facing north, as what is normally the north-eastern pipe has quite a large model that renders over the biochamber. There are also weird shadows that are disconnected from the biochamber or its own shadow.

Specific reproduction steps:
  1. Place a biochamber
  2. Set the recipe to something that uses fluid inputs
  3. Use the horizontal mirror hotkey (H by default) to mirror it horizontally
  4. observe weird graphics/shadows
Vertically mirroring it also produces the glitch, and it will retain its glitched state even if rotated or blueprinted, and will only be un-glitched by mirroring it again (which will switch the fluid inputs back to default, possibly removing the entire point of mirroring it).
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3273
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.10] Graphics bug mirroring biochamber

Post by boskid »

Muche
Filter Inserter
Filter Inserter
Posts: 398
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

Re: [2.0.10] Graphics bug mirroring biochamber (MR)

Post by Muche »

Ref 122187.
robot256
Filter Inserter
Filter Inserter
Posts: 995
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.10] Graphics bug mirroring biochamber (MR)

Post by robot256 »

This is probably related to something observed my some mod makers. The pipe cover graphics are attached to the pipe connection prototype, which becomes connected to the recipe. Flipping the assembler moves the pipe connections, and moves the pipe covers with them. What the user/modder expects is for flipping to reassign which recipe entry goes to which pipe connection, and for the pipe connection itself to stay in one place with its pipe cover. I understand that would have some other consequences of messing up indexing. So you really do need to dynamically remap the pipe covers to the "new" pipe connection that is now at the coordinates of that pipe cover.
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [2.0.10] Graphics bug mirroring biochamber (MR)

Post by posila »

Thanks for the report.

Fixed for 2.0.24 by adding FluidBox::mirrored_pipe_picture and mirrored_pipe_picture_frozen.
Post Reply

Return to “Resolved Problems and Bugs”