@galacean/effects-core 1.6.6 → 1.6.8-alpha.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.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime core for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v1.6.
|
|
6
|
+
* Version: v1.6.8-alpha.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -8869,9 +8869,9 @@ var Transform = /** @class */ (function () {
|
|
|
8869
8869
|
*/
|
|
8870
8870
|
Transform.prototype.setScale = function (x, y, z) {
|
|
8871
8871
|
if (this.scale.x !== x || this.scale.y !== y || this.scale.z !== z) {
|
|
8872
|
-
this.scale.x = x;
|
|
8873
|
-
this.scale.y = y;
|
|
8874
|
-
this.scale.z = z;
|
|
8872
|
+
this.scale.x = x ? x : 1e-5;
|
|
8873
|
+
this.scale.y = y ? y : 1e-5;
|
|
8874
|
+
this.scale.z = z ? z : 1e-5;
|
|
8875
8875
|
this.dirtyFlags.localData = true;
|
|
8876
8876
|
this.dispatchValueChange();
|
|
8877
8877
|
}
|
|
@@ -17732,7 +17732,6 @@ var ParticleSystem = /** @class */ (function () {
|
|
|
17732
17732
|
if (options.removeParticle) {
|
|
17733
17733
|
mesh.removePoint(pointIndex);
|
|
17734
17734
|
this.clearPointTrail(pointIndex);
|
|
17735
|
-
node.content[0] = 0;
|
|
17736
17735
|
}
|
|
17737
17736
|
hitPositions.push(pos);
|
|
17738
17737
|
if (!options.multiple) {
|