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 tests in #6805 #7050

Merged
merged 4 commits into from
Sep 19, 2018
Merged

Fix tests in #6805 #7050

merged 4 commits into from
Sep 19, 2018

Conversation

OmarShehata
Copy link
Contributor

This fixes the failing tests from #6805 (comment).

@ggetz let me know how this looks. The new expectation is just that the rendered model looks different than before rendering. If it can load those 3 models without crashing it should at least guarantee that the spec gloss code still works when textures are provided vs just a base color etc.

@cesium-concierge
Copy link

Thanks for the pull request @OmarShehata!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

Copy link
Contributor

@ggetz ggetz left a comment

Choose a reason for hiding this comment

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

Besides that style comment, everything looks good. Thanks @OmarShehata!

});
});

it('renders with the KHR_materials_pbrSpecularGlossiness extension when no textures are found', function() {
return loadModel(boomBoxPbrSpecularGlossinessNoTextureUrl).then(function(model) {
model.show = false;
model.zoomTo(2);
Copy link
Contributor

Choose a reason for hiding this comment

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

@OmarShehata
Copy link
Contributor Author

Should be good now, thanks for the quick review @ggetz !

@ggetz ggetz merged commit c0eaf28 into CesiumGS:gltf-update-pipeline Sep 19, 2018
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