소스 검색

Merge pull request #1175 from nockawa/capIntersection

Fixing rendering issue due to improper culling state
David Catuhe 9 년 전
부모
커밋
cc97364d7a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/Canvas2d/babylon.canvas2d.ts

+ 2 - 0
src/Canvas2d/babylon.canvas2d.ts

@@ -922,6 +922,8 @@
                 this._updateOverStatus();   // TODO this._primPointerInfo may not be up to date!
             }
 
+            this.engine.setState(false, null, true, null);
+
             this._groupRender();
 
             // If the canvas is cached at canvas level, we must manually render the sprite that will display its content