[0.17.66] Cloning doesn't preserve the order in which objects were placed.
Posted: Mon Aug 19, 2019 7:13 pm
I was testing fluid flow rate in editor mode and its impact by the direction in which pipes are placed. Currently fluids flow faster if you place the pipes upstream to downstream. This might soon get corrected with the upcoming new fluid mechanics. However I found a related bug. The following is what I did:
In the original setup I observe that there is difference in fluid that flows into the empty tanks as expected. However the same results are not observed in the cloned setup. In fact somewhat opposite is observed. It seems the cloning tool creates the entities in reverse order in which the originals are created. This is usually not a problem except for when one wants to test these weird bugs.
- Placed two storage tanks and filled them with water. One below the other with one tile in between.
- Similarly placed 2 more storage tanks 10 tiles left of the first ones. These are empty.
- Connected the pairs of storage tanks with 10 pipes. Pipes for one of them left to right and the other right to left.
- Cloned this setup.
In the original setup I observe that there is difference in fluid that flows into the empty tanks as expected. However the same results are not observed in the cloned setup. In fact somewhat opposite is observed. It seems the cloning tool creates the entities in reverse order in which the originals are created. This is usually not a problem except for when one wants to test these weird bugs.