@galacean/effects-core 1.3.0-alpha.1 → 1.3.1
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
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.3.
|
|
6
|
+
* Version: v1.3.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/******************************************************************************
|
|
@@ -682,7 +682,7 @@ function asserts(condition, msg) {
|
|
|
682
682
|
* Name: @galacean/effects-specification
|
|
683
683
|
* Description: Galacean Effects JSON Specification
|
|
684
684
|
* Author: Ant Group CO., Ltd.
|
|
685
|
-
* Version: v1.1.0
|
|
685
|
+
* Version: v1.1.0
|
|
686
686
|
*/
|
|
687
687
|
|
|
688
688
|
/*********************************************/
|
|
@@ -21573,7 +21573,7 @@ var filters = {
|
|
|
21573
21573
|
* Name: @galacean/effects-specification
|
|
21574
21574
|
* Description: Galacean Effects JSON Specification
|
|
21575
21575
|
* Author: Ant Group CO., Ltd.
|
|
21576
|
-
* Version: v1.1.0
|
|
21576
|
+
* Version: v1.1.0
|
|
21577
21577
|
*/
|
|
21578
21578
|
|
|
21579
21579
|
/*********************************************/
|
|
@@ -23830,8 +23830,8 @@ var AssetManager = /** @class */ (function () {
|
|
|
23830
23830
|
return [2 /*return*/, resultImage];
|
|
23831
23831
|
case 3:
|
|
23832
23832
|
// 如果是加载图片且是数组,设置变量,视频情况下不需要
|
|
23833
|
-
if (background &&
|
|
23834
|
-
variables[background.name] =
|
|
23833
|
+
if (background && Array.isArray(url_1) && variables) {
|
|
23834
|
+
variables[background.name] = resultImage.src;
|
|
23835
23835
|
}
|
|
23836
23836
|
return [4 /*yield*/, combineImageTemplate(resultImage, template, variables, this.options, img.oriY === -1)];
|
|
23837
23837
|
case 4: return [2 /*return*/, _b.sent()];
|