Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetbrulee committed Sep 17, 2024
1 parent 2ca123f commit 48aeb27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MinimumBoundingBox/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ selectionManager.setSelectionChangeCallback(() => {
selectionManager.selectedPoints.map((p) => p.position)
);
dummy.position.copy(centroid);
previousDummyPosition.copy(centroid);
controlsManager.transformControls.attach(dummy);
} else {
// 无选择,分离 TransformControls
Expand Down

0 comments on commit 48aeb27

Please sign in to comment.