Преглед на файлове

Merge pull request #1564 from tolkanabroski/patch-2

Update index.js
David Catuhe преди 8 години
родител
ревизия
228f210ea0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Playground/index.js

+ 2 - 2
Playground/index.js

@@ -299,7 +299,7 @@
             if (textures[index].isCube) {
                 if (textures[index]._extensions) {
                     for (var i = 0; i < 6; i++) {
-                        textures.push({ name: textures[index].name + textures[index]._extensions });
+                        textures.push({ name: textures[index].name + textures[index]._extensions[i] });
                     }
                 }
                 else {
@@ -596,4 +596,4 @@
         }
     };
     xhr.send(null);
-})();
+})();