*Also check if identity
This commit is contained in:
parent
36a140e61d
commit
a7cd6c8715
@ -126,14 +126,14 @@ public class Schematic {
|
|||||||
}
|
}
|
||||||
Extent extent = clipboard;
|
Extent extent = clipboard;
|
||||||
Mask sourceMask = editSession.getSourceMask();
|
Mask sourceMask = editSession.getSourceMask();
|
||||||
if (transform != null) {
|
if (transform != null && !transform.isIdentity()) {
|
||||||
extent = new BlockTransformExtent(clipboard, transform, world.getWorldData().getBlockRegistry());
|
extent = new BlockTransformExtent(clipboard, transform, world.getWorldData().getBlockRegistry());
|
||||||
} else if (sourceMask == null) {
|
} else if (sourceMask == null) {
|
||||||
paste(editSession, to, pasteAir);
|
paste(editSession, to, pasteAir);
|
||||||
return editSession;
|
return editSession;
|
||||||
}
|
}
|
||||||
ForwardExtentCopy copy = new ForwardExtentCopy(extent, clipboard.getRegion(), clipboard.getOrigin(), editSession, to);
|
ForwardExtentCopy copy = new ForwardExtentCopy(extent, clipboard.getRegion(), clipboard.getOrigin(), editSession, to);
|
||||||
if (transform != null) {
|
if (transform != null && !transform.isIdentity()) {
|
||||||
copy.setTransform(transform);
|
copy.setTransform(transform);
|
||||||
}
|
}
|
||||||
if (sourceMask != null) {
|
if (sourceMask != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user