blockbench icon indicating copy to clipboard operation
blockbench copied to clipboard

Move Layer in Image Editor changes Texture origin, causing wrong cropping

Open Cubouse opened this issue 1 year ago • 0 comments

What are you trying to do, and what do you expect to happen?

Moving a layer partially off-canvas to only keep one part of the texture, then crop it.

What happens instead?

https://github.com/user-attachments/assets/c5889f3f-78ad-4089-999d-77f1e60a29f3

The texture is not cropped from the top left of the canvas space, but from the top left of the moved layer, including off-canvas pixels.

Parts of the texture that should have been kept are erased (if they fall outside of the new texture size, from the wrong origin; like the egg in the video), and on top of that the layer keeps its offset.

Model format in which the issue occurs

Image Editor

Blockbench variant

Program

Blockbench version

4.10.4

Operating System

W10

Installed Blockbench plugins

N/A

Cubouse avatar Aug 23 '24 01:08 Cubouse