diff --git a/DESCRIPTION b/DESCRIPTION index ed081454..fd1b7a2c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: rayshader Type: Package Title: Create Maps and Visualize Data in 2D and 3D -Version: 0.38.0 -Date: 2024-03-28 +Version: 0.38.1 +Date: 2024-05-10 Authors@R: person("Tyler", "Morgan-Wall", email = "tylermw@gmail.com",role = c("aut", "cph", "cre"), comment = c(ORCID = "0000-0002-3131-3814")) diff --git a/R/render_polygons.R b/R/render_polygons.R index abfd0d9c..cc0ffafd 100644 --- a/R/render_polygons.R +++ b/R/render_polygons.R @@ -123,7 +123,7 @@ render_polygons = function(polygon, extent, color = "red", top = 1, bottom = NA mesh = rayrender::extruded_polygon(polygon[i,],top=top,bottom=bottom, data_column_top=data_column_top, data_column_bottom=data_column_bottom, - scale_data=scale_data,holes=holes)$mesh_info[[1]] + scale_data=scale_data,holes=holes)$shape_info[[1]]$mesh_info[[1]] mesh_obj = rgl::mesh3d(vertices=c(t(mesh$vertices)), triangles =c(t(mesh$indices))+1) vertex_list[[i]] = mesh_obj