Skip to content

Commit

Permalink
Fix spurious merge changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeshurun Hembd committed Feb 10, 2025
1 parent c60a29b commit a0e2657
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/ResourceLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ResourceLoader.prototype.getError = function (errorMessage, error) {

const runtimeError = new RuntimeError(errorMessage);
if (defined(error)) {
runtimeError.stack = error.stack;
runtimeError.stack = `Original stack:\n${error.stack}\nHandler stack:\n${runtimeError.stack}`;
}

return runtimeError;
Expand Down
18 changes: 9 additions & 9 deletions packages/engine/Specs/Scene/ImplicitSubtreeSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,15 @@ describe("Scene/ImplicitSubtree", function () {
}).toThrowDeveloperError();
});

// it("throws without implicitTileset", function () {
// expect(function () {
// return new ImplicitSubtree(
// subtreeResource,
// undefined,
// quadtreeCoordinates
// );
// }).toThrowDeveloperError();
// });
it("throws without implicitTileset", function () {
expect(function () {
return new ImplicitSubtree(
subtreeResource,
undefined,
quadtreeCoordinates,
);
}).toThrowDeveloperError();
});

it("throws without implicitCoordinates", function () {
expect(function () {
Expand Down
4 changes: 2 additions & 2 deletions packages/engine/Specs/Scene/SceneSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ describe(
});
});

it("renders a globe with SlopeRamp", function () {
it("renders a globe with a SlopeRamp", function () {
s.globe = new Globe(Ellipsoid.UNIT_SPHERE);
s.globe.material = Material.fromType("SlopeRamp");
s.camera.position = new Cartesian3(1.02, 0.0, 0.0);
Expand Down Expand Up @@ -1224,7 +1224,7 @@ describe(
});
});

it("renders a globe with ElevationRamp", function () {
it("renders a globe with a ElevationRamp", function () {
s.globe = new Globe(Ellipsoid.UNIT_SPHERE);
s.globe.material = Material.fromType("ElevationRamp");
s.camera.position = new Cartesian3(1.02, 0.0, 0.0);
Expand Down

0 comments on commit a0e2657

Please sign in to comment.