-
Notifications
You must be signed in to change notification settings - Fork 303
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
base: master
Are you sure you want to change the base?
Tile subdivision #2521
Conversation
ae3b61b
to
7d21a95
Compare
const promises = []; | ||
|
||
for (const extent of extents) { | ||
promises.push(this.convert(node, extent)); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 :)
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)