@babylonjs/loaders 9.16.1 → 9.16.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.
package/glTF/2.0/glTFLoader.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export * from "./glTFLoader.pure.js";
|
|
2
2
|
import { RegisterGLTF2Loader } from "./glTFLoader.pure.js";
|
|
3
|
+
import { RegisterGLTFFileLoader } from "../glTFFileLoader.pure.js";
|
|
3
4
|
RegisterGLTF2Loader();
|
|
5
|
+
// Auto-register the .gltf/.glb SceneLoader plugin so that importing
|
|
6
|
+
// "@babylonjs/loaders/glTF/2.0" restores the pre-9.15 behavior of making
|
|
7
|
+
// SceneLoader able to load glTF 2.0 assets. This registers the version-aware
|
|
8
|
+
// GLTFFileLoader plugin only; it does not pull in the legacy glTF 1.0 loader.
|
|
9
|
+
RegisterGLTFFileLoader();
|
|
4
10
|
//# sourceMappingURL=glTFLoader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glTFLoader.js","sourceRoot":"","sources":["../../../../../dev/loaders/src/glTF/2.0/glTFLoader.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"glTFLoader.js","sourceRoot":"","sources":["../../../../../dev/loaders/src/glTF/2.0/glTFLoader.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,mBAAmB,EAAE,CAAC;AAEtB,oEAAoE;AACpE,yEAAyE;AACzE,6EAA6E;AAC7E,8EAA8E;AAC9E,sBAAsB,EAAE,CAAC","sourcesContent":["export * from \"./glTFLoader.pure\";\r\n\r\nimport { RegisterGLTF2Loader } from \"./glTFLoader.pure\";\r\nimport { RegisterGLTFFileLoader } from \"../glTFFileLoader.pure\";\r\n\r\nRegisterGLTF2Loader();\r\n\r\n// Auto-register the .gltf/.glb SceneLoader plugin so that importing\r\n// \"@babylonjs/loaders/glTF/2.0\" restores the pre-9.15 behavior of making\r\n// SceneLoader able to load glTF 2.0 assets. This registers the version-aware\r\n// GLTFFileLoader plugin only; it does not pull in the legacy glTF 1.0 loader.\r\nRegisterGLTFFileLoader();\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/loaders",
|
|
3
|
-
"version": "9.16.
|
|
3
|
+
"version": "9.16.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"postcompile": "build-tools -c add-js-to-es6"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babylonjs/core": "9.16.
|
|
21
|
+
"@babylonjs/core": "9.16.2",
|
|
22
22
|
"@dev/build-tools": "^1.0.0",
|
|
23
23
|
"@dev/loaders": "^1.0.0",
|
|
24
|
-
"babylonjs-gltf2interface": "9.16.
|
|
24
|
+
"babylonjs-gltf2interface": "9.16.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@babylonjs/core": "^9.0.0",
|