Permalink
Browse files

Merge pull request #416 from Qveshn/fix/paste-double-transformation

Fix entities double transformation copy-rotate-paste and stack
  • Loading branch information...
me4502 committed May 27, 2018
2 parents f67f2ed + 6a8ff1f commit 6e22a8a4f0ccef827b8c3d7e09a0c46424db6d80
@@ -243,6 +243,8 @@ public Operation resume(RunContext run) throws WorldEditException {
if (currentTransform == null) {
currentTransform = transform;
} else {
currentTransform = currentTransform.combine(transform);
}
ExtentBlockCopy blockCopy = new ExtentBlockCopy(source, from, destination, to, currentTransform);
@@ -251,7 +253,6 @@ public Operation resume(RunContext run) throws WorldEditException {
RegionVisitor blockVisitor = new RegionVisitor(region, function);
lastVisitor = blockVisitor;
currentTransform = currentTransform.combine(transform);
if (copyingEntities) {
ExtentEntityCopy entityCopy = new ExtentEntityCopy(from, destination, to, currentTransform);

0 comments on commit 6e22a8a

Please sign in to comment.