Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 8, 2023

Fixed #18245.

Description

This PR makes sure the precise mode of Box3.expandByObject() supports the animated state of morphed and skinned meshes which leads to more correct bounding boxes (especially when using setFromObject()).

With this change, the editor only requires a small addition in its animation loop so the selection box reflects the current animation state.

@Mugen87 Mugen87 added this to the r158 milestone Oct 8, 2023
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
649.1 kB (160.9 kB) 649.1 kB (160.9 kB) -16 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
442.5 kB (107.1 kB) 442.4 kB (107.1 kB) -16 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor: Selection box should reflect current animation state

1 participant