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

Clean up GLTFLoader #12733

Merged
merged 1 commit into from
Nov 24, 2017
Merged

Clean up GLTFLoader #12733

merged 1 commit into from
Nov 24, 2017

Conversation

takahirox
Copy link
Collaborator

This PR cleans up _each() function of GLTFLoader a bit.

  • The third argument thisObj of _each() isn't used. We can remove.
  • In callback functions passed to _each(), this isn't used. We can replace callback.call( this, ... ) with callback( ... ).

/cc @donmccurdy

@mrdoob mrdoob merged commit c3a3b2d into mrdoob:dev Nov 24, 2017
@mrdoob
Copy link
Owner

mrdoob commented Nov 24, 2017

Thanks!

@takahirox takahirox deleted the gltfCleanUp branch November 24, 2017 03:38
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.

3 participants