Skip to content

Commit

Permalink
fix problem with non-holes plotting improperly
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Jul 13, 2016
1 parent 2365d7a commit 8025be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fortify-SpatialPolygons.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# adapted from

fortify_pg_fixfeature <- function(df) {
ringstarts <- which(!duplicated(df$group) & df$hole)
ringstarts <- which(!duplicated(df$group))
if(length(ringstarts) < 2) {
return(df)
} else {
Expand Down

0 comments on commit 8025be4

Please sign in to comment.