Browse Source

image loading with CORS

Vincent Bouzon 11 years ago
parent
commit
0075958f0b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Babylon/Tools/babylon.tools.js

+ 1 - 0
Babylon/Tools/babylon.tools.js

@@ -161,6 +161,7 @@ var BABYLON = BABYLON || {};
         };
 
         var noIndexedDB = function () {
+            img.crossOrigin = 'anonymous';
             img.src = url;
         };