Skip to content

Commit

Permalink
release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Feb 17, 2021
1 parent 083d70a commit 7f535fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions dist/echarts-gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -25138,9 +25138,7 @@ function graphicGL_nearestPowerOfTwo(val) {
return Math.pow(2, Math.round(Math.log(val) / Math.LN2));
}
function graphicGL_convertTextureToPowerOfTwo(texture) {
if ((texture.wrapS === src_Texture.REPEAT || texture.wrapT === src_Texture.REPEAT)
&& texture.image
) {
if ((texture.wrapS === src_Texture.REPEAT || texture.wrapT === src_Texture.REPEAT) && texture.image) {
// var canvas = document.createElement('canvas');
var width = graphicGL_nearestPowerOfTwo(texture.width);
var height = graphicGL_nearestPowerOfTwo(texture.height);
Expand Down Expand Up @@ -25278,6 +25276,7 @@ graphicGL.loadTexture = function (imgValue, api, textureOpts, cb) {
});
textureObj.callbacks = null;
};
originalImage.crossOrigin = 'Anonymous';
originalImage.src = imgValue;
// Use blank image as place holder.
texture.image = blankImage;
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts-gl.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts-gl.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "echarts-gl",
"description": "Extension pack of ECharts providing 3D plots and globe visualization",
"version": "2.0.1",
"version": "2.0.2",
"maintainers": [
{
"name": "Yi Shen"
Expand Down

0 comments on commit 7f535fe

Please sign in to comment.