diff --git a/demos/switching-geodata/demo.js b/demos/switching-geodata/demo.js index 64cc9219..0dfa99c9 100755 --- a/demos/switching-geodata/demo.js +++ b/demos/switching-geodata/demo.js @@ -47,7 +47,7 @@ function onSwitchView() { surfaces: { 'melown-viewfinder-world': [ 'bmng08-world', - 'bing-world' + "sentinel2-cloudless-eox" ] }, freeLayers: {} @@ -58,7 +58,7 @@ function onSwitchView() { surfaces: { 'melown-viewfinder-world': [ 'bmng08-world', - 'bing-world' + "sentinel2-cloudless-eox" ] }, freeLayers: { diff --git a/package.json b/package.json index 1a0a5f0b..cb91d5fe 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vts-browser-js", - "version": "2.23.0", + "version": "2.23.1", "description": "JavaScript WebGL 3D maps rendering engine", "main": "src/browser/index.js", "scripts": { diff --git a/src/core/core.js b/src/core/core.js index 9cf4c141..f6b25f05 100755 --- a/src/core/core.js +++ b/src/core/core.js @@ -585,7 +585,7 @@ string getCoreVersion() */ function getCoreVersion(full) { - return (full ? 'Core: ' : '') + '2.23.0'; + return (full ? 'Core: ' : '') + '2.23.1'; } diff --git a/src/core/renderer/interface.js b/src/core/renderer/interface.js index 8e3b12dc..89deddba 100755 --- a/src/core/renderer/interface.js +++ b/src/core/renderer/interface.js @@ -200,7 +200,7 @@ RendererInterface.prototype.drawMesh = function(options) { uvAttr = null; uv2Attr = null; texture = null; - shader = renderer.progDepthTile; + shader = renderer.progDepthTile[0]; break; case 'shaded': @@ -223,7 +223,7 @@ RendererInterface.prototype.drawMesh = function(options) { } uv2Attr = (shader == 'textured') ? null : 'aNormal'; - shader = (shader == 'textured') ? renderer.progTile : ((shader == 'shaded') ? renderer.progShadedTile : renderer.progTShadedTile); + shader = (shader == 'textured') ? renderer.progTile[0] : ((shader == 'shaded') ? renderer.progShadedTile : renderer.progTShadedTile); break; } }