geforkt von Mirrors/FastAsyncWorldEdit
Uses setDirection
SweepBrush.java should be correct
Dieser Commit ist enthalten in:
Ursprung
73d70527f3
Commit
c725dd0b18
@ -85,14 +85,16 @@ public class SweepBrush implements Brush, ResettableTool {
|
||||
Clipboard clipboard = holder.getClipboard();
|
||||
|
||||
BlockVector3 dimensions = clipboard.getDimensions();
|
||||
AffineTransform transform = new AffineTransform();
|
||||
if (dimensions.getBlockX() > dimensions.getBlockZ()) {
|
||||
transform = transform.rotateY(90);
|
||||
}
|
||||
double quality = Math.max(dimensions.getBlockX(), dimensions.getBlockZ());
|
||||
|
||||
AffineTransform transform = new AffineTransform();
|
||||
|
||||
ClipboardSpline spline = new ClipboardSpline(editSession, holder, interpol, transform, nodes.size());
|
||||
|
||||
if (dimensions.getBlockX() > dimensions.getBlockZ()) {
|
||||
spline.setDirection(Vector2.at(0, 1));
|
||||
}
|
||||
|
||||
switch (copies) {
|
||||
case 1: {
|
||||
spline.pastePosition(0D);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren