GTNewHorizons / worldedit-gtnh

Other
9 stars 6 forks source link

Fix flipping #3

Open gtosh4 opened 8 months ago

gtosh4 commented 8 months ago

Flipping microblocks or AC blocks doesn't do the right transformations

benjamin-kirkbride commented 3 months ago

Some examples to help.

Starting with a red and blue notch, and I am facing west: image

I then run //flip west then //paste: image The block relative to where I am standing have been flipped, but the orientation of the notches is incorrect.

Compare to the expected behavior with two full blocks: image

Note how not only did the reference point flip, but the blocks themselves were mirrored relative to eachother.

Same issue with //flip north and //flip up (I stepped a block to the side each time to paste, as flipping North doesn't move the paste reference point): FLIP NORTH image

FLIP UP image

The issue with rotating is somewhat surprising; it works for 90 and 270, but not 180 (note that there should never be red pointing towards the center). image

Note I ran //rotate 90 followed by //paste 3 times to achieve this, never //rotate 180.

The results of the rotate are surprising because I'm not sure 90 and 270 work but 180 and flipping in all directions don't. It does give me hope that there is a simple fix though :)

benjamin-kirkbride commented 3 months ago

possibly related to #2

benjamin-kirkbride commented 3 months ago

Carpenters blocks seem to rotate correctly.