From acece4d3dc13ab6b4a64767a8d50c05897fdb8bc Mon Sep 17 00:00:00 2001 From: Jamie Cope Date: Fri, 16 Apr 2021 14:10:49 -0400 Subject: [PATCH 1/2] Bug fix #72 uiMode now default to all on --- source/client/applications/ExplorerApplication.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/client/applications/ExplorerApplication.ts b/source/client/applications/ExplorerApplication.ts index 36c87ce7..4449f624 100755 --- a/source/client/applications/ExplorerApplication.ts +++ b/source/client/applications/ExplorerApplication.ts @@ -247,6 +247,7 @@ Version: ${ENV_VERSION} //} let elementValues = 0; + let hasValidParam = false; const enumNames = Object.values(EUIElements).filter(value => typeof value === 'string') as string[]; const uiParams = props.uiMode.split('|'); @@ -254,10 +255,13 @@ Version: ${ENV_VERSION} const stdParam = param.toLowerCase(); if(enumNames.includes(stdParam)) { elementValues += EUIElements[stdParam]; + hasValidParam = true; } }); - this.documentProvider.activeComponent.setup.interface.ins.visibleElements.setValue(elementValues); + if(hasValidParam) { + this.documentProvider.activeComponent.setup.interface.ins.visibleElements.setValue(elementValues); + } } if(props.dracoRoot) { From 1039b1561a02ddf2d204c212d80e92342b40e2a1 Mon Sep 17 00:00:00 2001 From: Jamie Cope Date: Mon, 19 Apr 2021 08:50:32 -0400 Subject: [PATCH 2/2] Version update --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7e1f5067..20216eda 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "voyager", - "version": "0.12.0", + "version": "0.12.2", "description": "Smithsonian DPO Voyager - 3D Explorer and Tool Suite", "scripts": { "start": "npm run server",