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

Bugs which we just recently fixed in our development version and will reach you in the next release.
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 661 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 585 times
The weird shadow that the OP mentioned.
The weird shadow that the OP mentioned.
biochamber-glitch-shadow.png (470.22 KiB) Viewed 585 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: 3078
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.10] Graphics bug mirroring biochamber

Post by boskid »

Muche
Fast Inserter
Fast Inserter
Posts: 245
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: 946
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: 5371
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 for the next release”