Skip to content

Commit

Permalink
[upd] reverse changes in topo dotprops
Browse files Browse the repository at this point in the history
  • Loading branch information
dokato committed May 19, 2021
1 parent ca38583 commit faeab01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dotprops.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ is.dotprops<-function(x) inherits(x,"dotprops")
as.dotprops<-function(x, ...){
if(is.null(x)) return (NULL)
if(!is.dotprops(x)) class(x)=c("dotprops",class(x))
if("topo.dotprops" %in% names(x)) class(x) = union("topo.dotprops", class(x))
if("topo" %in% names(x)) class(x) = union("topo.dotprops", class(x))
if(is.null(colnames(x$points))) colnames(x$points) <-c("X","Y","Z")
x
}
Expand Down

0 comments on commit faeab01

Please sign in to comment.