@fengyizhi/scene-lib 1.0.0 → 1.0.2

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.
@@ -5652,8 +5652,8 @@ class SceneViewer {
5652
5652
  createGltfLoader() {
5653
5653
  const loader = new GLTFLoader();
5654
5654
  const dracoLoader = new DRACOLoader();
5655
- // 使用本地托管的 Draco 解码器(从 public/draco/gltf/ 提供)
5656
- dracoLoader.setDecoderPath('/draco/gltf/');
5655
+ // 使用本地托管的 Draco 解码器(从 scene-lib assets 提供)
5656
+ dracoLoader.setDecoderPath('/assets/scene-lib/draco/gltf/');
5657
5657
  loader.setDRACOLoader(dracoLoader);
5658
5658
  return loader;
5659
5659
  }