@xviewer.js/core 1.0.4-alpha.2 → 1.0.4-alpha.3

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/module.js CHANGED
@@ -4391,19 +4391,15 @@ class ResourceManager {
4391
4391
  }
4392
4392
  return loader;
4393
4393
  }
4394
- loadAsset({ url, buffer, ext, path, resourcePath, dracoPath, manager, onProgress, ...props }) {
4394
+ loadAsset({ url, ext, onProgress, ...props }) {
4395
4395
  return new Promise((resolve, reject)=>{
4396
4396
  const sel = ext || url && ResourceManager.extension(url) || "";
4397
4397
  const texSettings = ResourceManager._splitTextureSettings(props);
4398
4398
  if (this._loaders.has(sel)) {
4399
4399
  this._loaders.get(sel).load({
4400
4400
  url,
4401
- buffer,
4402
4401
  texSettings,
4403
- path,
4404
- resourcePath,
4405
- dracoPath,
4406
- manager,
4402
+ ...props,
4407
4403
  onProgress,
4408
4404
  onLoad: resolve,
4409
4405
  onError: (err)=>{