From 826e6bae7558cb49d223a53c6c044095bdefc7d3 Mon Sep 17 00:00:00 2001 From: Oscar Martinez Rubi Date: Wed, 24 Feb 2016 16:15:37 +0100 Subject: [PATCH] Fix pointAttributes --- src/loader/GreyhoundBinaryLoader.js | 2 +- src/loader/GreyhoundLoader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/loader/GreyhoundBinaryLoader.js b/src/loader/GreyhoundBinaryLoader.js index 2947d304..d3a151a0 100644 --- a/src/loader/GreyhoundBinaryLoader.js +++ b/src/loader/GreyhoundBinaryLoader.js @@ -36,7 +36,7 @@ Potree.GreyhoundBinaryLoader.prototype.load = function(node){ try{ xhr.send(null); }catch(e){ - console.log("fehler beim laden der punktwolke: " + e); + console.log("error loading point cloud: " + e); } }; diff --git a/src/loader/GreyhoundLoader.js b/src/loader/GreyhoundLoader.js index d1b4653f..54beeced 100644 --- a/src/loader/GreyhoundLoader.js +++ b/src/loader/GreyhoundLoader.js @@ -97,7 +97,7 @@ Potree.GreyhoundLoader.load = function load(url, callback) { pgg.scale = SCALE; //greyhoundInfo.scale; pgg.loader = new Potree.GreyhoundBinaryLoader(version, boundingBox, pgg.scale); - + pgg.pointAttributes = new Potree.PointAttributes(pgg.pointAttributes); var nodes = {};