Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions packages/Main/src/Layer/TiledGeometryLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,18 +430,13 @@
// TODO: pendingSubdivision mechanism is fragile, get rid of it
node.pendingSubdivision = true;

const command = {
/* mandatory */
view: context.view,
requester: node,
layer: this,
priority: 10000,
/* specific params */
extentsSource: extents,
redraw: false,
};

return context.scheduler.execute(command).then((children) => {
const promises = [];

for (const extent of extents) {
promises.push(this.convert(node, extent));
}

Check warning on line 438 in packages/Main/src/Layer/TiledGeometryLayer.js

View workflow job for this annotation

GitHub Actions / Build bundle, check Linter and generate documentation

Trailing spaces not allowed

Check warning on line 438 in packages/Main/src/Layer/TiledGeometryLayer.js

View workflow job for this annotation

GitHub Actions / Build bundle, check Linter and generate documentation

Trailing spaces not allowed

Check warning on line 438 in packages/Main/src/Layer/TiledGeometryLayer.js

View workflow job for this annotation

GitHub Actions / Functional tests

Trailing spaces not allowed
return Promise.all(promises).then((children) => {
for (const child of children) {
node.add(child);
child.updateMatrixWorld(true);
Expand Down
Loading