Skip to content

Commit

Permalink
Fix ellipsoid and cylinder regions not fully clearing (#2413)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeranny authored Oct 16, 2023
1 parent b7bc56e commit 496407b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ public void learnChanges() {
@Override
public void clear() {
region = new CylinderRegion(region.getWorld());
selectedCenter = false;
selectedRadius = false;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ public void learnChanges() {
public void clear() {
region.setCenter(BlockVector3.ZERO);
region.setRadius(Vector3.ZERO);
started = false;
selectedRadius = false;
}

@Override
Expand Down

0 comments on commit 496407b

Please sign in to comment.