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

Add support for glTF EXT_texture_webp #7486

Merged
merged 14 commits into from
Jan 31, 2019
4 changes: 3 additions & 1 deletion Specs/Scene/SceneSpec.js
Original file line number Diff line number Diff line change
@@ -1099,9 +1099,11 @@ defineSuite([
var spyListener = jasmine.createSpy('listener');
s.camera.moveEnd.addEventListener(spyListener);

s.cameraEventWaitTime = 0.0;
s.cameraEventWaitTime = -1.0;
s.camera.moveLeft();
// The first render will trigger the moveStart event.
s.render();
// The second will trigger the moveEnd.
s.render();

expect(spyListener.calls.count()).toBe(1);