Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BufferGeometry computeBoundingSphere() with morph #16237

Merged
merged 1 commit into from
Apr 14, 2019

Conversation

takahirox
Copy link
Collaborator

This PR fixes a bug in BufferGeometry.computeBoundingSphere() with morph.

@@ -716,7 +716,7 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy

for ( var j = 0, jl = morphAttribute.count; j < jl; j ++ ) {

vector.fromBufferAttribute( morphAttribute, i );
vector.fromBufferAttribute( morphAttribute, j );
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not i, but j.

@mrdoob mrdoob added this to the r104 milestone Apr 14, 2019
@mrdoob mrdoob merged commit 6870a2d into mrdoob:dev Apr 14, 2019
@mrdoob
Copy link
Owner

mrdoob commented Apr 14, 2019

Ops! Thanks!

@mrdoob
Copy link
Owner

mrdoob commented Apr 14, 2019

/cc @Mugen87

@takahirox takahirox deleted the FixComputeBoundingSphere branch April 14, 2019 12:39
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.

2 participants