Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
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();
|
Clipboard clipboard = holder.getClipboard();
|
||||||
|
|
||||||
BlockVector3 dimensions = clipboard.getDimensions();
|
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());
|
double quality = Math.max(dimensions.getBlockX(), dimensions.getBlockZ());
|
||||||
|
|
||||||
|
AffineTransform transform = new AffineTransform();
|
||||||
|
|
||||||
ClipboardSpline spline = new ClipboardSpline(editSession, holder, interpol, transform, nodes.size());
|
ClipboardSpline spline = new ClipboardSpline(editSession, holder, interpol, transform, nodes.size());
|
||||||
|
|
||||||
|
if (dimensions.getBlockX() > dimensions.getBlockZ()) {
|
||||||
|
spline.setDirection(Vector2.at(0, 1));
|
||||||
|
}
|
||||||
|
|
||||||
switch (copies) {
|
switch (copies) {
|
||||||
case 1: {
|
case 1: {
|
||||||
spline.pastePosition(0D);
|
spline.pastePosition(0D);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren