@xviewer.js/core 1.0.0-alpha.4 → 1.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -6764,7 +6764,7 @@ class aGLTFLoader extends aLoader {
6764
6764
  if (gltf.animations) node.animations = gltf.animations;
6765
6765
  onLoad(aLoader._setMeshData(node));
6766
6766
  };
6767
- let gltfLoader = new GLTFLoader(this.loadingManager);
6767
+ let gltfLoader = new GLTFLoader(this.manager.loadingManager);
6768
6768
  gltfLoader.setPath(this.manager.path);
6769
6769
  gltfLoader.setResourcePath(this.manager.resourcePath);
6770
6770
  let dracoLoader = new DRACOLoader(this.manager.loadingManager);
@@ -14415,12 +14415,6 @@ class Viewer extends EventEmitter {
14415
14415
  this._componentManager.activeComponents(node);
14416
14416
  node.visible = active;
14417
14417
  }
14418
- createComponent(comp, _param = {}) {
14419
- var { args } = _param, props = _object_without_properties_loose(_param, [
14420
- "args"
14421
- ]);
14422
- return applyProps(Viewer._getClassInstance(comp, args), props);
14423
- }
14424
14418
  createRenderTarget(width, height, nearest = false, floatType = false, msaa = 0, mipmap = false) {
14425
14419
  return new three.WebGLRenderTarget(width, height, {
14426
14420
  wrapS: three.ClampToEdgeWrapping,