Fix potree bug when info.srs is undefined

Causing point cloud to not be displayed for certain data sets
pull/1040/head
Owen Kaluza 2021-08-25 12:39:47 +10:00
rodzic c140cbf2db
commit 86d7c5a1a4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -56837,7 +56837,7 @@
this.projection = info.srs.authority + ':' + info.srs.horizontal;
}
if (info.srs.wkt) {
if (info.srs && info.srs.wkt) {
if (!this.projection) this.projection = info.srs.wkt;
else this.fallbackProjection = info.srs.wkt;
}