[1.1.99] Inconsistent belt / loader snapping

This subforum contains all the issues which we already resolved.
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 273
Joined: Thu Jul 05, 2018 9:48 am
Contact:

[1.1.99] Inconsistent belt / loader snapping

Post by KiwiHawk »

Belts don't consistently snap to loaders when placing a blueprint.

Mods required: None
  • Create a blueprint of a loader connecting to a belt at 90 degrees
  • Hold the blueprint in cursor so you can see the preview
  • The input side of the belt should snap to the loader but doesn't
  • Rotate the blueprint
  • Belt will now snap to the loader
  • Rotate the blueprint again
  • After the fourth rotation (back to the starting orientation) the belt will again not snap
NotSnapped.png
NotSnapped.png (257.99 KiB) Viewed 2416 times
Snapped.png
Snapped.png (225.56 KiB) Viewed 2416 times
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3057
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.99] Inconsistent belt / loader snapping

Post by boskid »

Thanks for the report. This issue was already fixed for 2.0 but given a fix is 1 line of code i decided to backport this fix and so it is now fixed for 1.1.100. It is an issue of BuildingRenderer drawing preview as it was changing entities position without notifying entities they had position changed. This notification was important for loader because it uses it to update tile position where it has its belt piece. When blueprint was rotated this tile position was updated during direction change and the issue would dissapear.
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 273
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Re: [1.1.99] Inconsistent belt / loader snapping

Post by KiwiHawk »

Amazing, thank you!
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
Post Reply

Return to “Resolved Problems and Bugs”