You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if I was just unlucky, or if this fix is 100% but seems to solve my probs:
I added the 'if' statement after the assert in (MKPolygon *) polygonWithGPCPolygon:(gpc_polygon *) gpcPolygon interiorPolygons:(NSArray *)interiorPolygons , like so
NSAssert( gpcPolygon != NULL, @"attempt to create path from NULL gpcPolygon");
if (gpcPolygon->contour == NULL) {
return nil;
}
The text was updated successfully, but these errors were encountered:
Thank you very much for finding this issue. Can you provide me an example to reproduce this error. I am trying to see if the error is in polygonWithGPCPolygon or when I convert a MKPolygon to a gpcPolygon. Thanks.
Not sure if I was just unlucky, or if this fix is 100% but seems to solve my probs:
I added the 'if' statement after the assert in (MKPolygon *) polygonWithGPCPolygon:(gpc_polygon *) gpcPolygon interiorPolygons:(NSArray *)interiorPolygons , like so
NSAssert( gpcPolygon != NULL, @"attempt to create path from NULL gpcPolygon");
The text was updated successfully, but these errors were encountered: