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 remove normals #287

Merged
merged 2 commits into from
Jun 6, 2017
Merged

Fix remove normals #287

merged 2 commits into from
Jun 6, 2017

Conversation

lilleyse
Copy link
Contributor

@lilleyse lilleyse commented Jun 5, 2017

Fixes #280

@shehzan10 can you check that this also fixes your problem?

@shehzan10
Copy link
Member

Combined with master (for the a__batchid fix), this fixes the problem I had faced.

* @returns {Object} The glTF asset with removed normals.
*
* @see addPipelineExtras
* @see loadGltfUris
*/
function removeNormals(gltf) {
var materials = gltf.materials;
function removeNormals(gltf, options) {
Copy link
Member

Choose a reason for hiding this comment

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

@lilleyse CI is failing because options is unused.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed now.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 93.842% when pulling 8484f9b on fix-remove-normals into 6a8239e on master.

@shehzan10 shehzan10 merged commit d64e179 into master Jun 6, 2017
@shehzan10 shehzan10 deleted the fix-remove-normals branch June 6, 2017 13:47
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.

RemoveUnusedProperties in removePrimitiveAttributes tries to remove undefined technique
3 participants