소스 검색

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