Skip to content

Commit

Permalink
Fix entities double transformation
Browse files Browse the repository at this point in the history
tested with commands stack,copy,rotate,paste
1. //stack 3 up (checked field "repetitions")
2. //copy -e //rotate 45 //rotate 45 //paste (checked transformation)
  • Loading branch information
Qveshn committed May 19, 2018
1 parent f67f2ed commit 6a8ff1f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 6a8ff1f

Please sign in to comment.