tweak sweep brush y coordinate

This commit is contained in:
Jesse Boyd 2018-02-09 12:58:37 +11:00
parent 598fcb8fcd
commit 147c1c87fe
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -70,7 +70,8 @@ public class ClipboardSpline extends Spline {
this.originalOrigin = clipboard.getOrigin(); this.originalOrigin = clipboard.getOrigin();
Region region = clipboard.getRegion(); Region region = clipboard.getRegion();
center = region.getCenter().setY(region.getMinimumPoint().getY()); Vector origin = clipboard.getOrigin();
center = region.getCenter().setY(origin.getY() - 1);
this.centerOffset = center.subtract(center.round()); this.centerOffset = center.subtract(center.round());
this.center = center.subtract(centerOffset); this.center = center.subtract(centerOffset);
this.transform = transform; this.transform = transform;