//sel poly now keeps the previous selection, converting its outline into a polygon if necessary.

This loses some blocks, if anyone cares
This commit is contained in:
TomyLobo
2011-12-27 12:07:11 +01:00
parent 76fd63d64b
commit 7d503fdc5c
4 changed files with 45 additions and 6 deletions

View File

@ -616,7 +616,7 @@ public class SelectionCommands {
selector = new ExtendingCuboidRegionSelector(oldSelector);
player.print("Cuboid: left click for a starting point, right click to extend");
} else if (typeName.equalsIgnoreCase("poly")) {
selector = new Polygonal2DRegionSelector(world);
selector = new Polygonal2DRegionSelector(oldSelector);
player.print("2D polygon selector: Left/right click to add a point.");
} else {
player.printError("Only 'cuboid', 'extend' and 'poly' are accepted.");