Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ggetz committed Jan 16, 2024
1 parent 7237b45 commit 8b2f4bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/engine/Source/DataSources/PolylineGeometryUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,8 @@ function getLine(dynamicGeometryUpdater) {
}

const primitives = dynamicGeometryUpdater._primitives;
const polylineCollectionId = dynamicGeometryUpdater._geometryUpdater._scene.id + primitives._guid;
const polylineCollectionId =
dynamicGeometryUpdater._geometryUpdater._scene.id + primitives._guid;
let polylineCollection = polylineCollections[polylineCollectionId];
if (!defined(polylineCollection) || polylineCollection.isDestroyed()) {
polylineCollection = new PolylineCollection();
Expand Down Expand Up @@ -869,7 +870,8 @@ DynamicGeometryUpdater.prototype.isDestroyed = function () {

DynamicGeometryUpdater.prototype.destroy = function () {
const geometryUpdater = this._geometryUpdater;
const polylineCollectionId = geometryUpdater._scene.id + this._primitives._guid;
const polylineCollectionId =
geometryUpdater._scene.id + this._primitives._guid;
const polylineCollection = polylineCollections[polylineCollectionId];
if (defined(polylineCollection)) {
polylineCollection.remove(this._line);
Expand Down

0 comments on commit 8b2f4bb

Please sign in to comment.