lythreeframe 1.2.34 → 1.2.35

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.
@@ -1047,7 +1047,7 @@ class AssetManager {
1047
1047
  for (let i = 0; i < children.length; ++i) {
1048
1048
  this.convertThreeObjectToLYObject(newComp, children[i]);
1049
1049
  }
1050
- return threejsObject.userData.LYObject;
1050
+ return newComp;
1051
1051
  }
1052
1052
  collectResourcesAndReferences(object) {
1053
1053
  function countResource(map, resource) {
@@ -1045,7 +1045,7 @@ class AssetManager {
1045
1045
  for (let i = 0; i < children.length; ++i) {
1046
1046
  this.convertThreeObjectToLYObject(newComp, children[i]);
1047
1047
  }
1048
- return threejsObject.userData.LYObject;
1048
+ return newComp;
1049
1049
  }
1050
1050
  collectResourcesAndReferences(object) {
1051
1051
  function countResource(map, resource) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lythreeframe",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "description": "Three.js 封装",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.esm.js",