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

Tile subdivision #2521

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

clementcolin
Copy link

Subdivide tile is an operation that should not be in queue as is it can be blocked by incoming textures of other tile.

It can still be improve by deleting promises (therefore, pending subdivision may be deleted too)

const promises = [];

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can go further and remove the promises chain of this.convert since they are not created synchronously. I'll give it a try

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do it in another PR so we can merge this one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants