only post needs render notification on successful tiles
This commit is contained in:
@@ -450,10 +450,10 @@ namespace llmr
|
||||
dispatch_async(dispatch_get_main_queue(), ^(void)
|
||||
{
|
||||
foreground_callback();
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil];
|
||||
});
|
||||
|
||||
if ( ! error)
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil];
|
||||
}];
|
||||
|
||||
task.taskDescription = [@(tile_object->id.z) stringValue];
|
||||
|
||||
Reference in New Issue
Block a user