feat(EmbeddedViewer): add the loader as class property (#327)
Co-authored-by: Younes Guarssifi <younes.guarssifi@sms-group.com>
This commit is contained in:
parent
dc3d0546d6
commit
cb2e48cf11
@ -84,6 +84,7 @@ export class EmbeddedViewer
|
||||
this.model = null;
|
||||
let progressDiv = null;
|
||||
let loader = new ThreeModelLoader ();
|
||||
this.loader = loader;
|
||||
loader.LoadModel (inputFiles, settings, {
|
||||
onLoadStart : () => {
|
||||
this.canvas.style.display = 'none';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user