Quellcode durchsuchen

Added Firefox/58 to WebGL2UniformBuffersExceptionList

Michael Schlotfeldt vor 7 Jahren
Ursprung
Commit
fa9b9612e4

Datei-Diff unterdrückt, da er zu groß ist
+ 9832 - 9832
dist/preview release/babylon.d.ts


Datei-Diff unterdrückt, da er zu groß ist
+ 6 - 6
dist/preview release/babylon.js


+ 2 - 1
dist/preview release/babylon.max.js

@@ -8210,6 +8210,7 @@ var BABYLON;
                             var exception = _a[_i];
                             if (ua.indexOf(exception) > -1) {
                                 this.disableUniformBuffers = true;
+                                console.log("TODO remove this!! this.disableUniformBuffers set to true!!!!");
                                 break;
                             }
                         }
@@ -12678,7 +12679,7 @@ var BABYLON;
             }
         };
         /** Use this array to turn off some WebGL2 features on known buggy browsers version */
-        Engine.WebGL2UniformBuffersExceptionList = ["Chrome/63"];
+        Engine.WebGL2UniformBuffersExceptionList = ["Chrome/63", "Firefox/58"];
         Engine.Instances = new Array();
         // Const statics
         Engine._ALPHA_DISABLE = 0;

Datei-Diff unterdrückt, da er zu groß ist
+ 6 - 6
dist/preview release/babylon.worker.js


Datei-Diff unterdrückt, da er zu groß ist
+ 918 - 918
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


Datei-Diff unterdrückt, da er zu groß ist
+ 6 - 6
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 2 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -8210,6 +8210,7 @@ var BABYLON;
                             var exception = _a[_i];
                             if (ua.indexOf(exception) > -1) {
                                 this.disableUniformBuffers = true;
+                                console.log("TODO remove this!! this.disableUniformBuffers set to true!!!!");
                                 break;
                             }
                         }
@@ -12678,7 +12679,7 @@ var BABYLON;
             }
         };
         /** Use this array to turn off some WebGL2 features on known buggy browsers version */
-        Engine.WebGL2UniformBuffersExceptionList = ["Chrome/63"];
+        Engine.WebGL2UniformBuffersExceptionList = ["Chrome/63", "Firefox/58"];
         Engine.Instances = new Array();
         // Const statics
         Engine._ALPHA_DISABLE = 0;

Datei-Diff unterdrückt, da er zu groß ist
+ 5 - 5
dist/preview release/viewer/babylon.viewer.js


+ 2 - 1
src/Engine/babylon.engine.ts

@@ -279,7 +279,7 @@
      */
     export class Engine {
         /** Use this array to turn off some WebGL2 features on known buggy browsers version */
-        public static WebGL2UniformBuffersExceptionList = ["Chrome/63"];
+        public static WebGL2UniformBuffersExceptionList = ["Chrome/63", "Firefox/58"];
 
         public static Instances = new Array<Engine>();
 
@@ -861,6 +861,7 @@
                         for (var exception of Engine.WebGL2UniformBuffersExceptionList) {
                             if (ua.indexOf(exception) > -1) {
                                 this.disableUniformBuffers = true;
+                                console.log("TODO remove this!! this.disableUniformBuffers set to true!!!!")
                                 break;
                             }
                         }