@galacean/effects 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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/weapp.js +5 -5
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +5 -5
- package/dist/weapp.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime player 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
|
'use strict';
|
|
@@ -686,7 +686,7 @@ function asserts(condition, msg) {
|
|
|
686
686
|
* Name: @galacean/effects-specification
|
|
687
687
|
* Description: Galacean Effects JSON Specification
|
|
688
688
|
* Author: Ant Group CO., Ltd.
|
|
689
|
-
* Version: v1.1.0
|
|
689
|
+
* Version: v1.1.0
|
|
690
690
|
*/
|
|
691
691
|
|
|
692
692
|
/*********************************************/
|
|
@@ -21577,7 +21577,7 @@ var filters = {
|
|
|
21577
21577
|
* Name: @galacean/effects-specification
|
|
21578
21578
|
* Description: Galacean Effects JSON Specification
|
|
21579
21579
|
* Author: Ant Group CO., Ltd.
|
|
21580
|
-
* Version: v1.1.0
|
|
21580
|
+
* Version: v1.1.0
|
|
21581
21581
|
*/
|
|
21582
21582
|
|
|
21583
21583
|
/*********************************************/
|
|
@@ -23834,8 +23834,8 @@ var AssetManager = /** @class */ (function () {
|
|
|
23834
23834
|
return [2 /*return*/, resultImage];
|
|
23835
23835
|
case 3:
|
|
23836
23836
|
// 如果是加载图片且是数组,设置变量,视频情况下不需要
|
|
23837
|
-
if (background &&
|
|
23838
|
-
variables[background.name] =
|
|
23837
|
+
if (background && Array.isArray(url_1) && variables) {
|
|
23838
|
+
variables[background.name] = resultImage.src;
|
|
23839
23839
|
}
|
|
23840
23840
|
return [4 /*yield*/, combineImageTemplate(resultImage, template, variables, this.options, img.oriY === -1)];
|
|
23841
23841
|
case 4: return [2 /*return*/, _b.sent()];
|
|
@@ -30470,7 +30470,7 @@ Renderer.create = function (canvas, framework, renderOptions) {
|
|
|
30470
30470
|
Engine.create = function (gl) {
|
|
30471
30471
|
return new GLEngine(gl);
|
|
30472
30472
|
};
|
|
30473
|
-
var version = "1.3.
|
|
30473
|
+
var version = "1.3.1";
|
|
30474
30474
|
logger.info('player version: ' + version);
|
|
30475
30475
|
|
|
30476
30476
|
exports.AbstractPlugin = AbstractPlugin;
|