@galacean/effects-helper 1.1.8 → 1.2.0
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/index.mjs +3 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime helper for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,意绮
|
|
6
|
-
* Version: v1.
|
|
6
|
+
* Version: v1.2.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { spec } from '@galacean/effects';
|
|
@@ -397,8 +397,8 @@ function serializeGeometries(geometries) {
|
|
|
397
397
|
geometries.forEach(function (options) {
|
|
398
398
|
var _a;
|
|
399
399
|
addBuffer((_a = options.indices) === null || _a === void 0 ? void 0 : _a.data);
|
|
400
|
-
Object.
|
|
401
|
-
var data =
|
|
400
|
+
Object.keys(options.attributes).forEach(function (key) {
|
|
401
|
+
var data = options.attributes[key].data;
|
|
402
402
|
addBuffer(data);
|
|
403
403
|
});
|
|
404
404
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-helper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Galacean Effects runtime helper for the web",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"registry": "https://registry.npmjs.org"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@galacean/effects": "1.
|
|
31
|
+
"@galacean/effects": "1.2.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"prebuild": "pnpm clean",
|