Skip to content

Commit

Permalink
Fix potree#16 : potree converter progess display
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDelorme committed Nov 4, 2020
1 parent 51b53fb commit 599322b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/desktop.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function convert_17(inputPaths, chosenPath, pointcloudName){
try{
const name = match[1];
const value = match[2];
const aabb = JSON.parse(match[2]);
const aabb = JSON.parse(value);
console.log(aabb);

if(name === "cubicAABB"){
Expand All @@ -131,7 +131,7 @@ export function convert_17(inputPaths, chosenPath, pointcloudName){
}
}else{
// match for progress
const regexp = /INDEXING: ([\w\.]*) of ([\w\.]*) processed/g;
const regexp = /INDEXING: ([\w\ ]*) of ([\w\ ]*) processed/g;
const matches = outputBuffer.matchAll(regexp);

for(const match of matches){
Expand Down

0 comments on commit 599322b

Please sign in to comment.