GlassBricks / StagedBlueprintPlanning

The ultimate Factorio mod for advanced blueprint planning.
GNU Lesser General Public License v3.0
10 stars 2 forks source link

feat: Support rotating placed inserters with custom drop/pickup locations #33

Closed Marwes closed 8 months ago

Marwes commented 8 months ago

The fix that was just released only tackled rotation and flipping inserters that were in a blueprint or ghost. Pressing R to rotate an inserter that were already placed in the world still had the issue.

GlassBricks commented 8 months ago

Sorry for the late reply! I've been busy the past few weeks.

The part of the code that handles rotating with R isn't handled here (that only handles blueprinting). Instead see (onEntityRotated, or more generally handleUpdate in project-updates.ts).

Marwes commented 8 months ago

My change touches the handleUpdate code though? It works fine for me.

GlassBricks commented 8 months ago

Ah, sorry, it still looked like the blueprint handling code at first glance.

I'll add tests, then merge this in