mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Fix ellipsoid and cylinder regions not fully clearing (#2413)
This commit is contained in:
parent
b7bc56e8d3
commit
496407b656
@ -247,6 +247,8 @@ public void learnChanges() {
|
||||
@Override
|
||||
public void clear() {
|
||||
region = new CylinderRegion(region.getWorld());
|
||||
selectedCenter = false;
|
||||
selectedRadius = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -227,6 +227,8 @@ public void learnChanges() {
|
||||
public void clear() {
|
||||
region.setCenter(BlockVector3.ZERO);
|
||||
region.setRadius(Vector3.ZERO);
|
||||
started = false;
|
||||
selectedRadius = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user