From f8a859c7442ff5668c81ac52da0cf288d4394a2f Mon Sep 17 00:00:00 2001 From: markw65 Date: Tue, 10 May 2022 14:05:27 -0700 Subject: [PATCH] More code review fixes --- Apps/Sandcastle/gallery/Manually Controlled Animation.html | 2 +- .../ModelExperimentalAnimationCollectionSpec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Apps/Sandcastle/gallery/Manually Controlled Animation.html b/Apps/Sandcastle/gallery/Manually Controlled Animation.html index dfb94c8c4329..37ba2255ec4c 100644 --- a/Apps/Sandcastle/gallery/Manually Controlled Animation.html +++ b/Apps/Sandcastle/gallery/Manually Controlled Animation.html @@ -154,7 +154,7 @@ }); }); viewer.trackedEntity = modelLabel; - modelLabel.viewFrom = new Cesium.Cartesian3(-20.0, -7.0, 4.0); + modelLabel.viewFrom = new Cesium.Cartesian3(-30.0, -10.0, 10.0); //Sandcastle_End Sandcastle.finishedLoading(); } diff --git a/Specs/Scene/ModelExperimental/ModelExperimentalAnimationCollectionSpec.js b/Specs/Scene/ModelExperimental/ModelExperimentalAnimationCollectionSpec.js index 93cd7da979f5..4b597e9c797e 100644 --- a/Specs/Scene/ModelExperimental/ModelExperimentalAnimationCollectionSpec.js +++ b/Specs/Scene/ModelExperimental/ModelExperimentalAnimationCollectionSpec.js @@ -647,7 +647,7 @@ describe("Scene/ModelExperimental/ModelExperimentalAnimationCollection", functio // no update because scene time didn't change scene.renderForSpecs(JulianDate.addSeconds(time, 2.0, scratchJulianDate)); animationTime = 0.3; - scene.renderForSpecs(JulianDate.addSeconds(time, 3.0, new JulianDate())); + scene.renderForSpecs(JulianDate.addSeconds(time, 3.0, scratchJulianDate)); expect(spyUpdate.calls.count()).toEqual(3); expect(spyUpdate.calls.argsFor(0)[2]).toEqualEpsilon(