فهرست منبع

Fixing cache issue with VR

David Catuhe 10 سال پیش
والد
کامیت
26d63d09f4
5فایلهای تغییر یافته به همراه11 افزوده شده و 10 حذف شده
  1. 1 0
      Babylon/babylon.scene.js
  2. 1 0
      Babylon/babylon.scene.ts
  3. 1 0
      babylon.2.1-beta.debug.js
  4. 4 5
      babylon.2.1-beta.js
  5. 4 5
      babylon.2.1-beta.noworker.js

+ 1 - 0
Babylon/babylon.scene.js

@@ -1063,6 +1063,7 @@ var BABYLON;
             // Viewport
             engine.setViewport(this.activeCamera.viewport);
             // Camera
+            this.resetCachedMaterial();
             this._renderId++;
             this.updateTransformMatrix();
             if (this.beforeCameraRender) {

+ 1 - 0
Babylon/babylon.scene.ts

@@ -1371,6 +1371,7 @@
             engine.setViewport(this.activeCamera.viewport);
 
             // Camera
+            this.resetCachedMaterial();
             this._renderId++;
             this.updateTransformMatrix();
 

+ 1 - 0
babylon.2.1-beta.debug.js

@@ -13067,6 +13067,7 @@ var BABYLON;
             // Viewport
             engine.setViewport(this.activeCamera.viewport);
             // Camera
+            this.resetCachedMaterial();
             this._renderId++;
             this.updateTransformMatrix();
             if (this.beforeCameraRender) {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 4 - 5
babylon.2.1-beta.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 4 - 5
babylon.2.1-beta.noworker.js