Skip to content
Permalink
Browse files
fix ept loader
  • Loading branch information
potree committed Jan 24, 2021
1 parent 080334e commit 7787482
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
@@ -190,7 +190,7 @@ <h1>VR</h1>
</a>
</td><td>
<a href="http://potree.org/potree/examples/vr_lion.html" target="_blank">
<img src="examples/thumbnails/lion.png.jpg" width="100%" />
<img src="examples/thumbnails/lion.png" width="100%" />
</a>
</td><td>
<a href="http://potree.org/potree/examples/vr_dechen_cave.html" target="_blank">
@@ -41,9 +41,13 @@ let workers = {
"src/workers/EptLaszipDecoderWorker.js"
],
"EptBinaryDecoderWorker": [
"libs/ept/ParseBuffer.js",
"src/workers/EptBinaryDecoderWorker.js"
],
"EptZstandardDecoderWorker": [
"src/workers/EptZstandardDecoder_preamble.js",
'libs/zstd-codec/bundle.js',
"libs/ept/ParseBuffer.js",
"src/workers/EptZstandardDecoderWorker.js"
]
};
@@ -1,4 +1,4 @@
importScripts('/libs/ept/ParseBuffer.js');
// importScripts('/libs/ept/ParseBuffer.js');
onmessage = function(event) {
parseEpt(event);
}
@@ -1,6 +1,6 @@
window = { };
document = { };
importScripts('/libs/zstd-codec/bundle.js', '/libs/ept/ParseBuffer.js');
// window = { };
// document = { };
// importScripts('/libs/zstd-codec/bundle.js', '/libs/ept/ParseBuffer.js');

onmessage = async function(event) {

@@ -0,0 +1,2 @@
window = { };
document = { };

0 comments on commit 7787482

Please sign in to comment.