Переглянути джерело

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